Skip to content
Agentmart
Submit a tool

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

IndexedMIT★ 1
Write a review

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.

Book a call

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.

We use your email only for this newsletter. Privacy

About

Consult before implementing an observable behavior change when a meaningful automated test seam exists; use proportional red-green evidence.

Use cases: testing

No 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

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
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from BB-84C

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.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying test-driven-development?

CallGet help
Cite this page

test-driven-development skill. Agent Mart. https://agentmart.dev/skills/bb-84c-test-driven-development (last updated 2026-10-24)