Skip to content

borghei/Claude-Skills / engineering/tdd-guide

tdd-guide

Verified

Guide red-green-refactor TDD with test generation, coverage-gap analysis, and multi- framework support. Use when writing tests first, analyzing coverage, generating test stubs, or converting tests between Jest, Pytest, JUnit, and Vitest.

assets/sample_coverage_gaps.lcov

View on GitHub
TN:
SF:src/billing/discount.ts
FN:2,applyDiscount
FN:14,validateCode
FNDA:12,applyDiscount
FNDA:0,validateCode
FNF:2
FNH:1
DA:2,12
DA:3,12
DA:4,12
DA:5,3
DA:6,9
DA:7,9
DA:14,0
DA:15,0
DA:16,0
DA:17,0
DA:18,0
LF:11
LH:6
BRDA:4,0,0,3
BRDA:4,0,1,9
BRDA:15,1,0,0
BRDA:15,1,1,0
BRF:4
BRH:2
end_of_record
TN:
SF:src/billing/invoice.ts
FN:1,formatInvoice
FNDA:20,formatInvoice
FNF:1
FNH:1
DA:1,20
DA:2,20
DA:3,20
DA:4,20
LF:4
LH:4
end_of_record
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall