Implement

按 spec、计划或 tickets 实现:逐条拆验收与失败方式,按需 TDD,跑相关 E2E 与形式验证,对账后双轴审查(最多三轮),P2 登记 issue,再提交。

107 stars 21 forksTesting & QA

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add Dimon94/skills --skill implement
Manual install
git clone --depth 1 https://github.com/Dimon94/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/skills/implement ~/.claude/skills/implement

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Implement

实现用户在 spec、计划或 tickets 中描述的工作。小改动没有计划时,以用户的请求为 spec。

上下文按任务需要用:读够、想够再动手。上下文吃紧时,选一条路接着推进:大块读取和长输出交给子代理,主线只收摘要(按运行时目录完整读取 `principle-guard-the-context-window/SKILL.md`);或在任务分支上提交一个 `wip:`,恢复说明写进提交正文,由下一段会话接手(按 `git-worktree` 第 3、4 节,本 Skill 授权这次提交)。

## 1. 读入验收

开始时记下当前提交的 SHA,作为第 5 步审查的 fixed point。

用户给了票号时,从 issue tracker 读取并先说出票标题;票号有歧义就问。

从 spec 逐条拆验收:每个“必须”和“不得”都有一条。每条验收要带独立预期:输入或动作、期望结果、来源(定义见 `tdd` 第 2 步)。spec 或计划里缺的,从原文补;指不出来源的,停下来问用户。编排派发(packet 带 Lane ID)时不问用户:把缺来源的验收写进工件,以 `LANE_DONE <lane> BLOCKED needs-decision:acceptance-source; <工件路径>` 结束。

spec 用代码写了 Interface 时,每条 `Ensures:` 也是一条验收,实现的签名与它一致。需要偏离时,把偏离和理由写进交付说明。

按改动命中的情况,再列失败方式,它们也是验收:

- **异步写**:等待期间换身份或离开、迟到响应、取消、重入。
- **持久写**:部分失败、重启恢复、旧版本数据。
- **状态跨步骤,或有重试、取消、不可逆副作用**:对照 spec 的 Business Flow 状态图;没有就画一张,放进交付说明,让用户判断是否符合意图。

完成条件:fixed point 的 SHA 已记下;spec 的每个“必须”和“不得”都有验收;每条验收都有独立预期,或已经交给用户确认;命中的失败方式已列出。

## 2. 按切片实现

动手前先做减法:按运行时目录完整读取 `principle-subtract-before-you-add/SKILL.md` 和 `principle-laziness-protocol/SKILL.md`,列出本次范围内可删的现有复杂度(死代码、spec 没要求的校验、空壳引用),先删再加。

按 vertical slice 推进,每片调用 Skill `tdd`。常跑类型检查和单个测试文件。

这一片不是一眼能看完的几处编辑时(批量修改、迁移、分析、验证),按运行时目录完整读取 `principle-build-the-lever/SKILL.md`,先写能重跑的脚本、codemod 或生成器,用它完成或证明这片工作。

完成条件:每条验收都走完 `tdd`,留下运行记录或不写测试的理由;已删项列出,没有可删项时写“无”并列出检查过的范围。

## 3. 真实运行

验证按层叠加:类型、lint 与 API 设计先排除一类错误,测试和真实运行证明行为,形式验证只给真正需要的部分。

1. **入口清单**:列出本次改动的 Interface 的全部调用方和公开入口,逐个确认接上了新合同,过期的断言和文档同步修改。
Read the full skill on GitHub

Details

Skill name
implement
Repository
Dimon94/skills
Path
skills/implement/SKILL.md
Repo updated
18 November 2026

FAQ

What does the Implement skill do?

按 spec、计划或 tickets 实现:逐条拆验收与失败方式,按需 TDD,跑相关 E2E 与形式验证,对账后双轴审查(最多三轮),P2 登记 issue,再提交。

How do I install the Implement skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add Dimon94/skills --skill implement. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Implement popular?

It lives in Dimon94/skills, which has 107 GitHub stars and 21 forks.

Related skills

Maintain Verification Skill

107

Dimon94/skills

Periodic pass that keeps a project's verification skill and feature map honest: parallel source readers per feature, one live session driving every feature, at most one PR of proven corrections. Use for /maintain-verification-skill or "audit the verify skill".

Git & Code ReviewIn 2 lists21

Create Verification Skill

107

Dimon94/skills

Generate a project-local verification skill that drives your app the way a user does — any language, framework, or platform. Use for /create-verification-skill, "make a control skill for this repo", or when a project has no scripted way to prove UI/CLI/service behavior.

Software DevelopmentIn 2 lists21

How

107

Dimon94/skills

Use for "how does X work", code walkthroughs before changing something, and placement / ownership / layering questions ("where should this live", "which package owns this", "is this the right layer"). Explains subsystem architecture, runtime flow, onboarding mental models. Use why for motivation.

Software DevelopmentIn 2 lists21

Principle Test Behavior Not Implementation

107

Dimon94/skills

Apply when you write, change, or keep a test. Assert what the code's users can observe, so that the test fails when that behavior breaks and keeps passing when only the internals change.

Testing & QA21

Godot

46

Randroids-Dojo/Godot-Claude-Skills

Develop, test, build, and deploy Godot 4.x games. Includes GdUnit4 for GDScript unit tests and PlayGodot for game automation and E2E testing. Supports web/desktop exports, CI/CD pipelines, and deployment to Vercel/GitHub Pages/itch.io.

Testing & QA

TDD

107

Dimon94/skills

按需先红后绿:按改动类型决定要不要先写失败检查、放在哪层,期望值来自独立预期,并用真跑的探针证明检查能拒绝错误实现。用于实现功能或修复缺陷时测试先行,或用户提到 TDD、红绿、先写测试。

Testing & QA21

Browse the most popular Claude skills, all testing & qa skills, or write your own with the skills generator.