/baldrick:coverage-loopfrom baldrick
Iteratively improve test coverage until target is reached. Use when: improve coverage, test coverage, coverage target, baldrick coverage. Triggers on: coverage, test coverage, coverage loop.
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.
Iteratively write tests until a target coverage percentage is reached.
Philosophy: Meaningful coverage over hitting numbers. Test business logic first.
┌─────────────────────────────────────────────────┐
│ 1. Run coverage command │
│ 2. Check current percentage vs target │
│ 3. If target reached → COMPLETE │
│ 4. Identify highest-value uncovered code │
│ 5. Write test for ONE uncovered area │
│ 6. Run coverage again to verify │
│ 7. Append progress to progress.txt │
│ 8. Loop back to step 1 │
└─────────────────────────────────────────────────┘
Focus on coverage in this order:
Skip:
Append to progress.txt after each iteration:
## Coverage Loop - [Date/Time]
- Before: 65%
- After: 68%
- Added: Test for `validateEmail()` in `src/utils/validation.ts`
- Focus: Business logic validation
---
When coverage reaches target percentage:
<promise>COMPLETE</promise>If stuck after multiple iterations:
<promise>BLOCKED</promise> with explanationUser: "Run coverage loop to 80%"
The skill will:
What SKILL.md sets; muted values are Claude Code's defaults
8 skills in this plugin
/baldrick-runExecute Baldrick iterations on existing specs. Use when: run baldrick, execute specs, implement features, start working. Triggers on: baldrick run, run specs, implement, execute features./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.npx claudepluginhub jagreehal/baldrick --plugin baldrickOther plugins' skills for the same job