
from agentic-tools11
Enforce a strict TDD cycle (red→green→refactor) for feature work: require failing tests first, mock bootstrap validation, full-suite runs, and quality gates bef
Provides a procedural TDD enforcement skill that guides agents through the Red→Green→Refactor cycle. It emphasizes test-first development, mock bootstrap validation for mockReset runners, and full-suite verification to avoid regressions.
Use when implementing new features, fixing bugs, or adding deliberate test coverage. Trigger when the user requests test-first development, to add tests for a change, or to validate mock setups. Not intended for passive code review or simply running test suites.
Agents with Node.js and test runner access (Vitest/Jest) and repository file edit capabilities (Claude Code, Copilot-like agents) will get the most value.
A well-structured TDD enforcement skill that guides agents through a strict red-green-refactor cycle. Includes practical mock patterns for vitest/jest with mockReset handling. No scripts included — purely instructional via SKILL.md. Clear NEVER-rules and quality gates make it unambiguous. The mock bootstrap validation step is a thoughtful touch that prevents common testing pitfalls.
No security concerns — purely instructional, no network calls, no credential handling, no destructive commands. The bash commands are standard test/lint invocations. Slightly niche audience (developers already committed to TDD) but genuinely useful for that group.