test-driven-development
Consult before implementing an observable behavior change when a meaningful automated test seam exists; use proportional red-green evidence.
Skill by BB-84C
Chalk Labs
Need help deploying test-driven-development?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/bb-84c-test-driven-development
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/test-driven-development
What's inside
- Skill name
test-driven-development- Description
- Consult before implementing an observable behavior change when a meaningful automated test seam exists; use proportional red-green evidence.
- License
- MIT
- Instructions
- 63 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- testing-anti-patterns.md
SKILL.md (first lines)
# Test-Driven Development ## Purpose TDD obtains discriminating evidence: a test should demonstrate that it detects the missing or broken behavior, not merely pass against current implementation. Red-green is the preferred foundation for behavior changes with a meaningful automated test seam; it is not a reason to discard useful existing code or mistake literal ordering for correctness. ## Choose the validation path 1. Identify the real product, business, or operational semantic behavior that the change must produce, including meaningful failure or boundary cases. 2. If it has a meaningful automated test seam, write or refine a focused test and obtain counterfactual evidence that the test fails for the intended missing or broken behavior. Then implement or repair the behavior and verify the test passes. 3. When an implementation already exists, preserve it while constructing a regression test and counterfactual evidence. Use a pre-fix reproduction, controlled fixture, focused mutation, or another honest demonstration that the assertion distinguishes the defect; do not delete working code solely to reconstruct an order of operations. 4. For configuration, generated output, documentation, or an existing repair without a useful automated seam, choose the strongest suitable validation: parse and read back configuration, inspect the generated artifact, render and exercise the documented workflow, or run the narrow production-shaped check. ## Red-green where it applies For a meaningful automated seam: - **Red:** state expected behavior, run the focused test, and inspect why it fails. An infrastructure error is not evidence of the intended defect. - **Green:** implement the smallest behavior change that satisfies the scenario, then rerun the focused test. - **Refactor:** improve code or tests only while preserving their ability to distinguish behavior. Add cases for a different real risk, not a count. Unit tests, compilation, linting, and type checks are support signals. Pair them with semantic behavior evidence appropriate to the task: rendered visual and interaction checks for frontend work, restart/readback for persistence, actual arguments and resulting state for APIs or automation, and representative consumer artifacts for compatibility work. ## Evidence record Record the scenario, counterfactual or red evidence where available, the green result, and the semantic readback that supports the completion claim. If the test cannot prove the user-relevant behavior by itself, state what readback closes that gap. ## Red flags - A test passes but no one knows whether it could have caught the defect. - A green unit suite substitutes for a user-visible, persistence, operational, or compatibility outcome that was never exercised. - Deleting or rewriting useful implementation only to satisfy a procedural ordering rule. - Treating configuration, generated artifacts, documentation, or repairs as untestable when a stronger suitable validation path exists.
From BB-84C/superpowers-lite, MIT.
More from BB-84C/superpowers-lite
- 0.499score
using-superpowers
BB-84C
Consult directly matching task playbooks before substantial design, debugging, implementation, review, or completion work without forcing full workflow…
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
subagent-driven-development
BB-84C
Consult before delegating implementation when an approved plan benefits from worker context isolation and durable coordination.
SkillCFreshness: C★ 1Claude Code +9 - 0.496score
writing-skills
BB-84C
Use when creating, revising, validating, or deploying a reusable agent skill.
SkillCFreshness: C★ 1Claude Code +9 - 0.496score
brainstorming
BB-84C
Use for genuinely open, load-bearing product or architecture decisions after inspecting the project.
SkillCFreshness: C★ 1Claude Code +9 - 0.496score
using-git-worktrees
BB-84C
Use when isolation may materially improve feature work; preserve existing isolation and repository preferences.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
systematic-debugging
BB-84C
Consult before attempting a fix when root cause or behavior is unclear, failures repeat, components interact, or guessing would be unsafe.
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
executing-plans
BB-84C
Use when a written plan needs coordinated inline execution.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
dispatching-parallel-agents
BB-84C
Use when parallel workers have a net benefit over coordinated sequential work.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
verification-before-completion
BB-84C
Consult before making a substantive completion claim; require current trustworthy evidence and semantic acceptance.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
writing-plans
BB-84C
Consult when multi-round implementation, context compaction, or worker handoff requires a durable execution contract.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
requesting-code-review
BB-84C
Use independent review at meaningful semantic or risk boundaries and before substantive whole-change closeout.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
finishing-a-development-branch
BB-84C
Use when a real branch, integration, or discard decision needs an authorized closeout.
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Jul 15, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/BB-84C/superpowers-lite
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from BB-84C
- 0.499score
subagent-driven-development
BB-84C
Consult before delegating implementation when an approved plan benefits from worker context isolation and durable coordination.
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
using-superpowers
BB-84C
Consult directly matching task playbooks before substantial design, debugging, implementation, review, or completion work without forcing full workflow…
SkillCFreshness: C★ 1Claude Code +9 - 0.496score
using-git-worktrees
BB-84C
Use when isolation may materially improve feature work; preserve existing isolation and repository preferences.
SkillCFreshness: C★ 1Claude Code +9 - 0.496score
brainstorming
BB-84C
Use for genuinely open, load-bearing product or architecture decisions after inspecting the project.
SkillCFreshness: C★ 1Claude Code +9 - 0.496score
writing-skills
BB-84C
Use when creating, revising, validating, or deploying a reusable agent skill.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
systematic-debugging
BB-84C
Consult before attempting a fix when root cause or behavior is unclear, failures repeat, components interact, or guessing would be unsafe.
SkillCFreshness: C★ 1Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get test-driven-development running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
test-driven-development skill. Agent Mart. https://agentmart.dev/skills/bb-84c-test-driven-development (last updated 2026-10-24)