Skip to content
Agentmart
Submit a tool

test-driven-development

Use when implementing a high-risk behavior change, reproduced regression, or costly contract.

Skill by tsergeytovarov

IndexedMIT★ 15
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/tsergeytovarov-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

Use when implementing a high-risk behavior change, reproduced regression, or costly contract. Do NOT use by default for docs, styling, config, or low-risk wiring.

Use cases: documents, 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 and code. Checked Oct 26, 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
Use when implementing a high-risk behavior change, reproduced regression, or costly contract. Do NOT use by default for docs, styling, config, or low-risk wiring.
License
MIT
Instructions
44 lines in SKILL.md · view on GitHub

Files (3)

  • CHANGELOG.md
  • SKILL.md
  • writing-good-tests.md

SKILL.md (first lines)

# Risk-Based Test-Driven Development

TDD protects critical behavior. It is not a requirement to create a test for
every changed function.

Read `../using-superpowers/references/risk-policy.md` and classify the change.

## Decision

| Risk | New test |
|---|---|
| Low | None by default; use a focused check or smoke path |
| Medium | Only for a key outcome, non-obvious branch, or hard-to-notice regression |
| High | One minimal regression or contract test first when practical |

Do not test private helpers, trivial branches, static rendering details, or
behavior already covered through a public seam.

## Critical TDD Cycle

For a warranted test:

1. Write the smallest test that describes the critical observable behavior.
2. Run it and confirm it fails for the expected missing behavior.
3. Implement the smallest production change.
4. Run the focused test and the affected suite once.
5. Refactor only if needed, then rerun the closest affected target.

Mocks are limited to external boundaries. Prefer real in-process behavior.

## Existing Code or Impractical Automation

Do not delete completed code merely because the test was not written first.
Add a focused regression test when it materially protects the outcome. If
automation is disproportionately expensive or impossible, record and run a
reproducible smoke check instead.

## Completion

- Every check that was run must pass.
- A passing focused test does not justify running unrelated suites.
- State what was verified and what was intentionally not tested.

From tsergeytovarov/ai-settings, MIT.

More from tsergeytovarov/ai-settings

Signals

Stars
15
Forks
4
Open issues
2
Last commit (this folder)
Jul 31, 2026 (3 months ago)
Last release
Oct 12, 2026 (25 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from tsergeytovarov

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/tsergeytovarov-test-driven-development (last updated 2026-10-24)