Skip to main content
Run any Skill in Manus
with one click

test-driven-development

Stars3
Forks5
UpdatedJuly 13, 2026 at 08:08

强制 TDD 红-绿-重构循环:动手实现任何行为前先写一个会失败的测试。用于质量优化、修 bug、加功能、或用户说「TDD / 先写测试 / 红绿重构 / test-first」时。铁律是每一步都由测试驱动——红(写失败测试并亲眼看它失败)→ 绿(写最小实现让它通过)→ 重构(测试保持绿的前提下清理)。无专用工具,全靠已有的 read / edit / write / bash + 项目自带的 pytest / pytest-asyncio / ruff。无额外依赖。

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly