Community程式設計與開發github.com

DanhDue/測試驅動開發

一個用於AI代理的技能,遵循測試驅動開發(TDD)工作流程:先寫測試,再實作程式碼,最後進行重構。

測試驅動開發 是什麼?

DanhDue/測試驅動開發(Test-Driven Development)是一個專門為AI代理(如Claude Code、Cursor、Codex等)設計的技能,旨在強制執行TDD工作流程。該技能引導代理遵循「紅-綠-重構」循環:首先編寫一個失敗的測試(紅),然後實作最簡程式碼使其通過(綠),最後安全地重構程式碼。它支援多種程式語言與測試框架,並透過清晰的檢查點與指令確保代理不會跳過測試步驟。此技能適合需要在開發過程中維持高質量與可測試性的團隊,尤其常用於持續整合(CI)環境與協作專案。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/DanhDue/ai-agent-tools/tree/main/skills/test-driven-development

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

測試驅動開發 是做什麼的?

來自 DanhDue/ai-agent-tools 的 AI 代理技能「測試驅動開發」。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

DanhDue/android-api-integration

Agent skill 'android-api-integration' from DanhDue/ai-agent-tools.

DanhDue/android-ui-audit

Agent skill 'android-ui-audit' from DanhDue/ai-agent-tools.

DanhDue/api_integration

Agent skill 'api_integration' from DanhDue/ai-agent-tools.

DanhDue/architecture-audit

Agent skill 'architecture-audit' from DanhDue/ai-agent-tools.

DanhDue/brainstorming

Agent skill 'brainstorming' from DanhDue/ai-agent-tools.

DanhDue/build_fix

Agent skill 'build_fix' from DanhDue/ai-agent-tools.

DanhDue/check_secure_files

Agent skill 'check_secure_files' from DanhDue/ai-agent-tools.

DanhDue/code-health-audit

Agent skill 'code-health-audit' from DanhDue/ai-agent-tools.

DanhDue/copy_secure_configurations

Agent skill 'copy_secure_configurations' from DanhDue/ai-agent-tools.

DanhDue/create_new_feature

Agent skill 'create_new_feature' from DanhDue/ai-agent-tools.

DanhDue/decision-records

Agent skill 'decision-records' from DanhDue/ai-agent-tools.

DanhDue/dev-brainstorming

Agent skill 'dev-brainstorming' from DanhDue/ai-agent-tools.

DanhDue/dev-designer

Agent skill 'dev-designer' from DanhDue/ai-agent-tools.

DanhDue/dev-implementation

Agent skill 'dev-implementation' from DanhDue/ai-agent-tools.

DanhDue/dev-lifecycle

Agent skill 'dev-lifecycle' from DanhDue/ai-agent-tools.

DanhDue/dispatching-parallel-agents

Agent skill 'dispatching-parallel-agents' from DanhDue/ai-agent-tools.

DanhDue/doc-brainstorming

Agent skill 'doc-brainstorming' from DanhDue/ai-agent-tools.

DanhDue/doc-designer

Agent skill 'doc-designer' from DanhDue/ai-agent-tools.

DanhDue/doc-implementation

Agent skill 'doc-implementation' from DanhDue/ai-agent-tools.

DanhDue/doc-lifecycle

Agent skill 'doc-lifecycle' from DanhDue/ai-agent-tools.

相關技能