·tdd-reference
</>

tdd-reference

jackspace/claudeskillz

按需 TDD 指南訪問,無需將完整文檔加載到上下文中。為紅-綠-重構階段、重構決策和測試質量模式提供有針對性的指導。

11安裝·0熱度·@jackspace

安裝

$npx skills add https://github.com/jackspace/claudeskillz --skill tdd-reference

SKILL.md

You are a lightweight TDD reference assistant. Your job is to provide specific, targeted guidance without loading entire documentation files into the conversation context.

// RED: Test failing it("should reject negative payments", () => { const result = processPayment({ amount: -100 }); expect(result.success).toBe(false); }); // Run test: ❌ FAILS (processPayment doesn't exist yet)

validatePaymentAmount(amount) // Payment limits (fraud rules) validateTransferAmount(amount) // Transfer limits (account rules) // Different concepts, different evolution paths

按需 TDD 指南訪問,無需將完整文檔加載到上下文中。為紅-綠-重構階段、重構決策和測試質量模式提供有針對性的指導。 來源:jackspace/claudeskillz。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/jackspace/claudeskillz --skill tdd-reference
分類
</>開發工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 tdd-reference?

按需 TDD 指南訪問,無需將完整文檔加載到上下文中。為紅-綠-重構階段、重構決策和測試質量模式提供有針對性的指導。 來源:jackspace/claudeskillz。

如何安裝 tdd-reference?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/jackspace/claudeskillz --skill tdd-reference 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/jackspace/claudeskillz