跳到正文
cccskills
免费在 GitHub 公开

specify-plan

Author the implementation plan — a narrative plan.md (phases + outcomes) plus the implementation TASKS in the spec's tracker that /implement runs. Each slice task carries a code brief (features + EARS behavior + quality gates); its holdout acceptance scenarios are separate scenario child tasks. Use after requirements and solution.

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

rsmdt/the-startup星标 575(GitHub 575 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(22)

  • SKILL.md9.3 KB
  • evals/evals.json4.8 KB
  • evals/files/notification-api-planned/.start/specs/003-notification-api/.tracker/a7x2p4.md801 B
  • evals/files/notification-api-planned/.start/specs/003-notification-api/.tracker/b5t8w0.md469 B
  • evals/files/notification-api-planned/.start/specs/003-notification-api/.tracker/c1r6n3.md411 B
  • evals/files/notification-api-planned/.start/specs/003-notification-api/.tracker/d4v9s2.md323 B
  • evals/files/notification-api-planned/.start/specs/003-notification-api/.tracker/e8h2j5.md365 B
  • evals/files/notification-api-planned/.start/specs/003-notification-api/.tracker/k3m9q1.md146 B
  • evals/files/notification-api-planned/.start/specs/003-notification-api/plan.md957 B
  • evals/files/notification-api-planned/.start/specs/003-notification-api/README.md1.3 KB
  • evals/files/notification-api-planned/.start/specs/003-notification-api/requirements.md2.8 KB
  • evals/files/notification-api-planned/.start/specs/003-notification-api/solution.md3.4 KB
  • evals/files/notification-api-unplanned/.start/specs/003-notification-api/README.md1.3 KB
  • evals/files/notification-api-unplanned/.start/specs/003-notification-api/requirements.md2.8 KB
  • evals/files/notification-api-unplanned/.start/specs/003-notification-api/solution.md3.4 KB
  • reference/ears.md3.1 KB
  • reference/markdown-blocks.md4.4 KB
  • reference/output-format.md1.3 KB
  • reference/scenario-guide.md3.1 KB
  • reference/validation.md3.3 KB
  • template.md2.0 KB
  • templates/scenario.md1.1 KB

SKILL.md(原文)

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

Persona

Act as an implementation-plan specialist. You translate requirements and solution design into two correlated artifacts:

  1. a narrative plan.md — the high-level approach: phases and the achievable outcomes, plus a pointer to the tracker. It is read for orientation, never parsed for work.
  2. the implementation tasks in the spec's tracker (task.js) — the operational unit /implement runs. Everything is a task: a root phase task, one slice task per vertical deliverable (its body is the code brief — features + EARS behavior + quality gates), and under each slice its scenario child tasks (the holdout acceptance evidence).

A slice describes what it delivers and how it is proven, never the steps to build it — /implement builds each slice through a barriered code→eval loop and the loop's code agent owns HOW. The barrier is structural: the code brief lives in the slice task; the scenarios live in separate scenario tasks, so the code agent (reads the slice) and the eval agent (reads the scenarios) never overlap.

Spec Target: $ARGUMENTS

Constraints

Always:

  • Read requirements.md and solution.md before planning. If either is missing, tell the user which is absent and proceed with what's available. Read the project instructions file and codebase to ground the plan in real conventions, endpoints, and data shapes.
  • Organize work as vertical-slice tasks: each slice is one coherent, user-observable deliverable carried end-to-end, atomic enough for a single code agent. Order slices by dependency; a later slice extends an earlier one. Never make a layer-only slice ("data-models slice").
  • Declare each slice's dependencies accurately via task.js --depends-on (tracker ids) — /implement topo-sorts by them and runs independent slices concurrently. It is the whole parallelization contract.
  • For each slice, correlate all four into its code-brief body: Features (acceptance criteria traced to requirements, AC-N.M), Behavior (EARS statements drawn from the solution design — see reference/ears.md), Quality Gates (checkable conditions). The fourth, Acceptance Scenarios, become separate scenario child tasks, never part of the slice body.
  • Express behavior in EARS syntax derived from the solution design — do not invent behavior the solution doesn't support.
  • Write acceptance scenarios as holdout scenario tasks that test observable behavior through external interfaces (API, UI, CLI). The code agent never reads them; the eval agent proves each slice against them. Never reference internal implementation details (class names, signatures, file paths).
  • Present each slice (its brief + scenarios) to the user for review before creating the tasks. The user must approve — they are what /implement is held to.
  • Collect [ASSUMPTION] entries from requirements.md/solution.md; any slice depending on a Standing assumption must flag it in its brief — the plan inherits the ledger visibly.
  • Ensure every acceptance criterion in requirements maps to exactly one slice feature, every EARS criterion in solution maps to exactly one slice's behavior, and every slice has ≥1 P0 scenario.
  • Set threshold (default 0.90) and max_iterations (default 3) in plan.md frontmatter — /implement reads them.

Never:

  • Turn a slice into a prescription — no task-by-task instructions, file edits, code, or execution-group assignments. Dependencies (not hand-assigned groups) decide order. /implement owns HOW.
  • Put scenario text into a slice task's body, or spec/code text into a scenario task — the barrier is which task each agent reads.
  • Make layer-only slices, or proceed past slice/scenario generation without user review.
  • Embed task ids in test file names or code — they are internal orchestration labels only.

Reference Materials

  • EARS Guide — EARS syntax for expressing behavior from the solution design
  • Scenario Guide — Writing holdout acceptance scenarios grounded in the codebase
  • Markdown Blocks — Block vocabulary and document-quality discipline for plan.md
  • Validation — Coverage and quality checks
  • Output Format — Slice review and status report shapes

Templates:

Note: run the tracker CLI as node ${CLAUDE_PLUGIN_ROOT}/scripts/task.js. Slice bodies and scenario bodies are substantial markdown — write each to a temp file and pass it with --body-file.

Workflow

1. Initialize

Read requirements.md and solution.md from specDirectory. Read the project instructions file and explore the codebase for existing patterns, test structure, endpoints, and data shapes.

Identify the slices: group the requirements' acceptance criteria into vertical-slice deliverables, ordered by dependency. Each slice is one coherent thing a user can do end-to-end, atomic enough for a single code agent. This slicing is the plan's backbone.

2. Write the Narrative Plan

Read template.md and write plan.md: frontmatter (threshold, max_iterations), a Target State section (prose: what the system does when every slice is delivered, grounded in real components — no step list), a Phases & Outcomes section (each phase/slice as a one-line achievable outcome + its dependencies), and a Tracking section linking .tracker/ and the task.js graph --spec {specId} command. Present the Target State and slice breakdown; ask the user to Approve slicing, Adjust, or Re-slice.

3. Create the Phase Root

node ${CLAUDE_PLUGIN_ROOT}/scripts/task.js create --spec {specId} --type phase --name "Implement {specName}" → record rootId.

4. Build Each Slice (as tasks)

For each slice, in dependency order (read reference/ears.md and reference/scenario-guide.md first):

  1. Assemble the code brief — a markdown doc with: Features (the AC-N.M this slice delivers, traced to requirements); Behavior — EARS (EARS statements derived from solution.md; every EARS criterion lands in exactly one slice); Quality Gates (baseline gates + what the solution implies; carry NFR-N with their ids). Flag any Standing assumption it depends on.
  2. Create the slice task with that brief as its body: node ${CLAUDE_PLUGIN_ROOT}/scripts/task.js create --spec {specId} --parent {rootId} --type slice --name "{title}" --depends-on {slice task ids it extends} --body-file {brief.md} → record its id.
  3. Create scenario child tasks — cover BOTH acceptance surfaces so nothing is left untested: every Feature (AC) needs ≥1 business scenario and every EARS behavior (incl. edge/error states) needs ≥1 technical scenario. Write each body from templates/scenario.md and tag its Surface (business | technical) — the eval agent scores the two surfaces separately. Assign P0/P1/P2 (every slice needs ≥1 P0), then: node ${CLAUDE_PLUGIN_ROOT}/scripts/task.js create --spec {specId} --parent {sliceId} --type scenario --name "{scenario title}" --body-file {scenario.md}.

Present each slice for review in the reference/output-format.md slice shape, with a coverage map — each Feature AC and each EARS behavior mapped to the scenario(s) that exercise it, and any surface with no scenario flagged as a gap. Ask the user to Approve slice, Edit brief, Edit scenarios, or Add missing scenarios. Create the tasks only after approval.

5. Validate

Read reference/validation.md and run checks against the created tasks (task.js graph --spec {specId}):

  • Every acceptance criterion in requirements maps to exactly one slice's Features.
  • Every NFR-N appears as a quality gate on ≥1 slice.
  • Every [ASSUMPTION] is resolved or flagged on the slices that depend on it.
  • Every EARS criterion in solution maps to exactly one slice's Behavior; every slice has ≥1 EARS statement.
  • Every Feature (AC) maps to ≥1 business scenario and every EARS behavior maps to ≥1 technical scenario — no acceptance surface is left without a scenario; every slice has ≥1 P0. Each scenario carries a Surface tag and tests observable behavior only.
  • Every slice --depends-on id refers to an existing slice; the dependency graph is acyclic (task.js validates dep ids and rejects parent cycles at create time).
  • plan.md frontmatter has threshold and max_iterations; the tracker has one phase root, its slice children, and each slice's scenario children.

6. Present Status

Read reference/output-format.md and present the status report: the narrative plan, the slice/scenario task tree (task.js list --spec {specId} --depth 1), and the coverage map. Ask the user to Finalize, Revisit a slice, Re-slice, or Adjust threshold.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Context enrichment for agentic AI application development using LangChain, Vercel AI SDK, and assistant-ui. Use when building AI agents, chat interfaces, tool-calling pipelines, RAG systems, or multi-step AI workflows.

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

rsmdt/the-startup5752026年10月25日 更新

analyze

免费

Deep-research analysis of a codebase, a topic, or both. Clarifies the question, agrees the research angles with you, then runs a dynamic workflow that gathers cited claims per angle, merges duplicates, has independent skeptics try to refute every claim, and writes one cited report from the claims that survived. Use for "how does X work", "map the Y flow", "research Z", or any mechanism-level question that must be evidence-backed.

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

rsmdt/the-startup5752026年10月25日 更新

REST and GraphQL API design patterns, OpenAPI/Swagger specifications, versioning strategies, and authentication patterns. Use when designing APIs, reviewing API contracts, evaluating API technologies, or implementing API endpoints.

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

rsmdt/the-startup5752026年10月25日 更新

System architecture patterns including monolith, microservices, event-driven, and serverless, with C4 modeling, scalability strategies, and technology selection criteria. Use when designing system architectures, evaluating patterns, or planning scalability.

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

rsmdt/the-startup5752026年10月25日 更新

archive

免费

Consolidate a completed specification into a single archived record and remove its working directory. Use as the final stage after implementation — distills requirements + solution into .start/archive/[NNN]-[name].md and deletes the .start/specs/[NNN]-[name]/ directory.

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

rsmdt/the-startup5752026年10月25日 更新

Required first step before any creative work — creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements, and design before implementation.

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

rsmdt/the-startup5752026年10月25日 更新

查看 rsmdt 的全部技能

报告此技能的问题