Agent skill

Test Driven Development

by aiskillstore in aiskillstore/marketplace

Red-green-refactor development methodology requiring verified test coverage.

No licenceAuto-check passedTesting & QA

Install Test Driven Development

skills CLI
$ npx skills add aiskillstore/marketplace --skill test-driven-development -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aiskillstore/marketplace test-driven-development --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/codingcossack/test-driven-development .claude/skills/test-driven-development && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
test-driven-development
GitHub stars
430
Token cost
~1.9k tokens
SKILL.md length
709 words
Files
4 (incl. references)
Skills in repo
1,108
Repo updated
First seen
Licence
None found

At a glance

Red-green-refactor development methodology requiring verified test coverage.

  • Works in 5 steps: Write tests that capture current… → Run tests, observe actual outputs → Update assertions to match reality… → …
  • Feature implementation
  • SKILL.md covers The Iron Law, Red-Green-Refactor Cycle, Good Tests and Example: Bug Fix, plus 9 more sections
  • Calls npm

What it does

Test Driven Development is an agent skill from aiskillstore/marketplace. Red-green-refactor development methodology requiring verified test coverage. Use for feature implementation, bugfixes, refactoring, or any behavior changes where tests must prove correctness.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/tdd-philosophy.md`, `references/testing-anti-patterns.md` and `skill-report.json`).

It sits in Testing & QA, covering Test-driven development, Refactoring and Test coverage. The repository describes itself as: Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified.

When your agent uses it

  • Feature implementation
  • Any behavior changes where tests must prove correctness

Example prompts

  • “/test-driven-development”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Write tests that capture current behavior (even if "wrong")
  2. Run tests, observe actual outputs
  3. Update assertions to match reality (these are "golden masters")
  4. Now you have a safety net for refactoring
  5. Apply TDD for new behavior changes

What it can do on your machine

Read from SKILL.md and the folder at commit ad8daf7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Test Driven Development loads about 1.9k tokens when it runs, and up to ~4.7k if it reads all its reference files. Until then it costs about 54 tokens; SKILL.md has 709 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~54
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 709 words (~1,877 tokens).

“Write test first. Watch it fail. Write minimal code to pass. Refactor.”

— opening of SKILL.md by aiskillstore
name
test-driven-development

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files (references) in skills/codingcossack/test-driven-development of aiskillstore/marketplace.

  • SKILL.md
  • references/tdd-philosophy.md
  • references/testing-anti-patterns.md
  • skill-report.json

Open the folder on GitHubat commit ad8daf7

Compare with similar skills

Test Driven Development next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Test Driven Development compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Test Driven Development this skillaiskillstore/marketplace430—~1.9kAutomated safety check: PassNone
Test Guidelinesgetsentry/sentry-dart873—~3.1kAutomated safety check: PassMIT
Characterisation Testscitypaul/.dotfiles739—~3.6kAutomated safety check: PassCustom licence
TDD Refactor Guardgustavscirulis/snapgrid1171 repos~1.8kAutomated safety check: NotesCustom licence
Test Guidelinesgetsentry/sentry-react-native1.8k—~1.3kAutomated safety check: PassMIT
Test Coveragescott-fryxell/brayness124—~1.6kAutomated safety check: PassMIT

Similar skills

  • Test Guidelines

    getsentry/sentry-dart

    Official

    Enforce Sentry Dart/Flutter SDK test conventions for naming, structure, and fixtures.

    873 GitHub stars~3.1k tokensUpdated today
    Testing & QAAuto-check passed
  • Characterisation Tests

    citypaul/.dotfiles

    A skill your agent uses when modifying existing code that lacks tests and you need to document its actual current behavior before making changes -- the legacy code dilemma where you need tests to…

    739 GitHub stars~3.6k tokensUpdated 5 days ago
    Testing & QAAuto-check passed
  • TDD Refactor Guard

    gustavscirulis/snapgrid

    Pre-refactor safety checklist. An agent skill from gustavscirulis/snapgrid.

    117 GitHub starsUsed in 1 repo~1.8k tokens
    Testing & QAAuto-check: notes
  • Test Guidelines

    getsentry/sentry-react-native

    Official

    Enforce Sentry React Native SDK test conventions for naming, structure, mocking, and fixtures with Jest.

    1.8k GitHub stars~1.3k tokensUpdated today
    Testing & QAAuto-check passed
  • Test Coverage

    scott-fryxell/brayness

    Write Vitest specs for Vue 3 JavaScript (Vite Plus, happy-dom, @vue/test-utils) and analyze V8 coverage + Fallow health to prioritize test-first refactors.

    124 GitHub stars~1.6k tokensUpdated 10 days ago
    Testing & QAAuto-check passed
  • TDD Implement

    FastLED/FastLED

    Implement a feature or fix a bug using strict TDD. An agent skill from FastLED/FastLED.

    7.5k GitHub stars~1k tokensUpdated today
    Testing & QAAuto-check passed

More from aiskillstore/marketplace

All 1,108 skills in this repo
  • Code Stats

    aiskillstore/marketplace

    Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).

    430 GitHub starsUsed in 2 repos~697 tokens
    Auto-check: notes
  • File Search

    aiskillstore/marketplace

    Modern file and content search using fd, ripgrep (rg), and fzf.

    430 GitHub starsUsed in 2 repos~598 tokens
    Auto-check: notes
  • Data Processing

    aiskillstore/marketplace

    Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~720 tokens
    Auto-check: notes
  • Doc Scanner

    aiskillstore/marketplace

    Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.

    430 GitHub starsUsed in 1 repo~644 tokens
    Auto-check: notes
  • Find Replace

    aiskillstore/marketplace

    Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.

    430 GitHub starsUsed in 1 repo~527 tokens
    Auto-check: notes
  • Investigating Codebases

    aiskillstore/marketplace

    Automatically activated when user asks how something works, wants to understand unfamiliar code, needs to explore a new codebase, or asks questions like "where is X implemented?", "how does Y…

    430 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check: notes

Questions about Test Driven Development

What does Test Driven Development do?

Red-green-refactor development methodology requiring verified test coverage. Test Driven Development is an agent skill from aiskillstore/marketplace. Red-green-refactor development methodology requiring verified test coverage.

When should I use Test Driven Development?

Test Driven Development fits situations like: feature implementation; any behavior changes where tests must prove correctness.

How do I install Test Driven Development in Claude Code?

Run `npx skills add aiskillstore/marketplace --skill test-driven-development -a claude-code`. Or copy the skill folder (skills/codingcossack/test-driven-development in aiskillstore/marketplace) into .claude/skills/test-driven-development in your project. Claude Code loads it when a task matches its description.

How do I install Test Driven Development in Codex?

Run `npx skills add aiskillstore/marketplace --skill test-driven-development -a codex`. Or copy the skill folder (skills/codingcossack/test-driven-development in aiskillstore/marketplace) into .agents/skills/test-driven-development in your project. Codex loads it when a task matches its description.

Can I use Test Driven Development in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiskillstore/marketplace --skill test-driven-development -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/test-driven-development, .gemini/skills/test-driven-development, .github/skills/test-driven-development and .opencode/skills/test-driven-development in your project.

What does Test Driven Development need to run?

Going by SKILL.md and its folder, Test Driven Development needs the command-line tools its instructions call (npm).

Does Test Driven Development access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Test Driven Development safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Test Driven Development use?

No licence was found for Test Driven Development or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Test Driven Development use?

About 1.9k tokens (SKILL.md is roughly 7.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.8k tokens, read only when the agent opens those files.

What are the alternatives to Test Driven Development?

Skills that share tags, products or a category with Test Driven Development: Test Guidelines (getsentry/sentry-dart, 873 stars), Characterisation Tests (citypaul/.dotfiles, 739 stars), TDD Refactor Guard (gustavscirulis/snapgrid, 117 stars) and Test Guidelines (getsentry/sentry-react-native, 1.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Test Driven Development?

aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 430 GitHub stars. The repository holds 1,108 skills in this directory. The repository was last updated on October 7, 2026.

Source: aiskillstore/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.