Commit 4a5bb09
docs: update documentation for Skill tool consolidation (#186)
## Description
Updates documentation to reflect the consolidation of the SlashCommand
tool into the Skill tool in Claude Code. The SlashCommand tool has been
deprecated and its functionality merged into the unified Skill tool,
which can now invoke both slash commands and Agent Skills
programmatically.
## Type of Change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [x] Documentation update (improvements to README, CLAUDE.md, or
component docs)
- [ ] Refactoring (code change that neither fixes a bug nor adds a
feature)
- [ ] Test (adding or updating tests)
- [ ] Configuration change (changes to .markdownlint.json, plugin.json,
etc.)
## Component(s) Affected
- [x] Commands (`/plugin-dev:*`)
- [x] Skills (methodology and best practices)
- [ ] Agents (plugin-validator, skill-reviewer, agent-creator)
- [ ] Hooks (event-driven automation)
- [ ] Marketplace (marketplace.json, distribution)
- [x] Documentation (README.md, CLAUDE.md, SECURITY.md)
- [ ] Configuration (.markdownlint.json, plugin.json)
- [ ] Issue/PR templates
- [ ] Other (please specify):
## Motivation and Context
The Claude Code documentation at
https://code.claude.com/docs/en/slash-commands#skill-tool states:
> "In earlier versions of Claude Code, slash command invocation was
provided by a separate `SlashCommand` tool. This has been merged into
the `Skill` tool."
Our documentation referenced the deprecated `SlashCommand` tool and
needed updating to reflect this change. Additionally, the
`user-invocable` and `disable-model-invocation` frontmatter fields for
skills were undocumented.
Related to #184
## How Has This Been Tested?
**Test Configuration**:
- Claude Code version: Latest
- GitHub CLI version: 2.73.0
- OS: macOS Darwin 25.2.0
**Test Steps**:
1. Ran `markdownlint '**/*.md' --ignore node_modules` - passes with no
errors
2. Verified all internal links in updated files reference correct paths
3. Reviewed content against official Claude Code documentation
## Checklist
### General
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
(if applicable)
- [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 updated YAML frontmatter (if applicable)
- [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)
- [x] I have verified special HTML elements are properly closed (`<p>`,
`<img>`, `<example>`, `<commentary>`)
### Shell Scripts (if applicable)
- [ ] Shell scripts pass `shellcheck` - N/A
- [ ] Scripts are executable (`chmod +x`) - N/A
- [ ] Scripts use `${CLAUDE_PLUGIN_ROOT}` for portable paths - N/A
### Component-Specific Checks
<details>
<summary><strong>Skills</strong> (click to expand)</summary>
- [x] Description uses third-person with specific trigger phrases
- [x] SKILL.md is 1,000-2,200 words (progressive disclosure)
- [x] Detailed content is in `references/` subdirectory
- [x] Templates follow the established format
</details>
### Testing
- [ ] I have tested the plugin locally with `claude --plugin-dir
plugins/plugin-dev`
- [ ] I have tested the full workflow (if applicable)
- [ ] I have verified GitHub CLI integration works (if applicable)
- [ ] I have tested in a clean repository (not my development repo)
- [ ] I have run relevant validation scripts (validate-agent.sh,
validate-command.sh, validate-hook-schema.sh, etc.)
### Version Management (if applicable)
- [ ] I have updated version numbers in all version files - N/A (docs
only)
- [ ] I have updated CHANGELOG.md with relevant changes - Can be done at
release
## Additional Notes
### Changes Made
1. **Renamed `slashcommand-tool.md` → `skill-tool.md`**
- Comprehensive rewrite to document the unified Skill tool
- Updated permission rule syntax (`Skill(name:*)` format)
- Added table showing what the Skill tool can invoke
- Added section on `user-invocable` field for skills
2. **Updated command-development/SKILL.md**
- Changed trigger phrase from "SlashCommand tool" to "Skill tool"
- Updated reference to renamed file
3. **Updated skill-development/SKILL.md**
- Added documentation for `user-invocable` frontmatter field
- Added documentation for `disable-model-invocation` frontmatter field
- Added visibility comparison table
- Updated validation checklist with new optional fields
4. **Updated commands/start.md**
- Changed `allowed-tools` from `SlashCommand` to `Skill`
- Updated instructions to reference Skill tool
5. **Updated frontmatter-reference.md**
- Changed all SlashCommand references to Skill tool
6. **Updated CLAUDE.md**
- Changed tool reference in workflow command security section
## Reviewer Notes
**Areas that need special attention**:
- The `skill-tool.md` reference file was significantly rewritten -
please verify accuracy against official docs
- New `user-invocable` and `disable-model-invocation` documentation in
skill-development skill
**Known limitations or trade-offs**:
- This PR addresses only the documentation updates; the meta-skill
feature request from #184 will be handled separately
---
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 63a7468 commit 4a5bb09
6 files changed
Lines changed: 167 additions & 80 deletions
File tree
- plugins/plugin-dev
- commands
- skills
- command-development
- references
- skill-development
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
| 305 | + | |
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
704 | 704 | | |
705 | 705 | | |
706 | 706 | | |
707 | | - | |
| 707 | + | |
708 | 708 | | |
709 | 709 | | |
710 | 710 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
| 283 | + | |
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
| 323 | + | |
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
| |||
0 commit comments