Skip to main content

test-driven-development

Implement features and bug fixes by writing failing tests first, then minimal production code, then refactoring with the suite green.

来源信息

仓库
Rycen7822/skill-retrieval-mcp
最近来源活动
2026年5月10日 17:34
检测到的 SKILL.md 语言
英语
星标
2
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
test-driven-development
description
Implement features and bug fixes by writing failing tests first, then minimal production code, then refactoring with the suite green.
tags
["testing","tdd","implementation","feature","bugfix"]
# Test Driven Development ## When to Use Use when the user asks to implement code, add a feature, fix a bug, change behavior, or build production functionality in a repository. ## Do Not Use When Do not use when the user only asks for diagnosis without changing code, an independent code review, or a paper literature search. ## Required Inputs A code repository, desired behavior, and a runnable test command. ## Workflow 1. Write a focused failing test that describes the desired behavior. 2. Run the test and confirm it fails for the expected reason. 3. Implement the smallest code change to pass. 4. Run targeted and full tests, then refactor safely.
在 GitHub 查看