From developer-skill-pack
Post-fix test-coverage analysis. Reviews a just-landed fix, generates targeted unit and regression tests, audits how the bug could have been caught earlier. Use after a fix is merged, when asked to 'add regression tests', 'pay off test debt', 'guard against regression', or 'ensure this doesn't happen again'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/developer-skill-pack:regression-guardThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Post-fix test-debt payoff loop. Takes the git diff of a recent fix as input and generates targeted tests to prevent the bug from returning.
Post-fix test-debt payoff loop. Takes the git diff of a recent fix as input and generates targeted tests to prevent the bug from returning.
/regression-guard [commit-range]
If no commit range is specified, uses HEAD~3..HEAD.
Build a structured summary from git:
git log --oneline -10
git diff HEAD~3..HEAD
git log -1 --format=%B
Produce:
Write the smallest set of unit tests that lock in the correct behavior:
tests/unit/<area>/<fix-slug>.test.<ext>
Rules:
Write regression tests that construct the exact pre-fix state:
tests/regression/<area>/<fix-slug>-regression.test.<ext>
Rules:
Answer honestly. Pick the most relevant gap category:
For each gap, write a concrete, actionable suggestion. No generic "add more tests."
Name:
Write to docs/investigations/<date>-regression-guard-<fix-slug>.md:
npx claudepluginhub dennisonbertram/developer-skill-pack --plugin developer-skill-packCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.