Testing & Debugging

test-driven-development

Verdict: Measured: it did not beat having no skill.

Drives changes with tests in a red, green, refactor loop.

  • What it does: Makes the agent work test-first with a red, green, refactor loop, reproduce bugs with a failing test before fixing, and follow a test-pyramid approach.
  • Use it when: Implementing logic, changing behavior, or fixing a bug in code with tests.
  • By Addy Osmani (publisher not verified)
  • Licence: MIT
  • Updated 2026-11-13
  • No install check yet

Published by Addy Osmani in addyosmani/agent-skills, read at commit 8c99fa36d9. Skill Almanac is not affiliated with Addy Osmani: the name is used only to say who published the package, and a listing is not an endorsement.

Platform Score

Static score 40/100, not earned: no measured benefit

Scored · Method v0.2 · How we score

Measured: it did not beat having no skill. Efficacy earned 2.5 of 35 points. How we tested it · Download the run records (JSON)

Published: the task count, pass rates with and without the skill and the interval (see evidence details), and the per-task, per-run records with the blind grader’s reasons (JSON download). Not published: the executor outputs and grading folders, so a third party cannot yet re-run the comparison from this page.

Our assessment, method v0.2, scored 2026-11-24. See the breakdown

User Score

No reviews yet

A future average requires 5 installation-verified reviews; verification is not available yet. Read reviews

What it does

Makes the agent work test-first with a red, green, refactor loop, reproduce bugs with a failing test before fixing, and follow a test-pyramid approach. It begins by detecting the project's test stack.

When to use it

Implementing logic, changing behavior, or fixing a bug in code with tests.

When not to use it

Pure configuration, styling, or throwaway prototypes.

Summary not yet reviewed by an editor.

Install

To use these commands, you need Git and a computer running Claude Code. They copy the skill into your Claude Code skills folder (use .claude/skills inside a project for project-only installation). Check the package requirements for any extra runtime, such as Python or Node.js, before running its scripts.

Skill Almanac is free to browse. Your AI tool or model provider may charge for a subscription or usage; see Claude Code costs.

Source version: 8c99fa36d90068c82d547f7c12a9d67a3e95f4ee (pinned commit).

macOS and Linux (Terminal)

git clone --depth 1 --filter=blob:none --sparse --no-checkout https://github.com/addyosmani/agent-skills.git &&
cd agent-skills &&
git fetch --depth 1 origin 8c99fa36d90068c82d547f7c12a9d67a3e95f4ee &&
git checkout --detach FETCH_HEAD &&
git sparse-checkout set -- skills/test-driven-development &&
test -f skills/test-driven-development/SKILL.md &&
mkdir -p ~/.claude/skills &&
if [ -e ~/.claude/skills/test-driven-development ]; then printf '%s\n' 'Already installed: review the existing folder before updating.' >&2; false; else cp -r ./skills/test-driven-development ~/.claude/skills/; fi

Windows (PowerShell)

git clone --depth 1 --filter=blob:none --sparse --no-checkout https://github.com/addyosmani/agent-skills.git
if ($LASTEXITCODE -ne 0) { throw 'Git command failed; no skill was installed.' }
Set-Location -LiteralPath 'agent-skills' -ErrorAction Stop
git fetch --depth 1 origin 8c99fa36d90068c82d547f7c12a9d67a3e95f4ee
if ($LASTEXITCODE -ne 0) { throw 'Git command failed; no skill was installed.' }
git checkout --detach FETCH_HEAD
if ($LASTEXITCODE -ne 0) { throw 'Git command failed; no skill was installed.' }
git sparse-checkout set -- skills/test-driven-development
if ($LASTEXITCODE -ne 0) { throw 'Git command failed; no skill was installed.' }
if (-not (Test-Path -LiteralPath 'skills/test-driven-development/SKILL.md' -PathType Leaf)) { throw 'The selected version does not contain this skill.' }
$skillDestination = Join-Path $HOME '.claude/skills/test-driven-development'
if (Test-Path -LiteralPath $skillDestination) { throw 'Already installed: review the existing folder before updating.' }
New-Item -ItemType Directory -Force -Path (Split-Path -Parent $skillDestination) -ErrorAction Stop | Out-Null
Copy-Item -LiteralPath 'skills/test-driven-development' -Destination $skillDestination -Recurse -ErrorAction Stop

These commands avoid replacing an existing skill. Required tools and scripts may differ by operating system; check this skill’s dependencies before running it. For platform steps and the scope of our tests, see the installation guide. For another agent, use the Codex skills guide, Cursor skills guide, or Gemini CLI tool page, together with the package README. Read the source before you install.

Source: addyosmani/agent-skills on GitHub

We have not run an install test of this skill on any tool.

Platform Score

40 out of 100

Merit 44.5 × safety factor 0.90 = 40. Grade D.

Scored
2026-11-24
Method
Version 0.2. How this is calculated
Evaluated by
Skill Almanac static rules v0 plus a measured with/without run (claude-haiku-5-5 executing, claude-sonnet-5-5 grading blind) and a model judge for Q2, Q3, Q6 and T3 (claude-sonnet-5-5). No human review. Everything else that cannot be checked earns nothing and is listed under Not tested.
Score breakdown: seven dimensions, safety factor and rubric items

Merit: seven dimensions

  • Efficacy
    Efficacy: NO_LIFT (measured, 2026-11-24). The skill did not beat the baseline reliably, so the comparison earns no credit; only the static proxy counts.
    2.5 / 35
  • Instruction quality
    Actionable steps, specific knowledge, examples, verification.
    16.9 / 25
  • Trigger precision
    Scored from the description only: at most 10 of 12 without a trigger test.
    7.5 / 12
  • Portability
    Works across tools without vendor-only features.
    7 / 8
  • Maintenance
    Recent commits, history depth, an active repository.
    3.4 / 8
  • Licence and provenance
    A clear licence and an original source.
    3.6 / 6
  • Token cost
    How much context the skill uses.
    3.6 / 6

Safety factor: file review

Security 20 of 25 points gives a safety factor of 0.90. Security does not add points; it multiplies merit, so a risky skill loses up to half its score.

ItemPointsWhat we found
S2 Remote code execution surface6 / 6No download-and-run, dynamic execution or unpinned install was found. (own-rules 0.1.0, text rules only.)
S4 Secrets and credentials4 / 4No credential use or secret pattern was found. (own-rules 0.1.0, text rules only.)
S5 Data egress and telemetry4 / 4No exfiltration or network command was found. (own-rules 0.1.0, text rules only.)
S6 Agent-behaviour integrity3 / 3No steering phrase or hidden text was found. Self-promotion is not judged by the rules. (own-rules 0.1.0, text rules only.)
S7 Bundled executable hygiene3 / 3No executable scripts are bundled. (own-rules 0.1.0, text rules only.)

Not tested

  • Efficacy: measured on 12 tasks (12 paired runs) by one model family (claude-haiku-5-5 executing, claude-sonnet-5-5 grading); no human grader and no third-party reproduction (Ec).
  • Trigger precision: description rubric plus a model judge for T3 (claude-sonnet-5-5, 2026-11-24). No trigger test was run.
  • Instruction quality: Q2, Q3 and Q6 scored by a model judge (claude-sonnet-5-5, 2026-11-24), not by a human; Q4 and Q7 get half credit.
  • Security: only our own text rules were run. S3 (instruction indirection) has no detector. No external scanner, no runtime behaviour check.
  • Portability: P4 (multi-agent support) was not tested on any other tool.
  • Maintenance: only the date of the last commit is scored; history depth (M2) and publisher verification (M3) earn nothing.

What would raise this score

  • A third-party reproduction of the measured run (Ec) would add independent evidence. (up to +32.5 points)
  • A human review of the judged items (Q2, Q3, Q6) would firm up the instruction-quality score. (up to +8.1 points)
  • An external scanner and an instruction-indirection check would measure the remaining security points. (up to +4.4 points)

This score is our assessment under a published method. It is not a guarantee of safety or fitness. To dispute this score, use the corrections page; we reply within 10 business days.

Evidence and rubric details (for reviewers)

Evidence and provenance

Published by Addy Osmani in addyosmani/agent-skills. Read from a clone; not written or edited by Skill Almanac. Human review: not done yet. Source: addyosmani/agent-skills@8c99fa36d9/skills/test-driven-development (public repository).

Efficacy: NO_LIFT (measured)

. 12 tasks, 12 paired runs with and without the skill. Pass-rate difference +1.4 points (standard error 1.4, 95% CI -1.7 to +4.4, clustered by task). Blind preference: with skill 0, other outcome (baseline or tie) 12. Assertions passed: 72 of 73 with the skill, 71 of 73 without.

Read with care: Measured on 2026-11-24: claude-haiku-5-5 executed every run, claude-sonnet-5-5 graded blind. Both are AI models from one family; there is no human grader and no third-party reproduction. Procedure v2: held-out tasks, each pair graded in both A/B orders. With 12 tasks the smallest difference reliably detected is about 18 points. The interval is the honest range; it does not support a claim of improvement on every model or task.

Record: efficacy_runs/results_measured/addyosmani--test-driven-development.json (third-party package measured by Skill Almanac, addyosmani/agent-skills@8c99fa36d9)

Static lint and own-rules scan · PASS

. Agent Skills spec lint passed (0 failures, 0 warnings). Own-rules security scan: 0 findings.

Read with care: Text rules only. Nothing was installed or run. Not a security certification. Findings are recorded as open and have not been triaged.

Details
  • Eb Deterministic helper or verify step: 2.5/5. A check step in the workflow only (half credit).
  • T1 Says what the skill does: 1/1. Description of at least 30 characters.
  • T2 Says when to use it: 2/2. A "use when" statement is present.
  • T3 Specific trigger terms: 1.5/2. Judge (claude-sonnet-5-5, 2026-11-24): The description covers implementing logic, fixing bugs, changing behaviour, adding tests and inline pasted code, but omits everyday phrasings such as unit test, regression test, pytest or TDD, and its wide 'any logic' wording invites over-triggering on trivial edits.
  • T4 Within spec length: 1/1. 563 characters.
  • T5 Distinct, not over-broad: 1/1. Checked for over-broad wording by pattern.
  • T6 No coercive wording: 1/1. Checked for coercive wording by pattern.
  • Q1 Valid per the Agent Skills spec: 2/2. No hard lint rule failed.
  • Q2 Actionable workflow: 3/4. Judge (claude-sonnet-5-5, 2026-11-24): A clear red-green-refactor loop, a separate reproduce-first path for bug reports, a discover-the-stack step and a closing checklist, but no fixed report format and little on how to proceed when the request is vague or the change is not clearly testable.
  • Q3 Specific non-obvious knowledge: 3.5/4. Judge (claude-sonnet-5-5, 2026-11-24): Gives concrete working rules such as an 80/15/5 pyramid split, three test-size classes, an ordered preference from real code down to mocks, state-over-interaction and descriptive-over-DRY guidance and an anti-pattern table, though the code samples are TypeScript-only.
  • Q4 Concrete examples: 1/2. Code blocks or an example heading exist (half credit: quality not judged).
  • Q5 Progressive disclosure: 2/2. Body is 397 lines.
  • Q6 Verification and failure handling: 2/3. Judge (claude-sonnet-5-5, 2026-11-24): Handles non-npm repositories, config and docs-only changes, crash or rollback behaviour needing a real boundary, browser-only changes and pointless repeated test runs, but says nothing on code with no existing tests, an unreproducible bug, or a request that only asks to look and report.
  • P1 Frontmatter: 2/2. Open-spec fields only.
  • P2 Agent-specific tools in the body: 3/3. None named.
  • P3 Runtime dependencies: 2/2. None, or standard library only.
  • P4 Multi-agent support: 0/1. Not measured: no cross-tool run exists.
  • M1 Recent change: 3/3. Last commit touching the package: 2026-11-24 (addyosmani/agent-skills).
  • L1 Licence: 2/3. MIT (no LICENSE file).
  • L2 Provenance: 1/2. Read from the public repository addyosmani/agent-skills; publisher not verified by the claim flow.
  • K1 Always-loaded metadata: 1/1. 563 description characters.
  • K2 Activation cost: 2/3. About 4036 body tokens (characters / 4).

Record: addyosmani/agent-skills@8c99fa36d9/skills/test-driven-development/SKILL.md

Authoring record

. Published by Addy Osmani in the public repository addyosmani/agent-skills. Read at commit 8c99fa36d9 (2026-11-18); the package's last commit is dated 2026-11-13. Efficacy credit comes only from the measured with/without comparison Skill Almanac ran on this package (see the measured record). Judge credit: Q2, Q3, Q6 and T3 were scored by a model judge (claude-sonnet-5-5, 2026-11-24), not by a person. The package was run only inside that comparison, and the publisher is not verified by our claim flow. Skill Almanac is not affiliated with Addy Osmani; the name is used only to say who published the package.

Read with care: The summary on this page is ours, written by an AI model from reading the package, and has not yet been reviewed by a person. The publisher is not verified by our claim flow. Listing a package says who published it and where it comes from; it is not an endorsement, there is no affiliation, and it does not raise the score.

Record: https://github.com/addyosmani/agent-skills/tree/8c99fa36d90068c82d547f7c12a9d67a3e95f4ee/skills/test-driven-development

Full evaluation

Written from the measured runs (claude-haiku-5-5 executing, claude-sonnet-5-5 grading) and checked against the result file. An AI evaluation, not a human review. Record: efficacy_runs/results_measured/addyosmani--test-driven-development.review.md

What was tested

This is a third-party skill (addyosmani/agent-skills, test-driven-development, MIT). Skill Almanac is not affiliated with its publisher and did not edit the package. The skill steers an agent to write a failing test first, then make the change, and to reproduce a bug with a test before fixing it.

Twelve held-out tasks were each run once with the skill and once without it (baseline) under procedure measured-v2. The stage-1 gate did not show a clear lift, so stage 2 (six more tasks) was added and the 12-task result is reported. The task is the unit. The tasks were written by us from the skill's public description and common search intents, not from the skill text. They cover small Python and Node jobs: add a max-length option to a slug function, fix an off-by-one discount boundary, write tests for a duration parser, add page info, rename a function, report an odd low-stock result, add a roman-numeral parser, fix a moving average, test a word counter, fix cents formatting, add type hints, and add date formats. Two tasks are deliberate near-misses outside the skill's scope (rename-and-explain, add type hints) and two are ambiguous (low-stock, date formats).

The executor was claude-haiku-5-5. The grader was claude-sonnet-5-5; it saw anonymous X/Y labels and judged each pair in both orders. An Opus (claude-opus-5-5) second grader re-graded a sample of tasks. Each task had one run per arm.

Caveats from the run notes:

  • TASK.md was withheld from graders because the with-skill copy names the skill.
  • Isolation was by working folder only, not a sandbox, and the with-skill arm had the unmodified skill folder available to read.
  • Script assertions were judged by reading output files and by graders' own small checks, not a shared harness, and graders did not run helper scripts named in the assertions.
  • Test-first order cannot be verified from the final files, so process claims rest on the reply and the files only.
  • Two Node tasks need node on PATH.

How it performed

With the skill 72 of 73 assertions passed; without it 71 of 73. The pass-rate delta was +0.014 (with 0.986, baseline 0.972) with a 95% CI of -0.017 to +0.044, which includes zero. Pairs where every assertion passed: 11 of 12 with the skill and 10 of 12 without (pass-all 0.917 against 0.833). The win score was 0.5 (CI 0.5 to 0.5), because every one of the 12 pairs ended as a tie after both orders were combined. Four of 12 pairs had inconsistent order preferences. Ten of 12 tasks were saturated (both arms at or near full marks), and the minimum detectable effect (0.176) is far larger than the delta. The record verdict is LIFT_UNCONFIRMED.

Executor token use was 222,066 with the skill against 122,395 without, about 1.8 times as much, in this one-run-per-arm design.

Per-task results from the grading files and sealed keys:

  • v2-t1-slugify-max-length: 7/7 each. One order tied; the other preferred the with-skill run, which returned an empty slug for a zero limit and had broader tests, while the baseline raised an error.
  • v2-t2-bulk-discount-boundary: 6/6 each, tie in both orders. Same one-token fix and an equivalent boundary test.
  • v2-t3-tests-for-parse-duration: 5/6 each, tie in both orders. Both suites killed all four mutants; both missed one expected value (5405 seconds) that the task text never mentions.
  • v2-t4-node-page-info: 5/5 each, tie in both orders. The baseline floored fractional page numbers and said so; the with-skill reply was longer.
  • v2-t5-rename-and-explain-near-miss: 6/6 each, tie in both orders. Identical rename.
  • v2-t6-low-stock-looks-off-ambiguous: with skill 6/6, baseline 5/6 on the script check. Orders disagreed (see weaknesses).
  • v2-t7-from-roman, v2-t8-moving-average-missing-window, v2-t9-tests-for-top-words, v2-t10-node-format-cents: all full marks for both arms and ties in both orders, with near-identical fixes or suites.
  • v2-t11-add-type-hints-near-miss: 6/6 each. One order preferred the baseline for a shorter reply with less process talk; the other tied.
  • v2-t12-more-date-formats-ambiguous: 7/7 each. Orders disagreed (see weaknesses).

Strengths

  • No task was harmed: the harmed-task list in the results is empty, and the with-skill arm never dropped below baseline on assertions.
  • The with-skill arm was the only one to pass the script check on the ambiguous low-stock task. It made a one-character fix at the boundary, added a regression test and flagged the alternative reading.
  • On slugify the with-skill arm treated a zero limit as an empty result and wrote a wider set of tests (12 test methods against 10), including a sweep over many limit values.
  • On the date-format task the with-skill arm produced 18 tests against 9 and, in one order's grading, accepted more of the requested formats (including a dotted day-first date), while still raising an error for the slash-separated ambiguous form and documenting that rule.
  • Test suites were strong on both arms where the task asked for tests (parse-duration, top-words): both killed every seeded mutant, so the skill did not make a measurable difference there.

Weaknesses and failure cases

  • There is no demonstrated lift. The delta is +0.014 with an interval around zero, every pair is a combined tie, and ten tasks were saturated, so these tasks mostly could not separate the arms. Haiku wrote tests and passing code without the skill too.
  • v2-t6 (ambiguous low-stock): the request was only to look and report. Order A preferred the with-skill run for fixing minimally with a test; order B preferred the baseline because the with-skill run changed behaviour and tests without being asked. The baseline left the code alone but failed the literal question-mark rule by asking only as a statement. The with-skill run acted on an ambiguous request instead of only reporting.
  • v2-t12 (date formats): order A preferred the with-skill run for breadth and test count; order B preferred the baseline because the with-skill run guessed day-first for dotted dates while rejecting ambiguous slashed ones. The same behaviour was read as a gain and as a guess.
  • v2-t11 (near-miss): the with-skill reply talked more about process, and one order preferred the baseline for brevity. Graders noted this assertion is subjective.
  • Cost: the with-skill arm used about 1.8 times the executor tokens, with no measured gain in these tasks.
  • Graders called several script assertions weak or trivially passed, and some could not check the original files, so detection of the original bug was inferred from the task text in places.

When to use it and when not to

Use it when you want a repeatable habit of a failing test before a fix, a reproduction test attached to every bug report, and a final checklist, especially on a team that wants tests added to every change. In these runs it did produce wider test sets in two tasks and a regression test in the boundary-bug case.

Do not expect it to improve small, well-specified fixes or test-writing requests from a capable model; those tied here. Be careful with requests that only ask to inspect or report, because it can lead the agent to edit code and tests anyway. For rename, annotation or other near-miss edits it adds length without benefit. It also costs more tokens.

Judge findings

A judge scored the SKILL.md. Procedure (Q2) 3 of 4: a clear red-green-refactor loop, a reproduce-first bug path, stack discovery and a closing checklist, but no fixed report and little for vague requests. Domain specificity (Q3) 3.5 of 4: concrete pyramid ratios, test sizes, a preference order for test doubles and an anti-pattern table, with TypeScript-only samples. Edge cases (Q6) 2 of 3: covers non-npm repositories, config-only changes, crash and rollback boundaries and repeated runs, but not untested legacy code, unreproducible bugs or report-only requests. Trigger wording (T3) 1.5 of 2: covers logic, bugs, behaviour changes and inline code but omits terms like unit test, pytest or TDD, and its wide wording can over-trigger.

Verdict

The record verdict is LIFT_UNCONFIRMED. The pooled delta is +0.014 (CI -0.017 to +0.044, win score 0.5), no task was harmed, and ten of twelve tasks were saturated, so the evidence shows no measurable difference rather than a proven gain or loss. Limits: one run per arm per task, a single executor model family that also had a same-family grader, a sample-only Opus second grading, no human grading, and tasks that were mostly too easy to separate the arms.

The published verdict is whatever the catalogue importer states for this skill; this review reports the measured evidence.

User Score

No reviews yet. A User Score is planned to use only reviews from people with a verified install. Installation verification is not available yet. An average requires 5 verified reviews.

Examples

No before-and-after examples yet. They are added from our evaluation runs.

Limits and known failures

  • Guidance only, no scripts
  • Opinionated process with rationalization and red-flag lists

Security

ScannerVersionDateResult
own-rules0.1.02026-11-13No issues found

A scan is not a guarantee. Read what a skill does before you install it.

Reviews

No reviews yet.

Write a review

Rating
How did it go?
More details (optional)

Listed as “Not verified” until installs can be verified. No star average is shown. Posts are moderated. Review guidelines

Questions and answers

No questions yet.

Ask a question

Posts are moderated. Review guidelines

Discussion

Recommended by 0 people. A recommendation is not a rating and is not part of either score.

Comments (0)

No comments yet.

Add a comment

Posts are moderated. Review guidelines

Versions

No version history yet. It starts when we begin tracking this repository.

Licence

MIT

MIT, read from the licence of the addyosmani/agent-skills repository (the package has no licence file of its own). We link to the source and keep no copy of its content.

Publisher

Name
Addy Osmani
Verification
Not verified. Nobody has claimed this listing yet.
Profile
GitHub profile

Similar skills

Category: Testing & Debugging (assignment not yet confirmed by an editor)

Learn: How to install a Claude Code skill: personal, project and plugin routes

Common questions

What is the Platform Score of test-driven-development?

40 out of 100 under method v0.2, scored on 2026-11-24.

Has test-driven-development been tested for effectiveness?

Yes. Efficacy was measured by running tasks with and without the skill.

Which tools has the install been checked on?

None yet.

What licence does it use?

MIT, read from the licence of the addyosmani/agent-skills repository (the package has no licence file of its own). We link to the source and keep no copy of its content.

When was this page last updated?

2026-11-13.

Cite this entry

Skill Almanac. test-driven-development. Updated 2026-11-13. Platform Score 40/100 (rated, method v0.2), scored 2026-11-24. https://skillalmanac.com/skills/addyosmani/test-driven-development

This citation identifies our entry and assessment. The original skill belongs to its publisher.

SKILL.md

The skill text is not mirrored here. Read it in the source repository.

Report or claim this listing

Report a problem with this listing (malicious content, wrong licence, impersonation, copyright). Publishers can add their own skills through Submit a skill; claiming an existing listing is not available yet.

Index status: not offered to search engines yet. Markdown version of this page

Why this page is not offered to search engines yet
  • This page is not in the first set of pages offered to search engines.
  • No editor-reviewed summary within 90 days (ODB-8).
  • Only 0 of the optional original data blocks are present; 2 are needed (install test, demo, user score, version history, usage data).

What to do next