How this command is triggered — by the user, by Claude, or both
Slash command
/specs:generate-specsThis command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# Generate Spec Files Generate YAML specification files using the system overview as a guide. **Prerequisites:** - Run `/specs:generate-overview` first to create `.specs/overview.md` - Run `/specs:index-artifacts` to create `.specs/artifacts.csv` ## Setup ### Step 0: Get Plugin Path Read `~/.claude/plugins/cache/settings.json` and get the `pluginPath` from the `cc-specs-plugin` entry. ### Step 1: Check Current State Run the stats script to determine the current state: The script returns a JSON object with a `type` field. Based on `type`: - `first-run` → Proceed to Step 2 (full gen...
Generate YAML specification files using the system overview as a guide.
Prerequisites:
/specs:generate-overview first to create .specs/overview.md/specs:index-artifacts to create .specs/artifacts.csvRead ~/.claude/plugins/cache/settings.json and get the pluginPath from the cc-specs-plugin entry.
Run the stats script to determine the current state:
pwsh -File "[pluginPath]/scripts/get-changes.ps1" -For specs
The script returns a JSON object with a type field. Based on type:
first-run → Proceed to Step 2 (full generation)no-changes → Report that specs are up to date and exitincremental → Proceed to Step 2 (incremental generation)For incremental updates, the script saves the result to .specs/temp/<prev>-to-<curr>.json.
Read .specs/overview.md to understand the system architecture.
Read .specs/artifacts.csv to get the list of artifacts to generate specs for.
Read the plugin folder (from pluginPath), specifically these files:
README.md - Documentation, examples, and conventionsschemas/* - Schema definitions for each spec typeCheck if a plan already exists in .specs/temp/plans/:
full-<commit>.md<prev>-to-<curr>.mdIf plan exists: Read it and continue from where it left off (some items may already be checked).
If plan does not exist: Read [pluginPath]/templates/generate-specs-plan.md and follow its instructions to create a new plan. Replace all {{placeholder}} values with actual paths and names.
Execute the plan following the plan-and-do skill guidelines.
Critical: Update the plan after EACH item. For each item in the plan:
[x] Generate system.yaml (exists, valid)[x] Generate system.yaml (created)[x] Generate system.yaml (updated)Update the plan file after completing each item or small batch of related items - do not wait until the end. This ensures progress is tracked even if the session is interrupted.
Run the validation script to check the generated specs against schemas:
node "[pluginPath]/validator/validate.js"
If validation errors are found, fix them before proceeding.
Update .specs/config.json with the current commit hash as specsCommit.
For first run:
git rev-parse HEADFor incremental updates:
currentCommit from the JSON file saved in Step 1Run the summarize script to get statistics:
pwsh -File "[pluginPath]/scripts/summarize.ps1"
Report the results to the user.
npx claudepluginhub codingawayy/cc-marketplace --plugin specs/specGenerates or refines Choo Choo Ralph spec files (.choo-choo-ralph/*.spec.md) from plan files or conversation context, using parallel sub-agents for codebase and tech research.
/scanDrafts a technical spec from code symbols and a roadmap from TODO markers plus git churn data. Generates prefilled documents that you verify and triage.
/analyze-specAnalyzes one or two YAML spec files to generate a flexible deployment plan covering problem, solution, phases, blockers, risks; saves to .claude/plan.local.md with Next Action and Critical Files sections.
/specCreates a single implementation spec (vertical slice) from an existing design document, with automatic state detection and proportionality checks to determine the appropriate path.