--- name: scaffold-claude-feature description: Claude Code 확장 기능(skill, slash command, subagent, hook, output style)의 기본 구조를 생성합니다. 새로운 skill을 만들거나, command 템플릿이 필요하거나, hook 설정을 시작할 때 사용합니다. --- # Claude Code Feature Scaffolder Quick scaffolder for Claude Code features with proper structure and best practices. ## Feature Types 1. **Slash Commands** - Reusable prompts (`.claude/commands/`) 2. **Skills** - Model-invoked capabilities (`.claude/skills/`) 3. **Subagents** - Specialized AI agents (`.claude/agents/`) 4. **Hooks** - Event handlers (settings.json) 5. **Output Styles** - Custom system prompts (`.claude/output-styles/`) ## Workflow 1. **Detect feature type** from user request 2. **Ask location**: project (`.claude/`) or personal (`~/.claude/`) 3. **Load reference**: See appropriate file in [references/](references/) 4. **Generate feature** using [templates/](templates/) 5. **Validate** naming and structure 6. **Provide** testing guidance ## Feature Detection - Keywords: "create", "generate", "add", "new" - Feature names: "slash command", "skill", "subagent", "agent", "hook", "output style" - Context: "Claude Code tool", "build tool", "custom feature" ## Progressive Disclosure Load details only when needed: - Slash commands → [references/slash-commands.md](references/slash-commands.md) - Skills → [references/skills.md](references/skills.md) - Subagents → [references/subagents.md](references/subagents.md) - Hooks → [references/hooks.md](references/hooks.md) - Output styles → [references/output-styles.md](references/output-styles.md) ## Quick Rules - Use lowercase with hyphens for names - Project features for teams, personal for individual use - Keep examples simple and minimal - Test after creation