Skip to content

Commit 724ffeb

Browse files
sjnimsclaude
andcommitted
docs: update documentation for Skill tool consolidation
The SlashCommand tool has been merged into the Skill tool in Claude Code. This update reflects that change across all documentation: - Rename slashcommand-tool.md to skill-tool.md with updated content - Update all SlashCommand references to Skill tool - Add user-invocable and disable-model-invocation documentation to skill-development skill - Update permission rule syntax examples (Skill(name:*) format) - Update allowed-tools in start.md command Addresses part of #184 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 63a7468 commit 724ffeb

6 files changed

Lines changed: 167 additions & 80 deletions

File tree

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ allowed-tools: Read, Write, Edit, Grep, Glob, Bash(mkdir:*), Bash(git init:*), .
302302

303303
**Design contrast with `/plugin-dev:start`:**
304304

305-
The entry point command uses `disable-model-invocation: true` and restricts tools to `AskUserQuestion, SlashCommand, TodoWrite` since it only routes to other commands. The workflow commands need broader access because they perform the actual file creation work.
305+
The entry point command uses `disable-model-invocation: true` and restricts tools to `AskUserQuestion, Skill, TodoWrite` since it only routes to other commands. The workflow commands need broader access because they perform the actual file creation work.
306306

307307
**For security-sensitive environments:**
308308

plugins/plugin-dev/commands/start.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Start plugin development - choose your path
33
argument-hint: [description]
4-
allowed-tools: AskUserQuestion, SlashCommand, TodoWrite
4+
allowed-tools: AskUserQuestion, Skill, TodoWrite
55
model: sonnet
66
disable-model-invocation: true
77
---
@@ -73,13 +73,13 @@ After the user selects an option:
7373
**If they chose "A plugin"**:
7474

7575
- Acknowledge their choice
76-
- Use the SlashCommand tool to invoke `/plugin-dev:create-plugin`
76+
- Use the Skill tool to invoke `/plugin-dev:create-plugin`
7777
- Pass through any context from $ARGUMENTS if provided
7878

7979
**If they chose "A marketplace"**:
8080

8181
- Acknowledge their choice
82-
- Use the SlashCommand tool to invoke `/plugin-dev:create-marketplace`
82+
- Use the Skill tool to invoke `/plugin-dev:create-marketplace`
8383
- Pass through any context from $ARGUMENTS if provided
8484

8585
---

plugins/plugin-dev/skills/command-development/SKILL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: command-development
3-
description: This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", "SlashCommand tool", "programmatic command invocation", "disable-model-invocation", "prevent Claude from running command", "debug command", "command debugging", "troubleshoot command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, programmatic invocation control, debugging commands, or command development best practices for Claude Code.
3+
description: This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", "Skill tool", "programmatic command invocation", "disable-model-invocation", "prevent Claude from running command", "debug command", "command debugging", "troubleshoot command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, programmatic invocation control, debugging commands, or command development best practices for Claude Code.
44
---
55

66
# Command Development for Claude Code
@@ -193,7 +193,7 @@ argument-hint: [pr-number] [priority] [assignee]
193193

194194
### disable-model-invocation
195195

196-
**Purpose:** Prevent SlashCommand tool from programmatically calling command
196+
**Purpose:** Prevent Skill tool from programmatically calling command
197197
**Type:** Boolean
198198
**Default:** false
199199

@@ -704,7 +704,7 @@ Commands should validate inputs and resources before processing:
704704
## Additional Resources
705705

706706
For detailed frontmatter field specifications, see `references/frontmatter-reference.md`.
707-
For SlashCommand tool, programmatic invocation, and permission configuration, see `references/slashcommand-tool.md`.
707+
For Skill tool, programmatic invocation, and permission configuration, see `references/skill-tool.md`.
708708
For plugin-specific features and patterns, see `references/plugin-features-reference.md`.
709709
For plugin integration and validation patterns, see `references/plugin-integration.md`.
710710
For interactive user input patterns using AskUserQuestion, see `references/interactive-commands.md`.

plugins/plugin-dev/skills/command-development/references/frontmatter-reference.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ Run tests matching $1 with options: $2
280280
**Required:** No
281281
**Default:** false
282282

283-
**Purpose:** Prevent SlashCommand tool from programmatically invoking command
283+
**Purpose:** Prevent Skill tool from programmatically invoking command
284284

285285
**Examples:**
286286
```yaml
@@ -314,13 +314,13 @@ disable-model-invocation: true
314314
```
315315

316316
**Default behavior (false):**
317-
- Command available to SlashCommand tool
317+
- Command available to Skill tool
318318
- Claude can invoke programmatically
319319
- Still available for manual invocation
320320

321321
**When true:**
322322
- Command only invokable by user typing `/command`
323-
- Not available to SlashCommand tool
323+
- Not available to Skill tool
324324
- Safer for sensitive operations
325325

326326
**Best practices:**

0 commit comments

Comments
 (0)