Skip to content
Back to skills

Tdd

ASecurity

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

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 23, 2026
ai-agents

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 5, 2026

npx -y skills add JustineDevs/meta-architect --skill tdd --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tdd?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tdd
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/justinedevs-tdd/badge)](https://www.skillsdirectory.com/skills/justinedevs-tdd)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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 skill

  • SKILL.md870 B
  • agents/openai.yaml218 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.