TDD Orchestrator
掌握 TDD 流程編排
此技能透過全面的流程編排和 AI 輔助測試指導,幫助開發團隊實施嚴謹的測試驅動開發實踐。
تنزيل ZIP المهارة
رفع في Claude
اذهب إلى Settings → Capabilities → Skills → Upload skill
فعّل وابدأ الاستخدام
اختبرها
استخدام "TDD Orchestrator". Help me implement TDD for a user authentication feature
النتيجة المتوقعة:
Here is a complete TDD implementation plan:
1. RED PHASE: Write failing tests first
- Test user creation with valid credentials
- Test authentication with correct password
- Test authentication failure with wrong password
2. GREEN PHASE: Implement minimum code to pass
- Create User entity with password validation
- Implement AuthenticationService
3. REFACTOR PHASE: Improve code structure
- Extract password hashing logic
- Add proper error handling
Recommended test structure: Unit tests for services, integration tests for repository layer.
استخدام "TDD Orchestrator". Design multi-agent testing workflow for microservices
النتيجة المتوقعة:
Multi-Agent TDD Workflow Design:
1. UNIT AGENT: Tests individual service logic
2. CONTRACT AGENT: API contract verification between services
3. INTEGRATION AGENT: Service interaction testing
4. E2E AGENT: Full workflow validation
Coordination Pattern:
- Unit → Contract → Integration → E2E
- Parallel execution where possible
- Shared contract definitions
- Environment provisioning per agent
التدقيق الأمني
آمنPrompt-only skill containing no executable code. Provides guidance on TDD practices and testing methodologies. Static analysis scanned 0 files with 0 lines of code. No security risks detected. This is an informational/educational skill about software testing best practices.
درجة الجودة
ماذا يمكنك بناءه
新專案 TDD 設定
為新軟體專案建立 TDD 紀律和工作流程,並配備適當的測試金字塔結構
舊版程式碼測試策略
使用特徵測試為現有舊版程式碼庫建立全面的測試覆蓋策略
跨團隊 TDD 治理
實施組織範圍的 TDD 標準,包含合規驗證和度量收集
جرّب هذه الموجهات
幫助我為新功能實施 TDD。引導我完成 [描述您的功能] 的紅綠重構循環。
為 [描述專案] 設計跨單元、整合和 E2E 層級的協調多代理測試工作流程。
建立 TDD 度量框架,包括 [描述團隊規模] 的循環時間、覆蓋率閾值和品質門檻。
使用 [框架] 在 [描述領域] 中實施複雜業務邏輯驗證的屬性驅動測試策略。
أفضل الممارسات
- 在編寫任何實作代碼之前,先編寫可能失敗的最小的測試
- 將重構僅專注於使代碼更清晰,而不改變行為
- 保持快速的測試執行時間,以保留快速的回饋循環
تجنب
- 在實作代碼之後才編寫測試(測試後寫不是 TDD)
- 測試實作細節而非可觀察的行為
- 建立過於複雜、難以維護和除錯的測試