From prompt-smith
This skill should be used when the user asks to "create a skill", "create an agent", "create a command", "create a plugin", "scaffold a plugin", "write a prompt for Claude Code", "make a plugin component", or needs guidance on Claude Code prompt patterns and best practices.
How this skill is triggered — by the user, by Claude, or both
Slash command
/prompt-smith:prompt-creationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill provides guidance for creating high-quality Claude Code components: Skills, Agents, Commands, and Plugins. Based on analysis of official repositories and official Claude Code documentation.
This skill provides guidance for creating high-quality Claude Code components: Skills, Agents, Commands, and Plugins. Based on analysis of official repositories and official Claude Code documentation.
| Component | Purpose | Trigger |
|---|---|---|
| Skill | Domain knowledge & guidance | Auto (phrase match in description) |
| Agent | Autonomous task execution | Task tool invocation |
| Command | User-initiated workflow | /command explicit execution |
| Plugin | Skills/Agents/Commands のパッケージング・配布 | claude plugin install |
---
name: skill-name
description: This skill should be used when the user asks to "phrase 1", "phrase 2"...
version: 0.1.0 # optional
---
Key Rules:
name: optional (uses directory name if omitted), kebab-case, max 64 charsdescription: recommended (not required). Starts with "This skill should be used when the user asks to..." or "Use when..."disable-model-invocation: true for side-effect workflows (/commit, /deploy)---
name: agent-name
description: |
Use this agent when [conditions].
<example>
Context: [situation]
user: "[message]"
assistant: "[response]"
<commentary>[reasoning]</commentary>
</example>
model: inherit # inherit (57%), sonnet (37%), opus (7%)
color: blue # semantic color
tools: ["Read", "Grep", "Glob"] # omit for full access
---
Key Rules:
<example> blocks with Context, user, assistant, commentaryinherit; use sonnet for architecture/analysis (37%), opus for code quality (7%)color is universally used in repo agents (undocumented in formal spec, but recommended)---
description: Short action-oriented description
argument-hint: "[args]"
allowed-tools: ["Read", "Write", "Bash(git:*)"]
---
Key Rules:
$ARGUMENTS placeholder for user input (with conditional for empty case)!backtick (e.g., `!`git status)Skill tool for detailed guidancemy-plugin/
├── .claude-plugin/
│ └── plugin.json # マニフェスト(name 必須)
├── skills/ # スキル
├── agents/ # エージェント
├── commands/ # コマンド
├── hooks/
│ └── hooks.json # フック設定
├── scripts/ # ユーティリティスクリプト
├── LICENSE
└── CHANGELOG.md
plugin.json 最小構成:
{
"name": "plugin-name",
"version": "1.0.0",
"description": "Brief description"
}
Key Rules:
name: kebab-case、一意識別子。スキル名前空間(plugin-name:skill-name)として使用.claude-plugin/ には plugin.json のみ配置。コンポーネントはプラグインルートに置く./ で始まるプラグインルートからの相対パスMAJOR.MINOR.PATCH)に従うhooks, mcpServers, permissionMode を使用不可(セキュリティ制限)${CLAUDE_PLUGIN_ROOT} 環境変数を使用claude plugin validate でバリデーション可能claude --plugin-dir ./my-plugin でローカルテスト可能✅ DO:
❌ DON'T:
For detailed patterns, templates, and checklists:
references/patterns.md - Category-specific patterns, tool sets, and validation checklistsnpx claudepluginhub nyoki/my-claude-plugins --plugin prompt-smithGuides creation of Claude Code plugins including skills, commands, agents, hooks, MCP servers, and configuration. Use for 'create plugin', 'make skill', scaffolding structures.
Orchestrates agentic workflow to create new Claude Code plugins from scratch: prerequisite checks, research, design verification, atomic implementation, validation, documentation.
Guides creation of Claude Code skills and slash commands: SKILL.md structure, frontmatter fields, invocation controls, commands vs skills, and best practices.