Agent skill

TDD Implement

by FastLED in FastLED/FastLED

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

MITAuto-check passedTesting & QA

Install TDD Implement

skills CLI
$ npx skills add FastLED/FastLED --skill tdd-implement -a claude-code

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

GitHub CLI
$ gh skill install FastLED/FastLED tdd-implement --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/FastLED/FastLED.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/tdd-implement .claude/skills/tdd-implement && 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
tdd-implement
GitHub stars
7.5k
Token cost
~1k tokens
SKILL.md length
358 words
Files
1
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

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

  • Works in 4 steps: Analyze the Requirement → Implement Each Behavior via TDD → Integration Verification → …
  • Feature requests
  • SKILL.md covers Input, Step 1: Analyze the Requirement, Step 2: Implement Each… and Step 3: Integration Verification, plus 2 more sections
  • Calls bash

What it does

TDD Implement is an agent skill from FastLED/FastLED. Implement a feature or fix a bug using strict TDD. Analyzes the requirement, creates tests first, implements minimal code, then refactors. Use for feature requests, bug fixes, or enhancements that need test coverage.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Test-driven development, Refactoring and Test coverage. It works with Bash. The repository describes itself as: The FastLED library for colored LED animation on Arduino. Please direct questions/requests for help to the FastLED Reddit community: http://fastled.io/r We'd like to use github… The licence is MIT.

When your agent uses it

  • Feature requests
  • Enhancements that need test coverage

Example prompts

  • “/tdd-implement”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Analyze the Requirement
  2. Implement Each Behavior via TDD
  3. Integration Verification
  4. Final Summary

What it can do on your machine

Read from SKILL.md and the folder at commit 8d6ed12. 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:

    • bash

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

  • Network

    No URLs in SKILL.md.

    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

TDD Implement loads about 1k tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 358 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~58
When it runs · the whole SKILL.md, loaded when a task matches
~1k

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

The full file from FastLED/FastLED at commit 8d6ed12, republished under its MIT licence (© FastLED). 358 words, ~1,031 tokens.

Download SKILL.mdSave it as .claude/skills/tdd-implement/SKILL.md (or your agent's skills folder).
name
tdd-implement
description
Implement a feature or fix a bug using strict TDD. Analyzes the requirement, creates tests first, implements minimal code, then refactors. Use for feature requests, bug fixes, or enhancements that need test coverage.
argument-hint
<feature request, bug description, or issue reference>
context
fork
agent
test-writer-agent

TDD Implementation — Feature-Driven Test-First Development

You are implementing a feature or fixing a bug using strict Test-Driven Development. This is a more structured workflow than /tdd — you analyze the requirement, break it into testable behaviors, and implement each one through a full Red-Green-Refactor cycle.

Input

$ARGUMENTS

Step 1: Analyze the Requirement

Actions
  1. Read the requirement carefully — identify what behavior needs to change or be added
  2. Find relevant source code: Use Grep/Glob to locate the files that need to change
  3. Read existing tests: Find any existing test coverage for the affected code
  4. Identify testable behaviors: Break the requirement into 1-5 discrete, testable units
Output
## Requirement Analysis

**Requirement**: [one-line summary]
**Source files**: [list of files that will be modified]
**Existing tests**: [list of related test files, or "none found"]
**Testable behaviors**:
1. [behavior 1 — what it does, how to verify]
2. [behavior 2 — what it does, how to verify]
3. [behavior 3 — if needed]

Step 2: Implement Each Behavior via TDD

For EACH testable behavior, execute a full Red-Green-Refactor cycle:

RED: Write Failing Test
  1. Write a minimal test for this specific behavior
  2. Follow all conventions from agents/tests.md:
    • FL_ prefixed macros (FL_CHECK_EQ, FL_REQUIRE_TRUE, etc.)
    • Include test.h and FastLED.h
    • using namespace fl; + anonymous namespace
    • Mirror source path for test file placement
  3. Run bash test TestName — verify it FAILS for the right reason
GREEN: Minimal Implementation
  1. Write the minimum code to make this test pass
  2. Do NOT implement other behaviors yet
  3. Run bash test TestName — verify it PASSES
  4. Run bash test --cpp — verify no regressions
Show full SKILL.md (146 more words)Show less
REFACTOR: Clean Up
  1. Improve code quality without changing behavior
  2. Run tests after each change to verify they stay green
Report Each Cycle
### Behavior N: [description]
- RED: Test written at tests/fl/foo.cpp — FAILS (expected: [reason])
- GREEN: Implemented in src/fl/foo.h — PASSES
- REFACTOR: [changes made, or "clean as-is"]

Step 3: Integration Verification

After all behaviors are implemented:

  1. Run full test suite: bash test --cpp
  2. Check for regressions: Verify ALL tests pass, not just new ones
  3. Review changes holistically: Ensure the implementation is cohesive
  4. Run code review: Check changes against FastLED coding standards
Output
## Integration Verification

**Full test suite**: [X/X] tests pass
**New tests added**: [count]
**Source files modified**: [list]
**Regressions**: None / [details if any]

Step 4: Final Summary

## TDD Implementation Complete

**Requirement**: [what was implemented]
**Approach**: [brief description of the solution]

### Files Changed
| File | Change Type | Description |
|------|-------------|-------------|
| tests/fl/foo.cpp | Added | 3 test cases for [feature] |
| src/fl/foo.h | Modified | Added [function/method] |

### Test Coverage
- [Test case 1]: [what it verifies]
- [Test case 2]: [what it verifies]
- [Test case 3]: [what it verifies]

### All Tests Passing: Yes

Key Rules

  • Test FIRST, implement SECOND — this order is absolute
  • One behavior per cycle — don't batch multiple behaviors
  • Minimal implementation — write the simplest code that passes
  • Run tests at EVERY transition — RED->GREEN->REFACTOR each verified
  • Stay in project root — never cd to subdirectories
  • Use bash test wrapper — never bare python, meson, or ninja
  • Extend existing test files — don't create new ones unless necessary
  • No mocks — use real objects and values

© FastLED, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/tdd-implement of FastLED/FastLED.

Open the folder on GitHubat commit 8d6ed12

Compare with similar skills

TDD Implement 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.

TDD Implement compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
TDD Implement this skillFastLED/FastLED7.5k—~1kAutomated safety check: PassMIT
Test Guidelinesgetsentry/sentry-dart873—~3.1kAutomated safety check: PassMIT
Test Coveragescott-fryxell/brayness124—~1.6kAutomated safety check: PassMIT
Characterisation Testscitypaul/.dotfiles739—~3.6kAutomated safety check: PassCustom licence
TDD Refactor Guardgustavscirulis/snapgrid1171 repos~1.8kAutomated safety check: NotesCustom licence
Test Driven Developmentaiskillstore/marketplace430—~1.9kAutomated safety check: PassNone

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
  • 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 9 days ago
    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 Driven Development

    aiskillstore/marketplace

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

    430 GitHub stars~1.9k tokensUpdated today
    Testing & QAAuto-check passed
  • Refactoring

    citypaul/.dotfiles

    Refactoring assessment and behavior-preserving patterns for code with a passing baseline and proportionate preservation evidence.

    739 GitHub stars~2.9k tokensUpdated 5 days ago
    DevelopmentAuto-check passed

More from FastLED/FastLED

All 23 skills in this repo
  • CI Fix

    FastLED/FastLED

    Scan all CI builds and tests, find failures, fetch error logs, and fix the code.

    7.5k GitHub stars~897 tokensUpdated today
    Auto-check passed
  • Driver Review

    FastLED/FastLED

    Review and implement hardware driver code — DMA safety, interrupt correctness, timing constraints, peripheral register usage, channel drivers, and peripheral mock implementations.

    7.5k GitHub stars~3.1k tokensUpdated today
    Auto-check passed
  • Embedded Debug

    FastLED/FastLED

    Firmware crash analysis, stack trace decoder, and register dump interpreter for ESP32/ARM/AVR platforms.

    7.5k GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Esp32 Log Triage

    FastLED/FastLED

    Parse and classify ESP32 serial log output to identify FastLED-related errors, RMT/I2S/SPI driver faults, timing violations, RTOS issues, and crash signatures.

    7.5k GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Memory Audit

    FastLED/FastLED

    Audit embedded code for stack overflow risks, heap fragmentation, static allocation patterns, and memory leaks.

    7.5k GitHub stars~488 tokensUpdated today
    Auto-check passed
  • Platform Port

    FastLED/FastLED

    Guide porting FastLED to new MCU platforms, including int.h types, clockless drivers, SPI implementations, and platform detection.

    7.5k GitHub stars~580 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about TDD Implement

What does TDD Implement do?

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

When should I use TDD Implement?

TDD Implement fits situations like: feature requests; enhancements that need test coverage.

How do I install TDD Implement in Claude Code?

Run `npx skills add FastLED/FastLED --skill tdd-implement -a claude-code`. Or copy the skill folder (.claude/skills/tdd-implement in FastLED/FastLED) into .claude/skills/tdd-implement in your project. Claude Code loads it when a task matches its description.

How do I install TDD Implement in Codex?

Run `npx skills add FastLED/FastLED --skill tdd-implement -a codex`. Or copy the skill folder (.claude/skills/tdd-implement in FastLED/FastLED) into .agents/skills/tdd-implement in your project. Codex loads it when a task matches its description.

Can I use TDD Implement 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 FastLED/FastLED --skill tdd-implement -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tdd-implement, .gemini/skills/tdd-implement, .github/skills/tdd-implement and .opencode/skills/tdd-implement in your project.

What does TDD Implement need to run?

Going by SKILL.md and its folder, TDD Implement needs the command-line tools its instructions call (bash).

Does TDD Implement access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is TDD Implement 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 TDD Implement use?

TDD Implement is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does TDD Implement use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to TDD Implement?

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

Who maintains TDD Implement?

FastLED (a GitHub organization) maintains it in FastLED/FastLED, which has 7,506 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on October 7, 2026.

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