incremental-tdd

incremental-tdd is a skill for Claude Code, Codex from kambleakash0/agent-skills. It costs 35 tokens per session (1,295 once invoked), scanned A, original, MIT.

A test-first development workflow built around repeating three steps: write a failing test, make it pass, then improve the code. TDD means Test-Driven Development; a vertical slice is a small feature that works through all relevant layers.

In plain words
What is it for?
Use it to build features or fix bugs with test-first development, vertical slices, module-level or integration tests, and red-green-refactor loops.
Why use it?
It keeps implementation tied to observable behavior and helps catch mistakes early. It also provides guidance for designing modules and refactoring without making tests brittle.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build features or fix bugs with test-first development, vertical slices, module-level or integration tests, and red-green-refactor loops.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kambleakash0/agent-skills/incremental-tdd
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 kambleakash0/agent-skills --skill incremental-tdd
Clone the repo
git clone --depth 1 https://github.com/kambleakash0/agent-skills

Made for: Claude Code, Codex.

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 incremental-tdd

README.md
[![agentmods](https://agentmods.dev/badge/skills/kambleakash0/agent-skills/incremental-tdd/github.svg)](https://agentmods.dev/skills/kambleakash0/agent-skills/incremental-tdd)
Your own site
<a href="https://agentmods.dev/skills/kambleakash0/agent-skills/incremental-tdd"><img src="https://agentmods.dev/badge/skills/kambleakash0/agent-skills/incremental-tdd/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 incremental-tdd

Your own site · 80×15
<a href="https://agentmods.dev/skills/kambleakash0/agent-skills/incremental-tdd"><img src="https://agentmods.dev/badge/skills/kambleakash0/agent-skills/incremental-tdd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,295 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 original No closer match found 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.00035 $0.01295
Opus 5 $0.00017 $0.00647
Sonnet 5 $0.00007 $0.00259
Haiku 4.5 $0.00003 $0.00129

Measured 10d ago against content hash 59cdc6568b3c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

incremental-tdd 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 10d ago.

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.

skills/incremental-tdd/SKILL.md · 101 lines

How it starts

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

Test-Driven Development (Red-Green-Refactor)

This skill forces you to work in tight TDD loops: one failing test, one implementation, then refactor. It prefers vertical slices and deep modules so tests stay honest, stable, and focused on real behavior instead of implementation details.

This skill comes with extra documents you can reference for philosophy and examples:

When you need guidance on design or refactoring, open and read these files instead of guessing.

When to Use

Use this skill when the user:

  • Wants to build a feature or fix a bug using TDD.
  • Mentions “red‑green‑refactor”, “test‑first”, or “write the tests first”.
  • Wants honest integration or module‑level tests that drive design rather than brittle unit tests.
  • Is running longer “Ralph” loops or autonomous agents and wants higher‑quality changes.

If the requirements are unclear, suggest using /grill-me and /spec-writer first, then come back here for execution.

Overall Workflow

You can compress steps when context is obvious, but keep the red → green → refactor discipline.

  1. Clarify behavior and interfaces

    • Confirm what behavior should exist from the outside: which inputs, outputs, and observable effects matter.
    • Identify or design the interfaces you’ll use to expose that behavior (public functions, handlers, endpoints, etc.).
    • Prefer deep modules: fewer, larger modules with thin, stable interfaces on top.
    • If needed, open deep-modules.md and adjust your interface design to match that philosophy.

Read the full file on GitHub · 101 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 101 lines · 35 tokens per session scan A 59cdc6568b3c

Subscribe to this mod's changes

incremental-tdd is a skill published in the GitHub repository kambleakash0/agent-skills (9 stars, last pushed 23d ago), licensed MIT. It adds 35 tokens to every session and 1,295 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

superpowers

Use when the user wants a disciplined software development workflow with design-first planning, implementation plans, TDD, systematic debugging, code review, or verification-before-completion, adapted from obra/superpowers.

Peiiii/nextclaw · 43 tokens

test-first

Use when implementing any feature, bugfix, or refactor that has a testable outcome. Activate for keywords like "TDD", "test-first", "red-green", "write the test first", "implement ", "fix ". Enforces the red-green-refactor discipline -- write a failing test, make it pass with the smallest change, refactor with tests…

duthaho/claudekit · 106 tokens

test-driven-development

Drives development with tests. Use when implementing any logic, fixing any bug, or changing any behavior. Use when you need to prove that code works, when a bug report arrives, or when you're about to modify existing functionality.

FluxonLab/Skillry · 50 tokens

python-testing-patterns

Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. Use when writing Python tests, setting up test suites, or implementing testing best practices.

FluxonLab/Skillry · 38 tokens

workflow-patterns

Use this skill when implementing tasks according to Conductor's TDD workflow, handling phase checkpoints, managing git commits for tasks, or understanding the verification protocol.

FluxonLab/Skillry · 35 tokens

bats-testing-patterns

Master Bash Automated Testing System (Bats) for comprehensive shell script testing. Use when writing tests for shell scripts, CI/CD pipelines, or requiring test-driven development of shell utilities.

FluxonLab/Skillry · 42 tokens