Atomic task execution with Red-Green-Refactor TDD discipline. Enforces failing test first, minimal implementation, real backpressure verification, and honest evidence reporting.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Atomic Tdd?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/yjfkpyu-atomic-tdd)
---
name: atomic-tdd
description: Atomic task execution with Red-Green-Refactor TDD discipline. Enforces failing test first, minimal implementation, real backpressure verification, and honest evidence reporting.
---
# Atomic TDD — Scoped Iteration & Deterministic Backpressure
## Steps (Hands off to `cross-model-review`)
1. **Claim One Atomic Goal**: Keep blast radius small; do not opportunistically refactor unrelated modules.
2. **Red (Failing Test First)**: Write a failing test reproducing the defect or locking the contract; verify it fails for the right behavioral reason.
3. **Green (Minimal Implementation)**: Write the smallest clear fix and verify real public entrypoints/consumers are wired.
4. **Refactor & Backpressure**: Run `lint`, `typecheck`, and `test` from `agentlock-harness.json`, and run `node scripts/doc-map.mjs . --changed <paths>`.
## Anti-Rationalization Table
| Common Rationalization | Mandatory Counter-Action |
| :--- | :--- |
| "Change is tiny, visually looks fine, skip tests" | Execute actual verification commands and report real results—**never claim passing by reading** |
| "Writing tests after code is the same" | Never label post-hoc tests as Red-Green; core logic, auth, and regressions require observed Red first |
| "Helper unit test passed so the feature is done" | Verify real public export/route/CLI consumers are wired; explicitly report any remaining unwired gap |