SkillsReviewed · kevinnft

Test-Driven Development (addyosmani-tdd)

addyosmani-tdd is a testing instruction skill for developers using AI coding assistants, but it provides no test runner or automatic enforcement. It describes writing failing tests before implementation, reproducing bugs with regression tests, designing maintainable tests and checking browser behavior.

Researched 16 Nov 2026

In short.

addyosmani-tdd is a test-first development skill for developers using AI coding assistants, but users must supply the testing tools and verify that the assistant follows its guidance. The captured version in kevinnft/ai-agent-skills attributes its source to addyosmani/agent-skills. It combines failing-test-first development, bug reproduction, test design principles and browser inspection through Chrome DevTools MCP. Its examples need adaptation to a real project, and referenced companion material is absent from the supplied files. No tests or browser sessions were run; compatibility and effectiveness are unknown.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is limited to skills/addyosmani/test-driven-development at revision a0c9d49124849ba3de5d87b197c675c0176d7d04, whose supplied complete-scope manifest contains SKILL.md only, plus the root LICENSE and NOTICE outside that folder. Other repository skills, tooling and documentation are excluded. The referenced references/testing-patterns.md and browser-testing-with-devtools material are not supplied. No separately captured upstream version is available. No installation, code execution, tests, browser integration or assistant compliance was assessed.

The overview

Identity

The resource is the SKILL.md instruction file in skills/addyosmani/test-driven-development within kevinnft/ai-agent-skills. Its declared skill name is addyosmani-tdd. The captured file is available at [https://raw.githubusercontent.com/kevinnft/ai-agent-skills/a0c9d49124849ba3de5d87b197c675c0176d7d04/skills/addyosmani/test-driven-development/SKILL.md].

Its metadata identifies [https://github.com/addyosmani/agent-skills] as the upstream source and marks the file as aggregated. The repository NOTICE says the named upstream authors are not affiliated with this aggregation, have not endorsed it and do not maintain it. This copy should therefore be understood as an aggregated version attributed to that upstream project.

Assessment

The skill is a useful candidate for developers who want an assistant to demonstrate a behavioral change with tests before implementing it. Its clearest application is bug fixing: reproduce the reported failure, confirm the test fails, implement the fix and check for regressions.

The document supplies concrete guidance, but no evidence establishes that loading it improves an assistant's compliance, defect rate or development speed. Its claims about tests proving correctness should be read narrowly: passing tests establish only the behavior exercised by their assertions.

Users

The intended audience is developers using coding agents to add logic, change behavior, handle edge cases or fix bugs. Beginners receive a structured sequence and worked examples, although they still need enough knowledge to recognize an incorrect test or a failure caused by setup problems.

Experienced developers may find its guidance on test boundaries, readable fixtures, limited mocking and browser verification useful when supervising an assistant. The document excludes documentation, static content and pure configuration changes that have no behavioral impact.

Capabilities

The instructions cover the red–green–refactor cycle: write a failing test, add enough implementation to pass it and improve the code while preserving behavior. For bugs, they add a reproduction test and a subsequent full-suite regression check.

Test design guidance favors observable outcomes, independently readable tests, descriptive names, explicit setup and assertions, and real implementations where practical. It distinguishes unit, integration and end-to-end tests, and classifies test sizes by process, network and external-service requirements. The suggested 80/15/5 distribution across testing levels is guidance, not a measured result or universal requirement.

For browser work, the skill describes inspecting the page structure, console, network, styles, performance and screenshots through Chrome DevTools MCP. It also suggests an independent subagent write reproduction tests for complex bugs when the assistant supports delegation. These are instructions for external tools and agents, not capabilities implemented by this file.

Using it

Requirements

Applying the skill requires an assistant that can receive its instructions and a project with suitable test tools, dependencies and an environment in which tests can run. The supplied material does not identify supported assistant products, minimum versions, operating systems or required test frameworks.

Examples use TypeScript-style code and refer to project-specific objects such as taskService and db. These dependencies are not supplied as a working application. Browser verification additionally depends on a separately configured Chrome DevTools MCP connection; the optional independent-test approach requires subagent support.

Mechanism

The resource works by giving an assistant written development instructions. It contains descriptive metadata, examples, decision guides, anti-patterns and a completion checklist. The captured folder contains no executable mechanism that forces an assistant to obey them.

Its central control is observing a meaningful failure before changing implementation. That observation helps distinguish a test that detects the bug from one that merely passes after a change. The document also discourages repeating an unchanged test command after a clean run, while requiring another run after changes that could affect the result.

Setup

For adoption, obtain the captured SKILL.md and use the chosen assistant's documented method for loading skills or project instructions. The supplied file does not establish an installation command, destination directory or activation procedure for any particular assistant.

Identify the project's actual test command before applying the checklist. The document mentions npm test, which is applicable only when the project defines that command. Browser inspection needs separate DevTools MCP setup. The referenced browser-testing-with-devtools resource and references/testing-patterns.md are not included in the supplied files, so their setup guidance is unknown.

Example

The bug-fix example concerns completing a task without recording its completion time. Its illustrative test creates a task, calls completeTask and checks that the resulting status is completed and completedAt is a Date. The intended first observation is a failure because the timestamp is absent.

The example then adds completedAt: new Date() to the database update, checks the reproduction test and calls for the full test suite. This demonstrates the proposed sequence; it is not a working project supplied with the skill, and none of these steps was executed.

Assessment & evidence

Limitations

The skill cannot establish that requirements are complete, tests cover the important cases or an assistant actually executed a command. A failing test must be inspected to confirm that it fails for the intended behavioral reason, rather than a missing dependency or another setup error.

The examples require adaptation. They include an asynchronous createTask implementation and separate validation examples using synchronous exception assertions; the appropriate assertion depends on whether the real function throws immediately or rejects a promise. The supplied snippets should not be assumed to form one consistent, runnable application.

The document's broad dismissal of tests that pass on their first run is stronger than its bug-reproduction rationale supports. An already passing test can still document existing behavior. Browser integration, companion references, compatibility and practical results remain unassessed.

Reasoning

The proposed benefit follows from making expected behavior explicit before implementation and retaining a regression test after a bug fix. Outcome-based assertions can also make refactoring easier because they depend less on internal call sequences. These are reasoned benefits of the described approach, not measured outcomes for this skill.

The preference for many small tests and fewer expensive end-to-end checks reflects a tradeoff between feedback speed and realistic integration coverage. Its browser guidance addresses behavior that isolated unit tests may miss. Whether those choices suit a particular project depends on its architecture and failure risks.

Alternatives

Because the resource consists of written guidance, a developer could apply the same test-first sequence directly with an existing test runner without installing an agent skill. This is an adoption option inferred from the file's format; no comparative evaluation is supplied.

For changes without behavioral impact, the skill itself advises leaving TDD out. For browser behavior, it identifies runtime inspection as a complementary approach and points to browser-testing-with-devtools. That companion's contents are unavailable here, and no comparison with other testing skills or tools is established.

Evidence

The supplied evidence contains the full selected SKILL.md, the repository LICENSE and the repository NOTICE. The selected file's recorded SHA-256 is 03245660cf6f958f3b81477100347b8eb8220cc90fb847364b9d9b128096bedf. The manifest identifies SKILL.md as the only captured file inside the selected folder.

The upstream repository is identified through the selected file's metadata and NOTICE. No separately acquired upstream file is supplied, so equivalence to a specific upstream revision is unknown. The evidence establishes the contents and declared provenance of this aggregated copy; it supplies no execution results, benchmark data or compatibility results.

Access & freshness

Costs

No price, subscription, token usage, execution cost or measured time saving is supplied. The MIT license permits use and redistribution, but does not establish the cost of the assistant, test infrastructure or browser integration used with the skill.

Total operating cost is unknown. It will depend on the chosen assistant and the project's testing environment; the evidence supports no numerical estimate.

Rights

The repository LICENSE grants MIT permissions to use, copy, modify, distribute, sublicense and sell the covered material, provided its copyright and permission notice accompany copies or substantial portions. It also disclaims warranties. The selected file declares an MIT upstream license, and NOTICE lists addyosmani/agent-skills as an MIT source.

Preserve the selected file's upstream attribution together with LICENSE and NOTICE when redistributing this captured copy. The supplied evidence contains the aggregator's license and attribution statements, but no separately captured upstream license file or upstream revision. Independent confirmation of the upstream licensing record is therefore unavailable.

Freshness

The supplied snapshot was captured at 2026-11-16T20:09:02.437Z from kevinnft/ai-agent-skills revision a0c9d49124849ba3de5d87b197c675c0176d7d04. This identifies the analyzed content without relying on the moving main branch.

The capture date does not establish the skill's last substantive update. No release number, upstream commit, maintenance history or evidence of subsequent changes is supplied. Current compatibility and alignment with the latest upstream version are unknown.

Actions

Before adoption, confirm how your assistant loads the file and which test command belongs to your project. Read the examples as patterns to adapt, including checking asynchronous assertions against the actual API.

A practical first use is one well-defined bug: specify the expected outcome, confirm that a reproduction test fails for that reason, make the smallest suitable fix and run the relevant regression checks. For browser behavior, arrange runtime inspection as well. Judge the result from actual command output and observed behavior, not an assistant's assertion that testing occurred.

Evidence for this report

LICENSEnotice · checked 2026-11-16
NOTICEnotice · checked 2026-11-16