/baldrick:baldrick-runfrom baldrick
Execute Baldrick iterations on existing specs. Use when: run baldrick, execute specs, implement features, start working. Triggers on: baldrick run, run specs, implement, execute features.
Ships in baldrick. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Execute autonomous iterations on feature specifications until all are complete.
Each iteration:
## Codebase Patterns at top of progress.txt FIRSTbaldrick-learnings.md for additional patterns## SELECTED SPEC in context (the loop has already selected it by priority → risk → created → id)passes: trueSpecs are selected deterministically in this order:
high > medium > lowspike > integration > standard > polishcreated: frontmatter)This ensures critical work first, unknowns (spikes) early, polish last.
After completing each spec, append to progress.txt:
## 2025-01-08 14:30 - feature-name
Session: baldrick-20250108143000-12345
- What was done: Implemented X, added Y, fixed Z
- Test output: (paste actual output)
- Learnings: (patterns discovered, gotchas encountered)
- Next: Related work or follow-ups
If you discover a REUSABLE pattern during implementation:
## Codebase Patterns at TOP of progress.txtbaldrick-learnings.md for permanent storageGood patterns:
Do NOT add:
Per-spec completion:
passes: trueAll specs complete:
touch .baldrick-done<promise>COMPLETE</promise>Every iteration must:
Do NOT commit broken code.
# Run 10 iterations (default)
./baldrick run
# Run specific number of iterations
./baldrick run 20
# Preview without executing
./baldrick run 5 --dry-run
# Stream Claude output (or use stream-json + jq)
./baldrick run 10 --verbose
./baldrick run 10 --stream-json # requires jq
# Work on single spec until done
./baldrick once login-feature
./baldrick once login-feature --max 15
./baldrick once login-feature --max 15 --verbose
Every 5th iteration, switch from Worker to Reviewer:
This prevents broken code from compounding.
Beyond feature specs, use these skills for goal-oriented loops:
Load the skill and describe your goal. The skill iterates until complete.
Each run is tracked with:
baldrick-YYYYMMDDHHMMSS-PIDlogs/baldrick-YYYYMMDD-HHMMSS.log.last-session fileWhen switching branches or features, previous sessions are automatically archived.
If the same spec fails twice without changes:
When you switch git branches or start a new feature:
archive/YYYY-MM-DD-feature-name/This prevents mixing work across features.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jagreehal/baldrick --plugin baldrick8 skills in this plugin
/coverage-loopIteratively improve test coverage until target is reached. Use when: improve coverage, test coverage, coverage target, baldrick coverage. Triggers on: coverage, test coverage, coverage loop./entropy-loopIteratively reduce code entropy by fixing smells and improving quality. Use when: cleanup, code smells, entropy, refactor loop, baldrick entropy. Triggers on: entropy, cleanup, code smells, reduce entropy./lint-loopIteratively fix all linting errors until clean. Use when: fix lint, lint errors, lint loop, baldrick lint-fix. Triggers on: lint, fix lint, lint errors, lint loop./pr-docsGenerate PR documentation from completed spec and git diff. Use when: pr docs, generate docs, pull request docs, baldrick docs. Triggers on: pr docs, generate docs, document changes./spec-createCreate a feature specification for Baldrick. Use when: create a spec, new feature, write spec for, plan this feature. Triggers on: create spec, baldrick create, new spec, feature spec./spec-detailedCreate comprehensive spec with diagrams, flows, and thorough documentation. Use when: detailed spec, comprehensive spec, full spec, baldrick spec. Triggers on: detailed, comprehensive, full spec, thorough.Other plugins' skills for the same job