Commit 4ac34c2
docs: clarify commands and skills use same Skill tool mechanism (#201)
## Description
Update documentation to reflect Anthropic's conceptual merge of slash
commands and skills. Both are now invoked via the same **Skill tool**
but differ in complexity level:
- **Commands** (`commands/`): Simple `.md` files for quick prompts
- **Skills** (`skills/name/`): Full directories with bundled resources
(scripts, references, examples)
Thanks to @KRRT7 for opening the issue!
## Type of Change
- [x] Documentation update (improvements to README, CLAUDE.md, or
component docs)
## Component(s) Affected
- [x] Skills (methodology and best practices)
- [x] Documentation (README.md, CLAUDE.md, SECURITY.md)
## Motivation and Context
Anthropic has merged the concepts of slash commands and skills at the
mechanism level—both are now invoked via the Skill tool. This PR updates
plugin-dev documentation to clearly explain this relationship while
maintaining the organizational distinction (commands = simple, skills =
complex with resources).
Fixes #198
## How Has This Been Tested?
**Test Configuration**:
- Claude Code version: Latest
- GitHub CLI version: 2.67.0
- OS: macOS Darwin 25.2.0
**Test Steps**:
1. Ran `markdownlint 'plugins/plugin-dev/**/*.md' --ignore node_modules`
- passes
2. Ran `npx prettier --write` on modified files
3. Verified all modified files render correctly
## Checklist
### General
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] My changes generate no new warnings or errors
### Documentation
- [x] I have updated the documentation accordingly (README.md,
CLAUDE.md, or component docs)
- [x] I have verified all links work correctly
### Markdown
- [x] I have run `markdownlint` and fixed all issues
- [x] My markdown follows the repository style (ATX headers, dash lists,
fenced code blocks)
### Version Management (if applicable)
- [x] I have updated CHANGELOG.md with relevant changes
## Files Changed
| File | Change |
|------|--------|
| `skills/command-development/SKILL.md` | Added "Commands and Skills:
Same Mechanism, Different Complexity" section |
| `skills/skill-development/SKILL.md` | Added "Skills and Commands:
Unified Mechanism" section |
| `skills/plugin-structure/SKILL.md` | Updated Commands and Skills
component descriptions |
| `skills/plugin-dev-guide/SKILL.md` | Updated quick reference table and
decision tree |
| `skills/command-development/references/skill-tool.md` | Added key
insight note |
| `skills/skill-development/references/commands-vs-skills.md` | **NEW**
- Decision matrix and migration guide |
| `CHANGELOG.md` | Added entries under [Unreleased] |
## Additional Notes
The approach keeps commands and skills as separate concepts from an
organizational standpoint while making clear they share the same
invocation mechanism. This aligns with how plugin developers should
think about the choice: complexity needs drive whether to use a simple
command or a full skill with resources.
🤖 Generated with [Claude Code](https://claude.ai/code)
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent f9492b1 commit 4ac34c2
7 files changed
Lines changed: 84 additions & 4 deletions
File tree
- plugins/plugin-dev/skills
- command-development
- references
- plugin-dev-guide
- plugin-structure
- skill-development
- references
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
10 | 18 | | |
11 | 19 | | |
12 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
58 | 76 | | |
59 | 77 | | |
60 | 78 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
| 119 | + | |
118 | 120 | | |
119 | 121 | | |
120 | 122 | | |
| |||
173 | 175 | | |
174 | 176 | | |
175 | 177 | | |
| 178 | + | |
| 179 | + | |
176 | 180 | | |
177 | 181 | | |
178 | 182 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
17 | 26 | | |
18 | 27 | | |
19 | 28 | | |
| |||
Lines changed: 39 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
0 commit comments