Bec TDD — Testing skill for Claude Code
Describe one observable behavior in a focused regression, run it and inspect the expected failure, implement the minimum change, then rerun it and the relevant suite.
How to install Bec TDD
Installs to ~/.claude/skills/bovinphang-backend-craft-bec-tdd/SKILL.md
mkdir -p ~/.claude/skills/bovinphang-backend-craft-bec-tdd && curl -fsSL https://raw.githubusercontent.com/bovinphang/backend-craft/HEAD/commands/bec-tdd.md -o ~/.claude/skills/bovinphang-backend-craft-bec-tdd/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Bec TDD does
name: bec-tdd description: "Describe one observable behavior in a focused regression, run it and inspect the expected failure, implement the minimum change, then rerun it and the relevant suite. Never claim a skipped test passed."
Describe one observable behavior in a focused regression, run it and inspect the expected failure, implement the minimum change, then rerun it and the relevant suite. Never claim a skipped test passed.
Read skill bec-tdd-workflow。
Task arguments: $ARGUMENTS
Alternatives in Testing
- Check Invariants — Runs only the tree CRDT invariant test battery in outl-core 201 ★
- Specweave — Spec-first AI development: describe a feature → AI creates spec + plan + tasks, builds autonomously, syncs to 158 ★
- Ab Method — by Ayoub Bensalah - A principled, spec-driven workflow that transforms large problems into focused, incrementa 148 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Bec Debug
Capture the original failure, reproduce it and test a specific hypothesis before editing. Apply the smallest e
Debugging Skill
Diagnose failures by testing learner hypotheses with observable evidence.
Test Suite Generator
Generate a comprehensive test suite with unit, integration and e2e coverage, plus skipped-test cleanup.
To Spec
Write or update the capability spec from an interview — turns a /shape session (or provided notes/transcript)
New Test Issue
QA helper — file a bug issue on GitHub with repro steps, expected/actual, and proper labels.
Purple
Plan a purple-team detection-validation exercise using published test procedures (e.g. Atomic Red Team) in a l
Related Agents
Suite Runner
Runs the build and dotnet test commands it is given, exactly, and returns a short report - per command its exi
Start Day External Context
Use this agent when /start-day needs external context from calendar, email, and Slack. Runs in parallel with t
Bec Code Reviewer
Review correctness, concurrency, resource lifetime and regression coverage. Trace callers before reporting a d