Agent skill

054 Design TDD

by jabrena in jabrena/plinth

A skill your agent uses when Java implementation work should be guided by Test-Driven Development, including maintaining a test list, choosing the next behavior, writing a failing test first…

Apache-2.0Auto-check passedTesting & QA

Install 054 Design TDD

skills CLI
$ npx skills add jabrena/plinth --skill 054-design-tdd -a claude-code

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

GitHub CLI
$ gh skill install jabrena/plinth 054-design-tdd --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/jabrena/plinth.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/054-design-tdd .claude/skills/054-design-tdd && 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
054-design-tdd
GitHub stars
447
Token cost
~976 tokens
SKILL.md length
468 words
Files
2 (incl. references)
Skills in repo
124
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when Java implementation work should be guided by Test-Driven Development, including maintaining a test list, choosing the next behavior, writing a failing test first…

  • Java implementation work should be guided by Test-Driven Development
  • SKILL.md covers Constraints, When to use this skill, Workflow and Reference
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Including maintaining a test list

What it does

054 Design TDD is an agent skill from jabrena/plinth. Use when Java implementation work should be guided by Test-Driven Development, including maintaining a test list, choosing the next behavior, writing a failing test first, implementing only enough production code to pass, and refactoring while keeping tests green. This should trigger for requests such as Apply TDD; Use test-driven development; Drive this Java change with tests; Write the failing test first; Red-green-refactor this feature. Part of Plinth Toolkit

Its SKILL.md is about 980 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/054-design-tdd.md`).

It sits in Testing & QA, covering Test-driven development. It works with Java. The repository describes itself as: Plinth is an AI-native engineering toolkit for modern Java enterprise SDLC, built around reusable Commands, Agents, Skills, and MCP Servers. The licence is Apache-2.0.

When your agent uses it

  • Java implementation work should be guided by Test-Driven Development
  • Including maintaining a test list
  • Choosing the next behavior
  • Writing a failing test first

Example prompts

  • “/054-design-tdd”

What it can do on your machine

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

    No scripts in the folder and no shell commands in SKILL.md.

    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

054 Design TDD loads about 976 tokens when it runs, and up to ~3.2k if it reads all its reference files. Until then it costs about 120 tokens; SKILL.md has 468 words of instructions outside code blocks.

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

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 jabrena/plinth at commit dca88dc, republished under its Apache-2.0 licence (© jabrena). 468 words, ~976 tokens.

Download SKILL.mdSave it as .claude/skills/054-design-tdd/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
054-design-tdd
description
Use when Java implementation work should be guided by Test-Driven Development, including maintaining a test list, choosing the next behavior, writing a failing test first, implementing only enough production code to pass, and refactoring while keeping tests green. This should trigger for requests such as Apply TDD; Use test-driven development; Drive this Java change with tests; Write the failing test first; Red-green-refactor this feature. Part of Plinth Toolkit
license
Apache-2.0
metadata.author
Juan Antonio Breña Moral
metadata.version
0.19.0

Test-Driven Development Design

Guide Java developers through Test-Driven Development for implementation work. This is an interactive SKILL.

What is covered in this Skill?

  • Maintaining or refining a list of candidate test cases
  • Selecting the next useful behavior or test case before editing production code
  • Writing a failing test first to clarify the public interface, API shape, or usage of the code
  • Writing only enough functional production code to pass the selected test
  • Refactoring new and existing code while tests remain green
  • Adding newly discovered test cases to the list without losing the current TDD cycle
  • Reporting skipped checks, missing tests, and remaining risks when verification is incomplete

Constraints

Keep implementation work inside the red-green-refactor cycle, with one selected behavior driving each small change.

  • MUST read references/054-design-tdd.md before applying TDD guidance
  • MUST maintain or refine a test list when more than one behavior, edge case, or question is in scope
  • MUST select the next useful behavior or test case before writing production code
  • MUST write or describe the failing test first and use it to clarify the public interface or usage
  • MUST implement only the functional production code needed to pass the selected failing test
  • MUST refactor new and existing code only after the selected test passes and while keeping tests green
  • MUST report skipped checks, missing tests, and remaining risks when verification is incomplete

When to use this skill

  • Apply TDD
  • Use test-driven development
  • Drive this Java change with tests
  • Write the failing test first
  • Red-green-refactor this feature
  • Build this behavior test first
Show full SKILL.md (215 more words)Show less

Workflow

  1. Build the Test List

Read references/054-design-tdd.md, then list candidate behaviors, edge cases, error paths, integration boundaries, and design questions that may need tests. Add newly discovered cases to the list as work proceeds.

  1. Select the Next Behavior

Choose the next useful test case: small enough to implement in one cycle, valuable enough to move the design forward, and specific enough to expose the expected observable outcome.

  1. Write the Failing Test First

Write or describe the failing unit, integration, acceptance, or characterization test before production code. Use the test to clarify the public interface, API shape, inputs, outputs, errors, or usage of the code.

  1. Make the Test Pass

Implement the smallest functional production code needed to pass the selected test. Avoid speculative branches, abstractions, framework wiring, or cleanup that is not required by the current failing test.

  1. Refactor While Green

After the selected test passes, refactor new and existing code to improve names, duplication, responsibility placement, type design, and test clarity while keeping the relevant tests green.

  1. Report and Continue

Report the selected behavior, failing-test-first signal, code added to pass, refactoring performed, verification results, skipped checks, missing tests, and remaining risks. Return to the test list for the next cycle.

Reference

For detailed guidance, examples, and constraints, see references/054-design-tdd.md.

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

Files

SKILL.md and 1 other file (references) in skills/054-design-tdd of jabrena/plinth.

  • SKILL.md
  • references/054-design-tdd.md

Open the folder on GitHubat commit dca88dc

Compare with similar skills

054 Design TDD 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.

054 Design TDD compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
054 Design TDD this skilljabrena/plinth447—~976Automated safety check: PassApache-2.0
TDDbernardladenthin/BitcoinAddressFinder248—~584Automated safety check: PassApache-2.0
Growing Outside In Systemslexler/skill-factory2391 repos~1.9kAutomated safety check: PassApache-2.0
TDD GuideLeoYeAI/openclaw-master-skills2.2k—~1.4kAutomated safety check: PassMIT
Test Driven GenerationArabelaTso/Skills-4-SE253—~1.1kAutomated safety check: PassApache-2.0
Ij Debuggerxpinjection/test-driven-spring-boot112—~6.4kAutomated safety check: PassMIT

Similar skills

  • TDD

    bernardladenthin/BitcoinAddressFinder

    Test-Driven Development workflow for BitcoinAddressFinder — delegates to the generic Java TDD skill and adds project-specific context

    248 GitHub stars~584 tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Growing Outside In Systems

    lexler/skill-factory

    Drive feature development using Outside-In TDD with Hexagonal Architecture.

    239 GitHub starsUsed in 1 repo~1.9k tokens
    Testing & QAAuto-check passed
  • TDD Guide

    LeoYeAI/openclaw-master-skills

    Test-driven development skill for writing unit tests, generating test fixtures and mocks, analyzing coverage gaps, and guiding red-green-refactor workflows across Jest, Pytest, JUnit, Vitest, and…

    2.2k GitHub stars~1.4k tokensUpdated 2 mo ago
    Testing & QAAuto-check passed
  • Test Driven Generation

    ArabelaTso/Skills-4-SE

    Generate implementation code that passes existing unit tests.

    253 GitHub stars~1.1k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Ij Debugger

    xpinjection/test-driven-spring-boot

    Debugger-first runtime root-cause analysis for JVM code in IntelliJ IDEA.

    112 GitHub stars~6.4k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Omk Coding

    KaimingWan/oh-my-kiro

    Enforces coding best practices: deep-read before modify, LSP-first navigation, TDD red-green-refactor, minimal changes, self-review, verification.

    107 GitHub stars~2.4k tokensUpdated 6 mo ago
    DevelopmentAuto-check passed

More from jabrena/plinth

All 124 skills in this repo
  • A skill your agent uses when you need to add or review fuzz testing for Java APIs with CATS — including contract-driven negative testing, malformed payload validation, boundary input exploration, CI…

    447 GitHub stars~874 tokensUpdated 3 days ago
    Auto-check passed
  • A skill your agent uses when you need to generate Java project diagrams — including UML sequence diagrams, UML class diagrams, C4 model diagrams, UML state machine diagrams, UML Deployment Diagrams…

    447 GitHub stars~3.1k tokensUpdated 3 days ago
    Auto-check passed
  • A skill your agent uses when you need to add or configure Maven plugins in your pom.xml — including quality tools (enforcer, surefire, failsafe, jacoco, pitest, spotbugs, pmd), security scanning…

    447 GitHub stars~3.2k tokensUpdated 3 days ago
    Auto-check passed
  • A skill your agent uses when you need to set up JMeter performance testing for a Java project — including creating the run-jmeter.sh script from the exact template, configuring load tests with…

    447 GitHub stars~842 tokensUpdated 3 days ago
    Auto-check passed
  • A skill your agent uses when you need to set up Java application profiling to detect and measure performance issues — including trusted preinstalled async-profiler v4.x setup, problem-driven…

    447 GitHub stars~903 tokensUpdated 3 days ago
    Auto-check passed
  • A skill your agent uses when you need to generate a checklist document with embedded commands inventory, following the embedded template exactly and producing INVENTORY-COMMANDS-JAVA.md in the…

    447 GitHub stars~697 tokensUpdated 3 days ago
    Auto-check passed

Works with

Categories

Questions about 054 Design TDD

What does 054 Design TDD do?

A skill your agent uses when Java implementation work should be guided by Test-Driven Development, including maintaining a test list, choosing the next behavior, writing a failing test first…. 054 Design TDD is an agent skill from jabrena/plinth. Use when Java implementation work should be guided by Test-Driven Development, including maintaining a test list, choosing the next behavior, writing a failing test first, implementing only enough production code to pass, and refactoring while keeping tests green.

When should I use 054 Design TDD?

054 Design TDD fits situations like: java implementation work should be guided by Test-Driven Development; including maintaining a test list; choosing the next behavior; writing a failing test first.

How do I install 054 Design TDD in Claude Code?

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

How do I install 054 Design TDD in Codex?

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

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

What does 054 Design TDD need to run?

SKILL.md names no scripts, command-line tools or credentials: 054 Design TDD is instructions for the agent only.

Does 054 Design TDD 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 054 Design TDD 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 054 Design TDD use?

054 Design TDD is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does 054 Design TDD use?

About 976 tokens (SKILL.md is roughly 3.9k 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.2k tokens, read only when the agent opens those files.

What are the alternatives to 054 Design TDD?

Skills that share tags, products or a category with 054 Design TDD: TDD (bernardladenthin/BitcoinAddressFinder, 248 stars), Growing Outside In Systems (lexler/skill-factory, 239 stars), TDD Guide (LeoYeAI/openclaw-master-skills, 2.2k stars) and Test Driven Generation (ArabelaTso/Skills-4-SE, 253 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains 054 Design TDD?

jabrena (a GitHub user) maintains it in jabrena/plinth, which has 447 GitHub stars. The repository holds 124 skills in this directory. The repository was last updated on October 7, 2026.

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