·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