构建一个基于测试驱动的开发工作流程生成器
Build a dev-workflow generator with test-driven agent coding
使用 Claude Code 完成项目。作者构建了一个开源系统,该系统从一次访谈中生成特定项目的开发工作流程,完全使用 Claude Code 编写和调试了 550 多个测试。
做了什么
The author says they built the whole system through Claude Code sessions: after a /bootstrap interview about a project's stack, it generates project-specific slash commands, guard hooks, pre-push checks, and agent configs. Claude Code also wrote the main code files, produced and debugged 550+ tests in a test-driven workflow, ran self-audits with four parallel review agents, and, via /task-hunter plus Backlog.md CLI, picked tasks, implemented changes, committed, and closed them autonomously.
效果如何
The result was an open-source, MIT-licensed workflow system the author says spans 15k+ lines, 200+ tasks, 20+ hook files, and supports many common web stacks plus a generic mode. The stated shortcoming was that Claude Code needed guardrails: without hooks, task structure, and automated review, it wrote to wrong directories, lost context, and let subtle bugs through.
值得注意
To try it as described, you need both Claude Code CLI and Backlog.md CLI, then point the template at your codebase and run /bootstrap.
试试这个 Prompt
Help me build [tool that does X] in [language] using test-driven development. For each feature, write failing tests first, then the code to make them pass, and run the full suite after each step, debugging any failures yourself. Stop when [the feature list] is implemented and all tests pass, then summarize the test coverage.