/claude-everything-workflow:test-driven-developmentfrom claude-everything-workflow
Guides Claude through the RED/GREEN/REFACTOR TDD cycle for testable behavior changes. Enforces vertical slicing, public seam testing, and minimal production code.
Ships in claude-everything-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
参考来源:
本 skill 是本仓库的精简版本,只保留适合 agent 执行的 TDD 规则,不复制外部 skill 全文。
没有可测试行为的文档、格式或纯配置整理,直接运行对应校验,不需要为免写测试请求批准。 生成代码验证生成入口;原型按用户要求验证所探索的行为。涉及可测试行为或用户明确要求 TDD 时执行下述流程。
预期 RED 是针对尚未实现行为的正确断言失败,确认原因后继续 GREEN,不进入疑难调试。 测试加载、依赖、语法或其他非目标错误不算有效 RED;先修复测试环境或按调试入口定位实际失败。
测试 seam 是观察行为的公共接口。测试和调用方应穿过同一个 seam,不读取私有状态或绕过 接口到数据库验证。
新功能、bug 修复、重构引起行为变化、公共 API 变化和用户流程变化,必须先写失败测试并运行确认失败原因正确,才能写行为实现代码。
如果当前任务确实没有可测试行为,先记录原因,并给出替代验证方式,例如脚本 smoke test、文档 diff 检查、人工验收步骤或 harness 验证命令。
What SKILL.md sets; muted values are Claude Code's defaults
14 skills in this plugin
/feature-acceptance建立或维护项目验收与 Playwright E2E,执行真实流程并产出可复核证据。npx claudepluginhub xu91102/claude-everything-workflow --plugin claude-everything-workflowOther plugins' skills for the same job