Skip to content
Skills Library
Programming · Testing

tdd

/tdd

Use when the user wants regression-first or test-first scaffolding before implementation work expands.

Licence
MIT
Last repository change
29.09.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 29.09.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when the user wants regression-first or test-first scaffolding before implementation work expands.

Original author description

Use when the user wants regression-first or test-first scaffolding before implementation work expands.

How it works

  1. Output
  2. Rules
  3. Procedure
  4. Quality bar
  5. Example
Original SKILL.md headings · 39 lines, 244 words
SKILL.md preview
---
name: tdd
description: "Use when the user wants regression-first or test-first scaffolding before implementation work expands."
---

# TDD

Use this skill inside Codex when implementation should start by locking behavior with tests. `tdd` is a non-gating helper skill that supports execution once the relevant lane is ready.

## Output

Produce:
- behavior to lock
- minimal regression or failing test shape
- implementation boundary
- proof that the test belongs to the requested change
- exact next trigger, usually the implementation lane or `$cleanup`

## Rules

- Prefer the smallest failing test that proves the requested behavior.
- Lock current behavior before cleanup or refactor work when behavior is not already protected.
- Do not treat `tdd` as a replacement for the build gate.
- Keep test intent explicit so the next implementation step stays narrow.

## Procedure

1. Translate the requested behavior into one observable acceptance example.
2. Choose the narrowest test boundary that fails before the fix and passes after it.
3. Include the important negative or permission case without building a speculative suite.
4. Name fixtures, dependencies, and cleanup requirements explicitly.
5. Hand the locked behavior to the implementation lane and preserve the test as evidence.

## Quality bar

- The test proves user-visible or contract-visible behavior, not implementation trivia.
- Failure output points to the intended boundary.
- Tests do not mutate production systems, secrets, or unrelated user data.

## Example

For a copy button, test clipboard content, keyboard activation, alignment-independent click behavior, and the visible success state rather than only asserting that a handler exists.
Files in this package (2)
  • SKILL.md 2 KB
  • agents/openai.yaml 1 KB

Versions

RepositoryScoreLicence
This page · justinedevs/meta-architect100MIT
kdlbs/kandev100AGPL-3.0
sentimony/skills100MIT
sentimony/skills100MIT
TerminalSkills/skills100Apache-2.0
duronext/jig100MIT
xoai/sage100MIT
rolemodel/skills100MIT
matteocodogno/wellforge100MIT

Identical content appears in 2 other GitHub folders. We show one copy with the highest score.

Database snapshot: 13.11.2026 · package version 2fb09b8d354e (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 96tdd-workflows-tdd-cycle
    Use when working with tdd workflows tdd cycle
  • 96sp-tdd
    Use when implementing any feature or bugfix, before writing implementation code
  • 95tdd-workflow
    Test-Driven Development workflow enforcement skill. Use when explicitly asked for TDD methodology, test-first development, red-green-refactor cycle, or TDD implementation. Triggers on keywords like "start TDD", "test-driven development", "write tests first", or in Chinese "開始…
  • 100testing
    Testing strategies and methodologies including TDD and E2E testing. Use when writing tests, implementing TDD workflow, or setting up E2E test infrastructure.
  • 100tdd-pstack
    TDD bug fix: write the failing regression test before the fix. Use only when the user explicitly asks for TDD or a failing/regression test, or when a bug has an obvious cheap local test target; use the full tdd workflow for feature TDD. Skip when the test path is unclear,…
  • 96tdd-workflows-tdd-refactor
    Use when working with tdd workflows tdd refactor

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.