一键导入
supi-flow-plan
Create an implementation plan for an approved design with exact file paths, ordered tasks, concrete verification, and no placeholders.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create an implementation plan for an approved design with exact file paths, ordered tasks, concrete verification, and no placeholders.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Execute an approved implementation plan task by task — verify each step fresh, stop when blocked, and ask instead of guessing.
You MUST use this before any implementation. Clarify intent, shape the design, and get approval before touching code.
Verify implementation against the plan, update living documentation, and close out the change.
Systematic debugging protocol — find the root cause before proposing fixes.
Check for available upgrades to the pi coding agent framework by comparing the current `@earendil-works/pi-*` or legacy `@mariozechner/pi-*` version in package.json against releases on `earendil-works/pi`. Use this skill whenever the user asks to upgrade pi, update pi, check pi changelogs/releases, or migrate off the deprecated `@mariozechner/*` packages.
| name | supi-flow-plan |
| description | Create an implementation plan for an approved design with exact file paths, ordered tasks, concrete verification, and no placeholders. |
| disable-model-invocation | true |
supi_tndm_cli { action: "show", id: "<ID>" } — inspect content_path, then read the approved design from content.md./skill:supi-flow-brainstorm first, or provide an existing ticket ID.If the design covers multiple independent subsystems, suggest splitting it into separate plans. Each plan should produce a coherent, testable result.
Use adaptive detail by complexity:
Do not add ceremony for its own sake.
Before writing tasks, list which files will be created or modified and what each is responsible for.
The approved overview belongs in content.md. It can be pure design / plan prose and may contain zero tasks.
After the overview is approved and persisted, define executable tasks separately in state.toml. Start by inspecting the current manifest with supi_tndm_cli { action: "task_list", id: "<ID>" }.
For the normal path, use supi_flow_task to add, edit, or remove one task at a time instead of building raw task_json or managing detail_path manually:
supi_flow_task { operation: "add", ... } calls.supi_flow_task { operation: "edit", task_number: <N>, ... }supi_flow_task { operation: "remove", task_number: <N> }supi_flow_task { operation: "add", ... }For each task, include:
Use enough detail that an agent can execute without guessing, but do not force huge code blocks into every step.
Always make the final task a verification task. This task confirms the whole change works end-to-end — run the full test suite, exercise the changed behavior manually, or both. It is not task-specific unit verification (each task already carries its own); it is the integration gate that proves the assembled change is correct.
Task numbering convention: On an empty ticket, adds through supi_flow_task start at 1 and increase sequentially. On a ticket that already has tasks, add returns the next available task number. Always use the returned task number for later edits, removals, and completion.
Every task gets a canonical tasks/task-XX.md detail doc automatically at creation time. When a task needs real implementation detail or notices, pass detail markdown through supi_flow_task to write the full content; omit detail to keep the minimal template.
For testable code changes, prefer red-green-refactor:
RED → write the failing test → verify it fails for the right reason
GREEN → write the minimal code to pass → verify it passes
REFACTOR → clean up while staying green
Critical rule: if you did not watch the test fail, you do not know whether it proves the behavior.
TDD is the default, not an absolute rule.
A task may be marked test-exempt when TDD is not practical, such as:
Every test-exempt task MUST include:
Do not use test exemptions to avoid testing logic that could reasonably be tested.
TBD, TODO, implement later, or vague instructions like add error handling.After writing the plan, check it against the approved design:
Fix issues inline before handing off.
Write the plan in the lightest form that will still survive execution:
supi_flow_plan { ticket_id: "<ID>", plan_content: "..." } to store the approved overview in content.md. Then list the current tasks. If the manifest is empty, build it with repeated supi_flow_task { operation: "add", ... } calls. If tasks already exist, reconcile them to the new final plan with supi_flow_task edit/remove/add operations. Keep supi_tndm_cli task_* actions as lower-level escape hatches for advanced/manual repair cases.Plan ready. Review it and approve before we start. Then run /skill:supi-flow-apply TNDM-XXXXXX.