Skip to content
Back to skills

Atomic Tdd

ASecurity

Atomic task execution with Red-Green-Refactor TDD discipline. Enforces failing test first, minimal implementation, real backpressure verification, and honest evidence reporting.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentsgonode

Works with

  • cli

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add yjfkpyu/AgentLock-Harness --skill atomic-tdd --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Atomic Tdd?

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

Security grade badge for Atomic Tdd
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yjfkpyu-atomic-tdd/badge)](https://www.skillsdirectory.com/skills/yjfkpyu-atomic-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: 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 |

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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