AGENT SKILL

测试驱动开发 TDD

tdd

TODO

License 许可
NOASSERTION
最近更新
2026-11-14
Stars
★ 3.7k
Forks
418

01 前言 Front Matter

name
tdd
description
TODO
disable-model-invocation
true

03 SKILL.md 正文

Build this test-first, one behavior at a time: $ARGUMENTS

  1. Red: write one failing test for the next behavior. Run the tests and confirm that it fails, and fails for the reason you expect. Don't change code outside the tests in this step.
  2. Green: TODO
  3. Refactor: TODO

Repeat until the feature is done, then run the whole test suite and show the diff. Don't commit: the user reviews the diff and commits.

04 同仓库更多 Skills

wesammustafa
wesammustafa/Claude-Code-Quest

文档链接检查与修复

check-links

对某个文件夹运行链接检查器,并说明发现的每个失效链接,包括所在文件、行号及可能的修复方法。当有人要求检查链接或查找文档中的失效链接时使用。

技术文档工程师文档处理
★ 3.7k
wesammustafa
wesammustafa/Claude-Code-Quest

变更日志条目生成

changelog

为暂存的变更在 CHANGELOG.md 中添加一行条目。当用户要求生成变更日志条目时使用。

软件开发工程师代码仓库协作管理
★ 3.7k
wesammustafa
wesammustafa/Claude-Code-Quest

TDD 测试驱动开发

tdd

以测试优先的方式构建所请求的功能,一次实现一个行为,并在生成待审查的 diff 时停止。当用户要求新函数或新功能,或提到 test-first 或 TDD 时使用。

软件开发工程师代码实现
★ 3.7k
wesammustafa
wesammustafa/Claude-Code-Quest

linkcheck 变更团队审查

team-review

团队对 linkcheck 变更的审查,在本地笔记本与 CI 中以相同方式运行。适用于已暂存的 diff 或 Pull Request。

软件开发工程师代码仓库协作管理
★ 3.7k
wesammustafa
wesammustafa/Claude-Code-Quest

linkcheck 变更审查清单

review-checklist

团队用于审查 linkcheck 变更的检查清单。在提交或发起 Pull Request 前使用。

软件开发工程师代码仓库协作管理
★ 3.7k
wesammustafa
wesammustafa/Claude-Code-Quest

Claude Code 新成员引导

onboard

向新队友讲解本仓库共享的 Claude Code 配置,涵盖哪些内容已提交并共享、哪些保持个人所有,以及 team-kit 插件新增了哪些内容。当有人询问团队的 Claude Code 配置如何运作,或克隆仓库后能获得什么时使用。

软件开发工程师开发环境与工具链管理
★ 3.7k