What it does\nHai TDD codifies a test-driven development workflow for agents and developers: define a single target behavior, write a failing test (RED), implement the smallest change to make it pass (GREEN), then refactor while preserving tests. The skill includes guidance on test quality, common mistakes, and when to pause and ask instead of proceeding.\n\n## When to use it\nInvoke this skill whenever implementing a feature, fixing a bug, refactoring behavior, or adding tests—especially when you want regression safety and behavioral guarantees. It triggers on TDD-related intents (red-green-refactor, write a test, add unit tests) and is recommended whenever changes should be verified by automated tests.\n\n## What's included\n- Scripts: none (has_scripts=false)\n- References: includes localized SKILL.zh_CN.md and example output templates in references/ (has_references=true)\n- Instructions: step-by-step RED → GREEN → REFACTOR workflow, test-quality checklist, skip/ask guidance for prototypes or non-verifiable work.\n\n## Compatible agents\nApplicable to developer-facing agents and CI-integrated assistants that can run tests and edit code (Copilot/Codex-style editors, local test runners invoked by agent harnesses, and automation runners that support test execution).
Not yet audited
This skill has not been reviewed by our automated audit pipeline yet.