跳到正文
cccskills
免费在 GitHub 公开

implement

Use when a design exists and it's time to break it into tasks and execute with subagent dispatch and review

中文简介正在准备中。当前显示原文说明。

Trevoke/org-gtd.el星标 486(GitHub 486 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md3.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

/implement — Plan + Execute

Overview

Break a design into bite-sized TDD tasks, execute each with a fresh subagent, review every task before moving on.

Core principle: Small tasks + fresh subagents + two-stage review = high quality.

When to Use

  • Design exists (from /architect or provided by user)
  • Ready to write code
  • Work can be broken into independent TDD steps

The Process

1. Find Design

Look for the most recent *-design.md in docs/plans/. If none found or multiple exist, ask the user which to use. If no design exists, suggest /architect first.

2. Break Into Tasks

Each task must be:

  • One TDD cycle: one test + its implementation
  • 2-5 minutes of focused work
  • Self-contained: all context provided inline

Template per task:

### Task N: [Title]

**Goal**: [one sentence]
**Test**: [describe the test to write first]
**Implementation**: [describe the code to make it pass]
**Files**: [which files to create/modify]
**Acceptance Criteria**: [specific, testable]

3. Save the Plan

docs/plans/YYYY-MM-DD-<name>-plan.md

4. Execute Each Task

Record base SHA: git rev-parse HEAD

For each task, in order:

a. Dispatch Implementer

Use Task tool with subagent_type: "tdd". In the prompt, include inline:

  • Full task text (don't reference plan files — subagent can't read them)
  • Relevant code snippets (read and paste the actual file content)
  • Patterns to follow (paste examples from existing code)
  • Acceptance criteria

Context goes inline. The subagent receives everything it needs in the prompt.

b. Spec Review

When implementer completes, dispatch spec-reviewer via Task tool with subagent_type: "superpowers:code-reviewer". Include:

  • The task's acceptance criteria (copy inline)
  • List of changed files

If FAIL: resume implementer to fix, then re-review.

c. Quality Review

Dispatch quality-reviewer via Task tool with subagent_type: "superpowers:code-reviewer". Include:

  • Base SHA and current HEAD
  • Feature context

If critical issues: resume implementer to fix, then re-review.

d. Move On

Only proceed to next task when both reviews pass.

5. After All Tasks

Implementation complete. Use /qa for adversarial testing, or /refactor for a quality pass.

Common Mistakes

MistakeFix
Tasks too large (whole features)One TDD cycle per task. If it takes >10 min, split it.
Expecting subagent to read plan filesProvide ALL context inline in the dispatch prompt.
Skipping review for "simple" tasksEvery task gets spec review + quality review. No exceptions.
Phase-based grouping instead of task listFlat numbered list. Dependencies noted, not phase boundaries.
No plan file savedAlways save to docs/plans/YYYY-MM-DD-<name>-plan.md.
Moving on despite failed reviewFix first. Never proceed with review failures.
Not referencing next stepEnd with: "use /qa or /refactor when ready"

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

architect

免费

Use when requirements exist and a technical design is needed before implementation begins

中文简介正在准备中。当前显示原文说明。

Trevoke/org-gtd.el4862026年8月7日 更新

define

免费

Use when a new feature request, bug report, or work request needs requirements defined before implementation

中文简介正在准备中。当前显示原文说明。

Trevoke/org-gtd.el4862026年8月7日 更新

qa

免费

Use when implementation is complete and you want to verify quality through adversarial testing that writes code and provides evidence

中文简介正在准备中。当前显示原文说明。

Trevoke/org-gtd.el4862026年8月7日 更新

refactor

免费

Use when code quality needs improvement after implementation, without changing behavior

中文简介正在准备中。当前显示原文说明。

Trevoke/org-gtd.el4862026年8月7日 更新

test

免费

Use EVERY TIME you need to run tests, verify tests pass, or check for regressions. ALWAYS use this instead of running eldev directly.

中文简介正在准备中。当前显示原文说明。

Trevoke/org-gtd.el4862026年8月7日 更新

Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

中文简介正在准备中。当前显示原文说明。

Trevoke/org-gtd.el4862026年8月7日 更新

查看 Trevoke 的全部技能

报告此技能的问题