tdd-workflow

tdd-workflow is a skill for Claude Code from naimkatiman/continuous-improvement. It costs 117 tokens per session (2,785 once invoked), scanned A, a copy of tdd-workflow, MIT.

A test-driven development workflow. TDD means writing tests that describe the expected behavior before writing the implementation.

In plain words
What is it for?
Use it when building features, fixing bugs, adding APIs or components, and covering unit, integration, and browser-based end-to-end tests.
Why use it?
It makes feature work, bug fixes, and refactoring easier to verify by requiring tests for normal cases, errors, and boundaries.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the continuous-improvement plugin — 21 skills, 6 hooks shipped together

Good fit Use it when building features, fixing bugs, adding APIs or components, and covering unit, integration, and browser-based end-to-end tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/naimkatiman/continuous-improvement/tdd-workflow
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add naimkatiman/continuous-improvement --skill tdd-workflow
Clone the repo
git clone --depth 1 https://github.com/naimkatiman/continuous-improvement

Made for: Claude Code.

Or install continuous-improvement, the plugin that ships this one along with the rest of its 21 skills, 6 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tdd-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/naimkatiman/continuous-improvement/tdd-workflow/github.svg)](https://agentmods.dev/skills/naimkatiman/continuous-improvement/tdd-workflow)
Your own site
<a href="https://agentmods.dev/skills/naimkatiman/continuous-improvement/tdd-workflow"><img src="https://agentmods.dev/badge/skills/naimkatiman/continuous-improvement/tdd-workflow/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tdd-workflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/naimkatiman/continuous-improvement/tdd-workflow"><img src="https://agentmods.dev/badge/skills/naimkatiman/continuous-improvement/tdd-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,785 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00117 $0.02785
Opus 5.5 $0.00047 $0.01114
Sonnet 5.5 $0.00023 $0.00557
Haiku 4.5 $0.00012 $0.00279

Measured yesterday against content hash 63a908b5a50d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tdd-workflow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

86% identical to tdd-workflow — 441 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/continuous-improvement/skills/tdd-workflow/SKILL.md · 124 lines

How it starts

The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Test-Driven Development Workflow

One behavior at a time: a failing test, the smallest code that passes it, the full suite, then the next behavior. This skill is text you read. No hook in this plugin checks that a test came first, so the only proof is the command output you quote in your report.

When to use it, and when not

Use it when a change adds or alters behavior a caller can observe: a new feature, a new rule on an existing one, a bug fix.

Do not use it for documentation, configuration values, generated files, formatting, renames with no behavior change, or a spike the user has said will be thrown away. If the user says "no tests for this", do the work without this skill and say in the report that no test covers it.

Step 0: Find how this repository tests

Do this before writing anything. Read the build manifest, the README or contributing guide, the CI workflow, and two or three test files next to the code you will change. Write down four facts:

  1. The test runner and how it is started here (a script or wrapper checked into the repository wins over a globally installed tool).
  2. Where tests live and how they are named and structured.
  3. The focused command: one test file, or one test by name.
  4. The full-suite command: the one CI runs.

Never assume a command. npm test, pytest, cargo test, go test ./... and ./gradlew test are examples of what you might find, not defaults to try.

Then run the full suite once, before any edit, and keep the result. If tests already fail, tell the user which ones before you start, and leave them alone unless asked.

No tests or no runner in this repository: stop and ask. Adding a test framework is a new dependency and the user's call. Offer two options: add the smallest runner the stack already provides, or do the change without this skill and describe the manual check you ran.

Done when you can state the focused and full-suite commands and you hold the baseline result.

Step 1: List the behaviors, pick one

Read the full file on GitHub · 124 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · +2 lines 63a908b5a50d
  2. 2d ago Changed · -290 lines · +43 tokens per session 00f2e86d01f9
  3. 3mo ago First seen · 412 lines · 74 tokens per session scan A a2e50c0b8182

Subscribe to this mod's changes

tdd-workflow is a skill published in the GitHub repository naimkatiman/continuous-improvement (11 stars, last pushed yesterday), licensed MIT. It adds 117 tokens to every session and 2,785 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to tdd-workflow, differing in 441 lines, and is treated as a copy.

Related

tdd-workflow compared with skills from other repositories

tdd-workflow next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tdd-workflownaimkatiman/continuous-improvementSkill11yesterdayMITA117Claude Code
ap-policiesagentproto/tsSkill11yesterdayApache-2.0A83Claude Code, Codex
test-loopao92265/claude-code-playbookSkill1317d agoMITA152Claude Code
test-architectureils15/pantheon-legacySkill1220d agoMITA29Claude Code
demo-qaao92265/claude-code-playbookSkill1317d agoMITA195Claude Code
test-firstao92265/claude-code-playbookSkill1317d agoMITA81Claude Code
tdd-workflowronmkr/PromptBookSkill26mo agoApache-2.0A43Claude Code, Codex