Skip to content

Commit a70c211

Browse files
philoserfclaude
andcommitted
chore: remove command-authoring and command-audit skills and references
Slash commands are no longer maintained — skills handle that work now. - Delete skills/command-authoring/ (5 files) and skills/command-audit/ (11 files) - Remove Skill(command-audit) permission from settings.json - Remove audit-command auditor and Command entries from audit-coordinator decision matrix and component type lists - Remove author-command from Related Skills in skill-authoring, agent-authoring, and output-style-authoring - Rewrite agent-decision-guide.md as "Agents vs Skills" (remove Command column, section, decision flow branch, migration path) - Remove command from evaluator type-specific validation list - Remove Slash Commands section, Command→Skill Reference Table, and Skills vs Commands Decision Guide from naming-conventions.md - Remove Commands section and validation checklist from frontmatter-requirements.md - Remove Command from decision matrix, scenarios, and quick reference in when-to-use-what.md - Remove commands/ directory section and git tracking entries from file-organization.md - Remove Commands section from customization-examples.md - Clean up stale references in delegation-patterns.md, plugin-structure-comparison.md, README.md, references/README.md, agent-audit/SKILL.md, and hook-audit/comparison-with-official.md Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 2108b12 commit a70c211

34 files changed

+39
-6426
lines changed

README.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -101,23 +101,6 @@ The **skill-authoring** skill guides you through:
101101

102102
**Examples**: Best practices, auditing guidelines, deployment procedures
103103

104-
### Creating Commands
105-
106-
**When to use**: Build quick shortcuts for specific workflows or as entry points to skills.
107-
108-
```bash
109-
/create-command my-command
110-
```
111-
112-
The **command-authoring** skill guides you through:
113-
114-
- Designing delegation patterns
115-
- Handling arguments and validation
116-
- Keeping commands focused and simple
117-
- Deciding when to delegate to skills
118-
119-
**Examples**: User shortcuts, project templates, explicit workflows
120-
121104
### Creating Output-Styles
122105

123106
**When to use**: Define persona modes that change how Claude behaves (tone, verbosity, approach).

references/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ references/
2121

2222
## Customization Development References
2323

24-
All files in `customization/` support creating and auditing Claude Code extensions (skills, agents, commands, hooks, output-styles).
24+
All files in `customization/` support creating and auditing Claude Code extensions (skills, agents, hooks, output-styles).
2525

2626
### Decision Guides
2727

2828
**[customization/decision-matrix.md](customization/decision-matrix.md)** (90 lines)
2929

3030
- Quick reference comparison table
31-
- Covers 5 component types: Skills, Subagents, Commands, Output Styles, Hooks
31+
- Covers 4 component types: Skills, Subagents, Output Styles, Hooks
3232
- Use when: Need fast lookup of component characteristics
3333
- Links to: when-to-use-what.md for details
3434

@@ -76,7 +76,7 @@ All files in `customization/` support creating and auditing Claude Code extensio
7676
file references
7777
- Clear vs unclear delegation examples
7878
- Use when: Writing commands or validating delegation clarity
79-
- Referenced by: command-audit skill, command-authoring skill
79+
- Referenced by: authoring and audit skills
8080

8181
**[customization/hook-events.md](customization/hook-events.md)** (241 lines)
8282

@@ -177,7 +177,7 @@ These shared files are used by:
177177

178178
- `audit-skill` skill (references all 3 spec files)
179179
- `agent-authoring` skill (references when-to-use-what.md)
180-
- `command-authoring` skill (references when-to-use-what.md)
180+
- `output-style-authoring` skill (references when-to-use-what.md)
181181
- `output-style-authoring` skill (references when-to-use-what.md)
182182

183183
## Maintenance

references/customization-examples.md

Lines changed: 0 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -35,42 +35,6 @@ Practical examples of well-named and organized Claude Code components.
3535
└── bug-fixer.md # Investigates and fixes bugs
3636
```
3737

38-
## Commands
39-
40-
### Simple Action Commands
41-
42-
```text
43-
.claude/commands/
44-
├── test.md # Run tests with optional pattern
45-
├── build.md # Build the project
46-
├── lint.md # Run linters
47-
└── format.md # Format code
48-
```
49-
50-
### Multi-Step Workflow Commands
51-
52-
```text
53-
.claude/commands/
54-
├── deploy.md # Deploy to production
55-
├── release.md # Create release (changelog, tag, publish)
56-
├── security-audit.md # Run security checks
57-
└── performance-check.md # Run performance benchmarks
58-
```
59-
60-
### Organized by Domain
61-
62-
```text
63-
.claude/commands/
64-
├── frontend/
65-
│ ├── component.md # /component - Creates React component
66-
│ ├── page.md # /page - Creates new page
67-
│ └── styling.md # /styling - Generates CSS/styled-components
68-
└── backend/
69-
├── endpoint.md # /endpoint - Creates API endpoint
70-
├── migration.md # /migration - Creates DB migration
71-
└── model.md # /model - Creates data model
72-
```
73-
7438
## Skills
7539

7640
### Reference Skills
@@ -134,9 +98,6 @@ Practical examples of well-named and organized Claude Code components.
13498
.claude/
13599
├── agents/
136100
│ └── test-runner.md
137-
├── commands/
138-
│ ├── test.md
139-
│ └── test-watch.md
140101
├── skills/
141102
│ └── testing-guide/
142103
│ ├── SKILL.md
@@ -167,24 +128,6 @@ You are a test specialist. When invoked:
167128
5. Report results clearly
168129
```
169130

170-
### Command: test.md
171-
172-
```yaml
173-
---
174-
description: Run tests with optional pattern filter
175-
argument-hint: [pattern]
176-
---
177-
178-
Run the project's test suite.
179-
180-
Usage:
181-
- `/test` - Run all tests
182-
- `/test Button` - Run tests matching "Button"
183-
- `/test integration` - Run integration tests
184-
185-
Delegate to the test-runner agent to analyze failures and suggest fixes.
186-
```
187-
188131
### Skill: testing-guide/SKILL.md
189132

190133
```yaml
@@ -228,6 +171,5 @@ See references/ for framework-specific patterns.
228171
This creates a complete testing workflow:
229172

230173
- **Agent** for intelligent test fixing
231-
- **Commands** for quick test execution
232174
- **Skill** for testing knowledge
233175
- **Hook** for pre-commit validation

references/delegation-patterns.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,11 +357,9 @@ First read all agent files, then validate each one, then compare with settings.j
357357
- skill-audit skill
358358
- agent-audit skill
359359
- hook-audit skill
360-
- command-audit skill
361360
- output-style-audit skill
362361
- agent-authoring skill
363362
- skill-authoring skill
364-
- command-authoring skill
365363
- output-style-authoring skill
366364
- git-workflow skill
367365
- audit-coordinator skill

references/file-organization.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ Directory structure and layout best practices for Claude Code customizations.
1111
├── agents/ # Specialized AI agents
1212
│ ├── agent-name.md # Agent definition
1313
│ └── another-agent.md
14-
├── commands/ # Slash commands
15-
│ ├── command-name.md # Command definition
16-
│ ├── subdirectory/ # Optional grouping
17-
│ │ └── grouped-cmd.md # Shows as "project:subdirectory" in /help
18-
│ └── another-command.md
1914
├── skills/ # Model-invoked capabilities
2015
│ ├── skill-name/ # Skill directory
2116
│ │ ├── SKILL.md # Primary skill definition (required)
@@ -61,22 +56,6 @@ skill-name/
6156
4. **No Orphans**: All reference files should be discoverable
6257
5. **Logical Grouping**: Group non-markdown resources by purpose (scripts/, templates/, config/)
6358

64-
## Command Subdirectory Organization
65-
66-
Commands can be organized in subdirectories for grouping:
67-
68-
```text
69-
.claude/commands/
70-
├── frontend/
71-
│ ├── component.md # Creates /component (shows "project:frontend")
72-
│ └── styling.md # Creates /styling (shows "project:frontend")
73-
└── backend/
74-
├── api.md # Creates /api (shows "project:backend")
75-
└── migration.md # Creates /migration (shows "project:backend")
76-
```
77-
78-
**Note**: Subdirectories provide organizational namespacing in `/help` output but do not prefix the command name itself.
79-
8059
## Agent Organization
8160

8261
Agents with reference materials can optionally use a directory:
@@ -145,7 +124,6 @@ These directories are created automatically and should not be tracked:
145124
**Always track**:
146125

147126
- `agents/` - Custom agents
148-
- `commands/` - Slash commands
149127
- `skills/` - Agent skills
150128
- `hooks/` - Hook scripts
151129
- `settings.json` - Configuration (if no secrets)
@@ -171,6 +149,6 @@ These directories are created automatically and should not be tracked:
171149
5. **Consistent Naming**: Follow kebab-case for all directories and files
172150
6. **Logical Grouping**: Group related files by purpose (references/, scripts/, etc.)
173151
7. **No Orphans**: All files should be discoverable and have a clear purpose
174-
8. **Track Customizations**: Commit agents, commands, skills, and hooks
152+
8. **Track Customizations**: Commit agents, skills, and hooks
175153
9. **Ignore Session Data**: Don't commit todos, plans, logs, or history
176154
10. **Document Structure**: Add README.md files for complex directory structures

references/frontmatter-requirements.md

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -73,44 +73,6 @@ allowed_tools:
7373
---
7474
```
7575

76-
## Commands
77-
78-
```yaml
79-
---
80-
description: Brief description # Required for /help and model invocation
81-
argument-hint: [arg1] [arg2] # Optional: shown in autocomplete
82-
allowed-tools: Bash, Read # Optional: restricts available tools
83-
model: haiku # Optional: specific model
84-
disable-model-invocation: false # Optional: prevents SlashCommand tool access
85-
---
86-
```
87-
88-
### Required Fields
89-
90-
- **description**: Brief command description (required for `/help` visibility and model invocation)
91-
92-
### Optional Fields
93-
94-
- **argument-hint**: Shows expected arguments in autocomplete
95-
- **allowed-tools**: Restricts which tools the command can use
96-
- **model**: Override the default model for this command
97-
- **disable-model-invocation**: Set to `true` to prevent SlashCommand tool from invoking
98-
99-
### Important Notes
100-
101-
- Commands **without** `description` won't appear in `/help`
102-
- Commands **without** `description` can't be invoked via SlashCommand tool
103-
- Use `$ARGUMENTS` for all arguments, `$1`, `$2` for positional parameters
104-
105-
### Example
106-
107-
```yaml
108-
---
109-
description: Validates a sub-agent configuration for correctness, clarity, and effectiveness
110-
argument-hint: [agent-name]
111-
---
112-
```
113-
11476
## Skills
11577

11678
```yaml
@@ -219,12 +181,6 @@ description: When to use this style
219181
- [ ] `model` is valid (if specified)
220182
- [ ] `tools` list matches actual usage (if specified)
221183

222-
### For Commands
223-
224-
- [ ] `description` is present (required for `/help`)
225-
- [ ] `argument-hint` matches actual usage (if specified)
226-
- [ ] Variables use `$ARGUMENTS`, `$1`, `$2` format
227-
228184
### For Skills
229185

230186
- [ ] `name` is kebab-case, lowercase only

0 commit comments

Comments
 (0)