Ships in ralphharness. Installing the plugin adds it to Claude Code.
You are showing the status of all specifications across all configured specs directories.
From $ARGUMENTS:
If --update-index is present in $ARGUMENTS:
# Regenerate spec index files
./plugins/ralphharness/hooks/scripts/update-spec-index.sh
This updates:
./specs/.index/index-state.json - Machine-readable state./specs/.index/index.md - Human-readable summaryThe index is also updated automatically when specs are created, completed, or deleted.
This command uses the path resolver to discover specs from all configured directories.
Path Resolver Functions:
ralph_list_specs() - Returns all specs as name|path pairsralph_resolve_current() - Resolves .current-spec to full pathConfiguration: Specs directories are configured in .claude/ralphharness.local.md:
specs_dirs: ["./specs", "./packages/api/specs", "./packages/web/specs"]
ralph_list_specs() to enumerate all specs from all configured directoriesralph_resolve_current() to identify the active spec pathFor each spec directory found:
Read .ralph-state.json if exists to get:
Check which files exist:
If tasks.md exists, count completed tasks:
- [x] pattern- [ ] patternIf .ralph-state.json has relatedSpecs:
mayNeedUpdate: true with asteriskGroup specs by their root directory. Show [dir-path] suffix for specs NOT in the default ./specs directory.
# RalphHarness Status
Active spec: <name from .current-spec> (or "none")
## Specs
### <spec-name-1> [ACTIVE]
Phase: <phase>
Progress: <completed>/<total> tasks (<percentage>%)
Files: [research] [requirements] [design] [tasks]
Related: auth-system (HIGH*), api-middleware (MEDIUM)
* = may need update
### <spec-name-2>
Phase: <phase>
Progress: <completed>/<total> tasks
Files: [research] [requirements] [design] [tasks]
Related: <none or list>
### api-auth [packages/api/specs]
Phase: design
Progress: 0/0 tasks
Files: [x] research [x] requirements [x] design [ ] tasks
### web-login [packages/web/specs]
Phase: research
Progress: 0/0 tasks
Files: [x] research [ ] requirements [ ] design [ ] tasks
---
Index: ./specs/.index/index.md (run with --update-index to refresh)
Commands:
- /ralphharness:switch <name> - Switch active spec
- /ralphharness:new <name> - Create new spec
- /ralphharness:<phase> - Run phase for active spec
- /ralphharness:status --update-index - Refresh spec index
Directory Context Rules:
./specs/ directory: No suffix[dir-path] suffix (e.g., [packages/api/specs])[ACTIVE] tag regardless of directoryShow phase status with indicators:
For each file, show:
Example: Files: [x] research [x] requirements [ ] design [ ] tasks
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub informatico-madrid/ralph-harness --plugin ralphharness20 commands in this plugin
/cancelCancel ExecutionCancel active execution loop, cleanup state, and remove spec/designDesign PhaseGenerate technical design from requirements/feedbackSubmit FeedbackSubmit feedback or report an issue for RalphHarness plugin./helpRalphHarness HelpShow help for RalphHarness plugin commands and workflow./implementStart ExecutionStart task execution loop/indexIndex CommandIndex codebase components and external resources into searchable specsOther plugins' commands for the same job