Agent Skillsrsmdt/the-startup › implement

implement

GitHub

作为实现入口的分发器,解析规格并检测分解工件,将任务路由至直接、增量或工厂子技能执行,不直接编写代码。

plugins/start/skills/implement/SKILL.md rsmdt/the-startup

Trigger Scenarios

用户请求根据已完成的规范实施功能 需要自动识别分解层级并分派到具体实现子技能

Install

npx skills add rsmdt/the-startup --skill implement -g -y
More Options

Non-standard path

npx skills add https://github.com/rsmdt/the-startup/tree/main/plugins/start/skills/implement -g -y

Use without installing

npx skills use rsmdt/the-startup@implement

指定 Agent (Claude Code)

npx skills add rsmdt/the-startup --skill implement -a claude-code -g -y

安装 repo 全部 skill

npx skills add rsmdt/the-startup --all -g -y

预览 repo 内 skill

npx skills add rsmdt/the-startup --list

SKILL.md

Frontmatter
{
    "name": "implement",
    "description": "Implementation entry point. Use to execute a completed specification. Auto-detects the decomposition tier (Direct, Incremental, or Factory) from spec artifacts and dispatches to the matching execution sub-skill.",
    "argument-hint": "spec ID to implement (e.g., 002), or file path",
    "user-invocable": true
}

Persona

Act as the implementation entry-point dispatcher. Resolve the spec, detect which decomposition artifacts are present, hand off to the matching execution sub-skill. You do not orchestrate implementation directly — every loop body lives in a sub-skill.

Implementation Target: $ARGUMENTS

Interface

DispatchTarget { tier: Direct | Incremental | Factory skill: implement-direct | implement-incremental | implement-factory artifact: string // path that triggered the dispatch }

State { target = $ARGUMENTS specDirectory: string // resolved .start/specs/NNN-name/ path artifacts: { plan?: string // path to plan/README.md if present manifest?: string // path to manifest.md if present requirements?: string // path to requirements.md solution?: string // path to solution.md } dispatch: DispatchTarget }

Constraints

Always:

  • Resolve the spec via the specify-meta skill before inspecting artifacts.
  • Detect artifacts before dispatching — do not assume a tier.
  • Pass $ARGUMENTS through unchanged to the sub-skill.
  • When multiple decomposition artifacts coexist (both plan/ and manifest.md), ask the user which to run.
  • Surface what was detected so the user can confirm the dispatch target.

Never:

  • Implement code directly — sub-skills own all execution logic.
  • Run two sub-skills in parallel — pick one tier per /start:implement invocation.
  • Modify spec artifacts during dispatch — that is each sub-skill's responsibility.

Reference Materials

This skill is a thin dispatcher and has no reference materials of its own. Each sub-skill owns its references, examples, and templates:

Workflow

1. Resolve Spec

Use the specify-meta skill with $ARGUMENTS to resolve specDirectory. The --read output reveals which artifacts exist via the plan_dir, plan, manifest, units, and scenarios_* keys.

If $ARGUMENTS is a file path or freeform brief (no spec ID), skip spec-meta resolution. Treat this as a direct-mode invocation and route to implement-direct.

2. Detect Artifacts

Inspect the resolved spec directory for decomposition artifacts:

manifest_md    = exists(specDirectory / "manifest.md")
plan_readme    = exists(specDirectory / "plan" / "README.md")
requirements   = exists(specDirectory / "requirements.md")
solution       = exists(specDirectory / "solution.md")

3. Dispatch

Apply the routing rules:

match (artifacts) {
  manifest_md exists AND NOT plan_readme   => use the implement-factory skill
  plan_readme exists AND NOT manifest_md   => use the implement-incremental skill
  manifest_md exists AND plan_readme       => ask the user under header "Pipeline":
                                                Factory      — run factory loop on manifest.md
                                                Incremental  — run phase loop on plan/
                                                Abort        — exit without action
  none of the above
    AND (requirements OR solution exists)  => use the implement-direct skill
  none of the above AND no specs           => Error: no specification artifacts found.
                                              Run the specify skill first, or pass a brief.
}

Before invoking the sub-skill, present a one-line dispatch summary to the user:

Detected: manifest.md → routing to implement-factory
Detected: plan/README.md → routing to implement-incremental
Detected: only requirements.md and solution.md → routing to implement-direct

4. Hand Off

Use the chosen sub-skill (implement-direct, implement-incremental, or implement-factory) with the same $ARGUMENTS.

Each sub-skill is self-contained: it reads its own artifacts, runs its own loop, and reports its own completion summary. The dispatcher does not post-process sub-skill output.

Notes on tier mismatch

If the spec README decision log records a tier (e.g., "Decomposition tier: Incremental") but the corresponding artifact is missing (e.g., no plan/ directory), report the mismatch to the user before falling through to the next available tier. This typically indicates an interrupted specify run — the user should re-run the specify skill for that spec to complete decomposition, or explicitly choose a different tier.

Version History

  • 88d447c Current 2026-08-08 07:57

Same Skill Collection

plugins/start/skills/brainstorm/SKILL.md
plugins/start/skills/constitution/SKILL.md
plugins/start/skills/debug/SKILL.md
plugins/start/skills/document/SKILL.md
plugins/start/skills/implement-direct/SKILL.md
plugins/start/skills/implement-factory/SKILL.md
plugins/start/skills/implement-incremental/SKILL.md
plugins/start/skills/refactor/SKILL.md
plugins/start/skills/review/SKILL.md
plugins/start/skills/specify-factory/SKILL.md
plugins/start/skills/specify-incremental/SKILL.md
plugins/start/skills/specify-meta/SKILL.md
plugins/start/skills/specify-requirements/SKILL.md
plugins/start/skills/specify-solution/SKILL.md
plugins/start/skills/test/SKILL.md
plugins/start/skills/validate/SKILL.md
plugins/start/skills/writing-skills/SKILL.md
plugins/team/skills/cross-cutting/feature-prioritization/SKILL.md
plugins/team/skills/cross-cutting/pattern-detection/SKILL.md
plugins/team/skills/cross-cutting/project-discovery/SKILL.md
plugins/team/skills/cross-cutting/requirements-elicitation/SKILL.md
plugins/team/skills/design/user-research/SKILL.md
plugins/team/skills/development/agentic-patterns/SKILL.md
plugins/team/skills/development/api-contract-design/SKILL.md
plugins/team/skills/development/architecture-selection/SKILL.md
plugins/team/skills/development/domain-modeling/SKILL.md
plugins/team/skills/development/frontend-patterns/SKILL.md
plugins/team/skills/development/technical-writing/SKILL.md
plugins/team/skills/development/testing/SKILL.md
plugins/team/skills/infrastructure/platform-operations/SKILL.md
plugins/team/skills/quality/code-quality-review/SKILL.md
plugins/team/skills/quality/performance-analysis/SKILL.md
plugins/team/skills/quality/security-assessment/SKILL.md
plugins/start/skills/analyze/SKILL.md

Metadata

Files
0
Version
88d447c
Hash
b8a2dad1
Indexed
2026-08-08 07:57

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-09 04:54
浙ICP备14020137号-1 $방문자$