用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/TheBushidoCollective/han --skill agent-name命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Review current branch changes against REVIEW.md guidelines
Use when kotlin coroutines for structured concurrency including suspend functions, coroutine builders, Flow, channels, and patterns for building efficient asynchronous code with cancellation and exception handling.
Use when building modular Angular applications requiring dependency injection with providers, injectors, and services.
正在显示 SKILL.md
基于 SOC 职业分类
| description | Create a new discipline plugin with specialized agents |
Create a new discipline plugin for: $ARGUMENTS
Discipline plugins represent "the way" or path of mastery in the Han marketplace. They provide specialized agents that embody expertise in specific development disciplines. Each discipline contains one or more agents with deep domain knowledge.
Create the following directory structure:
plugins/disciplines/{discipline-name}/
├── .claude-plugin/
│ └── plugin.json # Plugin metadata (ONLY plugin.json goes here)
├── agents/
│ └── {agent-name}.md # Agent definition
├── han-plugin.yml # Han configurations (at plugin root)
├── hooks/
│ └── hooks.json # Claude Code hooks (optional)
├── skills/
│ └── {skill-name}/
│ └── SKILL.md # Skill documentation (optional)
└── README.md # Plugin documentation
IMPORTANT:
plugin.json goes inside .claude-plugin/hooks.json goes in the hooks/ directoryhan-plugin.yml stays at the plugin root (NOT in hooks/)frontend-development, api-engineering, security-engineering)Create .claude-plugin/plugin.json:
{
"name": "{discipline-name}",
"version": "1.0.0",
"description": "Specialized agents for {discipline area} including {key responsibilities}.",
"author": {
"name": "The Bushido Collective",
"url": "https://thebushido.co"
},
"homepage": "https://github.com/thebushidocollective/han",
"repository": "https://github.com/thebushidocollective/han",
"license": "MIT",
"keywords": [
"{discipline}",
"{specialty}",
"agent",
"{related-area}"
]
}
Create han-plugin.yml at the plugin root:
# {discipline-name} plugin configuration
# This plugin provides specialized agents for {discipline area}
# No hooks for agent-focused plugins (unless needed)
hooks: {}
# No MCP server (unless this discipline provides one)
mcp: null
# Memory provider (optional)
memory: null
For each specialized role, create an agent markdown file.
agents/{agent-name}.md---
name: {agent-name}
description: |
{One-paragraph description of the agent's expertise, focus areas, and when to invoke them.}
model: inherit
color: {purple|blue|green|red|yellow|cyan|magenta}
---
# {Agent Title}
## Role
{Detailed description of the agent's role and expertise}
## Core Responsibilities
### {Responsibility Area 1}
- {Specific capability}
- {Specific capability}
## Approach
1. **{Step 1}**: {What the agent does}
2. **{Step 2}**: {What the agent does}
## When to Invoke
- {Specific scenario}
- {Specific scenario}
# {Discipline Name}
{Description of the discipline and what these agents provide}
## Specialized Agents
### {Agent 1 Name}
{Description} | **Invoke when**: {Specific scenarios}
### {Agent 2 Name}
{Description} | **Invoke when**: {Specific scenarios}
## Installation
\`\`\`bash
han plugin install {discipline-name}
\`\`\`
Add your plugin to .claude-plugin/marketplace.json:
{
"name": "{discipline-name}",
"description": "Specialized agents for {discipline area} including {key responsibilities}.",
"source": "./plugins/disciplines/{discipline-name}",
"category": "Discipline",
"keywords": [
"{discipline}",
"{specialty}",
"agent"
]
}
Discipline names should be descriptive and specific:
| Good | Too Generic |
|---|---|
frontend-development | frontend |
api-engineering | api |
security-engineering | security |
database-engineering | databases |
site-reliability-engineering | sre |
See the Han documentation or ask in GitHub Discussions.