Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

Create Jutsu

FreeNo executable scriptsNot checked

Create a new technique plugin for a technology (language, tool, framework, or validation)

TheBushidoCollectiveby TheBushidoCollective★ 202 GitHub stars

About this skill

Create a Technique (術 - Jutsu) Plugin

Create a new technique plugin for: $ARGUMENTS

What is a Technique Plugin?

Technique plugins provide validation hooks that automatically enforce quality standards for specific technologies. They watch for tool usage and validate the results. They live under plugins/ organized by category.

Plugin Structure

Create the following directory structure under the appropriate category:

plugins/{category}/{name}/
├── .claude-plugin/
│   └── plugin.json          # Plugin metadata (ONLY plugin.json goes here)
├── han-plugin.yml           # Han hook configurations (at plugin root)
├── hooks/
│   └── hooks.json           # Claude Code hooks
├── skills/
│   └── {skill-name}/
│       └── SKILL.md        # Skill documentation
└── README.md               # Plugin documentation

Categories

Category For Examples
languages/ Programming languages typescript, python, rust
frameworks/ Frameworks react, nextjs, relay
tools/ Build/dev tools bun, playwright, mise
validation/ Linters/formatters biome, eslint, prettier
patterns/ Development patterns tdd, bdd, git-storytelling

IMPORTANT:

  • Only plugin.json goes inside .claude-plugin/
  • hooks.json goes in the hooks/ directory
  • han-plugin.yml stays at the plugin root (NOT in hooks/)

Step 1: Create plugin.json

Create .claude-plugin/plugin.json:

{
  "name": "{technology-name}",
  "version": "1.0.0",
  "description": "Validation and quality enforcement for {Technology Name} projects.",
  "author": {
    "name": "The Bushido Collective",
    "url": "https://withbushido.ai"
  },
  "homepage": "https://github.com/thebushidocollective/han",
  "repository": "https://github.com/thebushidocollective/han",
  "license": "MIT",
  "keywords": [
    "{technology}",
    "validation",
    "{tool-name}",
    "quality",
    "enforcement"
  ]
}

Step 2: Create han-plugin.yml

Create han-plugin.yml at the plugin root with hook definitions:

# {technology-name} plugin configuration
# This plugin provides validation hooks for {Technology Name} projects

# Hook definitions (managed by Han orchestrator)
hooks:
  {hook-name}:
    command: "{validation-command}"
    dirsWith:
      - "{marker-file}"
    ifChanged:
      - "{glob-patterns}"

# No MCP server for technique plugins (they use hooks, not MCP)
mcp: null

# Memory provider (optional)
memory: null

Example han-plugin.yml

# typescript plugin configuration
# This plugin provides TypeScript validation hooks

hooks:
  typecheck:
    command: "npx -y --package typescript tsc --noEmit"
    dirsWith:
      - tsconfig.json
    ifChanged:
      - "**/*.ts"
      - "**/*.tsx"
      - "tsconfig.json"

mcp: null
memory: null

Multi-Hook Example

# rust plugin configuration

hooks:
  check:
    command: "cargo check"
    dirsWith:
      - Cargo.toml
    ifChanged:
      - "**/*.rs"
      - "Cargo.toml"
      - "Cargo.lock"

  clippy:
    command: "cargo clippy -- -D warnings"
    dirsWith:
      - Cargo.toml
    ifChanged:
      - "**/*.rs"

  test:
    command: "cargo test"
    dirsWith:
      - Cargo.toml
    ifChanged:
      - "**/*.rs"
      - "Cargo.toml"

mcp: null
memory: null

Step 3: Create hooks.json

Create hooks/hooks.json to register the hook with Claude Code events:

{
  "hooks": {
    "Stop": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "han hook run {technology-name} {hook-name} --fail-fast --cached",
            "timeout": 120
          }
        ]
      }
    ]
  }
}

Marker Files by Technology

  • JavaScript/TypeScript: package.json
  • Python: pyproject.toml or requirements.txt
  • Rust: Cargo.toml
  • Go: go.mod
  • Ruby: Gemfile
  • Java/Kotlin: pom.xml or build.gradle
  • C#: *.csproj
  • Elixir: mix.exs

Step 4: Create Skills

For each major concept/feature of the technology, create a skill:

SKILL.md Format

---
name: {technology-name}-{feature-name}
description: Use when {specific scenario requiring this skill}. {What this skill helps accomplish}.
allowed-tools:
  - Read
  - Write
  - Edit
  - Bash
  - Grep
  - Glob
---

# {Technology Name} - {Feature Name}

{Brief overview of this skill and when to use it}

## Key Concepts
## Best Practices
## Examples
## Common Patterns
## Anti-Patterns

Step 5: Write README.md

# {Technology Name}

{Brief description of what this plugin validates}

## What This Plugin Provides

### Validation Hooks

- **{Technology} Validation**: Runs {validation tool} to ensure code quality

### Skills

- **{skill-1}**: {brief description}
- **{skill-2}**: {brief description}

## Installation

\`\`\`bash
han plugin install {technology-name}
\`\`\`

Step 6: Register in Marketplace

Add your plugin to .claude-plugin/marketplace.json:

{
  "name": "{technology-na
Full SKILL.md on GitHub

Install Create Jutsu in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the Create Jutsu skill do?

Create a new technique plugin for a technology (language, tool, framework, or validation)

How do I install the Create Jutsu skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the Create Jutsu skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare Create Jutsu with