Plan

owainlewis/blueprint/skills/plan

作者 owainlewis1d7474541b88a564bf83b466c4ba1ea49887f102無授權條款收錄於 2026年10月9日更新於 2026年10月9日

Turns a reviewed spec or decided brief into ordered tasks for separate agent runs. Use for implementation tasks, tracker tickets, or useful milestones. Do not use for one coding task or its short execution outline.

AI 產生的概覽

把已審閱的規格或已定案的簡報轉換成有序、可供代理執行的實作任務與里程碑。

功能
讀取規格、簡報、議題或請求,並搭配儲存庫指示與相關程式碼,把工作拆成有序任務,每個任務都能在一次代理執行中交付可運作的行為。每個任務採用精簡結構,包含問題、價值、可觀察的完成標準、精確檢查方式、代理備註與範圍外事項。它會把任務歸入附驗收檢查的里程碑,並在對話中回傳計畫,不撰寫計畫文件,也不進行實作。
適用情境
適用於需要把已審閱的規格或已定案的簡報轉換成實作任務、追蹤系統票券或有用里程碑的情況。不適用於單一程式開發任務或簡短的執行綱要。
執行需求
不需要指令碼或特殊工具,僅為指示。它會讀取來源規格或簡報、儲存庫指示與相關程式碼,並可能引用儲存庫路徑或網址。

Plan

Create tasks that a new agent can finish without making product or technical decisions. Every task and milestone must be a vertical slice: a usable outcome that runs through the required layers and has acceptance checks. Split by working result, not by file, layer, or team boundary.

Process

  1. Read the source, repository instructions, and relevant code.
  2. Stop and return to /spec if an unresolved choice would change behavior, interfaces, data, security, scale, performance, compatibility, operations, cost, or proof.
  3. Split the work into tasks that each deliver working behavior, fit one agent run, and produce one focused pull request.
  4. Keep shared contracts in one task. Do not make two tasks answer the same question independently.
  5. Separate refactoring when it would hide a behavior change.
  6. Order tasks by dependency. Group tasks into milestones when useful. Each milestone delivers a usable end-to-end result, with acceptance checks and dependencies. Do not use milestones such as “database”, “backend”, or “frontend”.
  7. Return the plan in chat. Create tracker tickets only when the user asks. Never write a plan document.
  8. Stop after planning. Do not implement.

For example, “add a task and see it after a restart” includes CLI input, validation, storage, output, and tests in one task. A later milestone could deliver “manage unfinished tasks” through add, list, and complete slices. Name the milestone's observable result and how to prove the whole result works.

Write for two readers

Each task is read by a human and executed by an agent.

The first sections must let a human understand the task in under a minute. State the concrete problem, the result, and why it matters in everyday words. Do not use requirement IDs, implementation details, undefined project terms, or acronyms unfamiliar to the intended readers there.

Put task-specific decisions, interfaces, failure rules, and security constraints in Agent notes. Link the spec or decided source for shared architecture and full requirement definitions. Use a repository path or URL that will resolve from the published ticket, and pin the decided version when later edits could change the contract. If no durable source exists, include the required shared decisions in Agent notes. Do not copy the whole source into every ticket.

A task stands alone when its purpose, boundary, dependencies, non-negotiable decisions, and proof are clear. It does not need to repeat background that the linked source already explains.

Task shape

Use this compact shape. Omit optional sections that add no information.

markdown
## <Plain action and result>
### What are we building?In one to three short sentences, say what is wrong or missing and what will work after this task.
### Why?In one or two short sentences, explain the practical value to a user, operator, or developer.
### Done when- Three to seven observable results.
### How to checkExact commands and required manual checks.
### Agent notes- Depends on: <task titles, or None>- Source: <durable spec, brief, issue, or request path/URL, pinned when needed>- Only the definitions, decisions, constraints, and failure behavior specific to this task.
### Out of scope- Related work this task is likely to absorb by mistake.

Writing rules

  • Use a short title that names an action and result.
  • Use familiar words and specific verbs.
  • Define a necessary technical term where it first appears. Otherwise replace it with observable behavior.
  • Say sending the same event twice creates one reply, not prove idempotency.
  • Say the answer is supported by the cited document, not prove grounding.
  • Do not add user stories by default. Add one only when it clarifies product behavior that the first two sections do not.
  • Keep implementation mechanics out of the first two sections.
  • Keep task-specific implementation choices in Agent notes. Leave interchangeable local mechanics to the implementing agent.
  • Preserve applicable AC-n, REQ-n, and INV-n references in Done when or Agent notes without making a reader decode them to understand the task.
  • Aim for 250 to 500 words per ticket. Exceed 700 only when the extra text is required to prevent an unsafe or incompatible implementation. Otherwise split the task or link the shared source.
  • Do not repeat a fact in several sections.
  • Do not use slogans, metaphors, filler, or vague claims such as robust, seamless, comprehensive, and future-proof.

Boundaries

  • Do not split one working behavior into separate file or technical-layer tasks.
  • Do not create scaffolding or cleanup tasks without a checked outcome.
  • Do not hide unresolved decisions inside implementation tickets.
  • Keep each task small enough for one agent run and one focused review.
  • In Done when, state observable behavior and any internal rule that must hold.
  • In How to check, include exact commands and manual proof when automation cannot cover the behavior.
  • If the source uses requirement IDs, keep each ID attached to the same rule. Do not renumber or reuse it.

Before returning the plan, read each task twice:

  1. Human pass: can someone explain what will change and why after reading only the title and first two sections?
  2. Agent pass: can a fresh agent find the source, identify dependencies and fixed decisions, implement the task, and prove it without asking a product or architecture question?

Delete repeated background after both passes succeed.

Return

Return the ordered tasks, any useful milestones with acceptance checks, their dependencies, and any decision that still blocks implementation. Do not add a separate summary that repeats the tasks.

來源與署名

來源:owainlewis/blueprint位於skills/plan提交1d74745

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架