|
1 | 1 | # Command reference |
2 | 2 |
|
3 | | -All plugin commands are slash commands used within a Claude Code session. Execution scripts (`spec-loop.sh`, `spec-exec.sh`, etc.) are run from the terminal in your project root. |
| 3 | +Commands use `/` prefix in Claude Code and `$spec-driven:` prefix in Codex. Execution scripts (`spec-loop.sh`, `spec-exec.sh`, etc.) are run from the terminal in your project root. |
| 4 | + |
| 5 | +| Claude Code | Codex | Description | |
| 6 | +|-------------|-------|-------------| |
| 7 | +| `/spec` | `$spec-driven:spec` | Start a new feature spec | |
| 8 | +| `/spec-brainstorm` | `$spec-driven:spec-brainstorm` | Brainstorm a feature idea | |
| 9 | +| `/spec-bugfix` | `$spec-driven:spec-bugfix` | Start a bugfix spec | |
| 10 | +| `/spec-status` | `$spec-driven:spec-status` | Check spec progress | |
4 | 11 |
|
5 | 12 | ## Planning commands |
6 | 13 |
|
7 | | -| Command | Description | Example usage | |
8 | | -|---------|-------------|---------------| |
9 | | -| `/spec-brainstorm` | Free-form conversation to refine a vague idea before formalizing a spec. Optionally brings in domain expert consultants. | `/spec-brainstorm user notifications` | |
10 | | -| `/spec <name>` | Start a new feature spec with the three-phase workflow (Requirements, Design, Tasks). | `/spec user-authentication` | |
11 | | -| `/spec-bugfix <name>` | Start a new bugfix spec with defect analysis, root cause, and regression-safe tasks. | `/spec-bugfix email-validation-plus-sign` | |
12 | | -| `/spec-refine` | Update requirements or design for the current spec. Changes cascade to design and task regeneration. | `/spec-refine` | |
13 | | -| `/spec-tasks` | Regenerate `tasks.md` from the current design, useful after design changes. | `/spec-tasks` | |
| 14 | +| Claude Code | Codex | Description | Example | |
| 15 | +|-------------|-------|-------------|---------| |
| 16 | +| `/spec-brainstorm` | `$spec-driven:spec-brainstorm` | Brainstorm a feature idea with optional expert consultants. | `/spec-brainstorm user notifications` | |
| 17 | +| `/spec <name>` | `$spec-driven:spec <name>` | Start a new feature spec (Requirements, Design, Tasks). | `/spec user-authentication` | |
| 18 | +| `/spec-bugfix <name>` | `$spec-driven:spec-bugfix <name>` | Start a bugfix spec with regression prevention. | `/spec-bugfix email-validation-plus-sign` | |
| 19 | +| `/spec-refine` | `$spec-driven:spec-refine` | Update requirements or design; cascades to tasks. | `/spec-refine` | |
| 20 | +| `/spec-tasks` | `$spec-driven:spec-tasks` | Regenerate `tasks.md` from current design. | `/spec-tasks` | |
14 | 21 |
|
15 | 22 | ## Status and validation commands |
16 | 23 |
|
17 | | -| Command | Description | Example usage | |
18 | | -|---------|-------------|---------------| |
19 | | -| `/spec-status` | Show current progress: task counts, completion percentages, and dependency status. | `/spec-status` | |
20 | | -| `/spec-validate` | Validate spec completeness and consistency: EARS notation, design coverage, task traceability, no circular dependencies. | `/spec-validate` | |
| 24 | +| Claude Code | Codex | Description | Example | |
| 25 | +|-------------|-------|-------------|---------| |
| 26 | +| `/spec-status` | `$spec-driven:spec-status` | Show progress, task counts, dependency status. | `/spec-status` | |
| 27 | +| `/spec-validate` | `$spec-driven:spec-validate` | Validate EARS notation, coverage, traceability. | `/spec-validate` | |
21 | 28 |
|
22 | 29 | ## Execution commands |
23 | 30 |
|
24 | | -| Command | Description | Example usage | |
25 | | -|---------|-------------|---------------| |
26 | | -| `/spec-exec` | Run one autonomous implementation iteration: pick a task, implement, wire, test, commit. | `/spec-exec` | |
27 | | -| `/spec-loop` | Trigger the loop script from inside Claude Code. Runs until all tasks are verified. | `/spec-loop` | |
| 31 | +| Claude Code | Codex | Description | Example | |
| 32 | +|-------------|-------|-------------|---------| |
| 33 | +| `/spec-exec` | `$spec-driven:spec-exec` | Run one implementation iteration. | `/spec-exec` | |
| 34 | +| `/spec-loop` | `$spec-driven:spec-loop` | Loop until all tasks are verified. | `/spec-loop` | |
28 | 35 |
|
29 | 36 | ## Post-implementation commands |
30 | 37 |
|
31 | | -| Command | Description | Example usage | |
32 | | -|---------|-------------|---------------| |
33 | | -| `/spec-accept` | Run user acceptance testing. Traces every EARS criterion to a verified task. Outputs ACCEPTED or REJECTED. | `/spec-accept` | |
34 | | -| `/spec-docs` | Generate documentation (API reference, user guide, runbook) from the spec and implementation. | `/spec-docs` | |
35 | | -| `/spec-release` | Generate release notes, changelog, and deployment checklist. Optionally creates a git tag and GitHub release. | `/spec-release` | |
36 | | -| `/spec-verify` | Run post-deployment smoke tests against a live URL. Exits 0 on PASS, 1 on FAIL. | `/spec-verify` | |
37 | | -| `/spec-retro` | Run a structured retrospective on a completed spec. | `/spec-retro` | |
38 | | -| `/spec-complete` | Run the full post-completion pipeline: accept → docs → release → retro. | `/spec-complete` | |
| 38 | +| Claude Code | Codex | Description | Example | |
| 39 | +|-------------|-------|-------------|---------| |
| 40 | +| `/spec-accept` | `$spec-driven:spec-accept` | Acceptance testing against EARS criteria. | `/spec-accept` | |
| 41 | +| `/spec-docs` | `$spec-driven:spec-docs` | Generate docs from spec and implementation. | `/spec-docs` | |
| 42 | +| `/spec-release` | `$spec-driven:spec-release` | Release notes, changelog, deployment checklist. | `/spec-release` | |
| 43 | +| `/spec-verify` | `$spec-driven:spec-verify` | Post-deployment smoke tests against a URL. | `/spec-verify` | |
| 44 | +| `/spec-retro` | `$spec-driven:spec-retro` | Retrospective on a completed spec. | `/spec-retro` | |
| 45 | +| `/spec-complete` | `$spec-driven:spec-complete` | Full pipeline: accept → docs → release → retro. | `/spec-complete` | |
39 | 46 |
|
40 | 47 | ## Research and navigation commands |
41 | 48 |
|
42 | | -| Command | Description | Example usage | |
43 | | -|---------|-------------|---------------| |
44 | | -| `/research` | Deep research before planning. Launches parallel agents to search docs, web, and codebase. | `/research how does our auth middleware work` | |
45 | | -| `/zoom-out` | Map modules, interfaces, and callers for unfamiliar code. | `/zoom-out` | |
46 | | -| `/ubiquitous-language` | Extract domain terms into a canonical glossary with flagged ambiguities. | `/ubiquitous-language` | |
| 49 | +| Claude Code | Codex | Description | Example | |
| 50 | +|-------------|-------|-------------|---------| |
| 51 | +| `/research` | `$spec-driven:research` | Deep parallel research before planning. | `/research how does our auth middleware work` | |
| 52 | +| `/zoom-out` | `$spec-driven:zoom-out` | Map modules, interfaces, and callers. | `/zoom-out` | |
| 53 | +| `/ubiquitous-language` | `$spec-driven:ubiquitous-language` | Extract domain glossary. | `/ubiquitous-language` | |
47 | 54 |
|
48 | 55 | ## Script equivalents |
49 | 56 |
|
|
0 commit comments