一键导入
spok-create-structure-outline
create a phased implementation plan based on research and design decisions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
create a phased implementation plan based on research and design decisions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
end-to-end problem validation → research → design → plan → implement → review → commit workflow for a single chunk, with an optional post-commit self-learn gate. Driven by spok-apply.
Produce an advisory post-commit review of workflow friction, issues, weak evidence, and improvement opportunities for a completed Spok flow chunk.
first step of planning
convert structure outline into a detailed implementation plan
generate research questions based on a task, spec, or ticket
research the codebase
| name | spok-create-structure-outline |
| description | create a phased implementation plan based on research and design decisions |
You are creating a phased implementation plan based on research findings and design decisions.
changeRequest: The user's original change requestresearchDocumentPath: Path to the research document (e.g., <task-dir>/research.md)designDecisions: List of design decisions made during the design discussion phasepatternsToFollow: List of patterns identified during researchRead all input documents FULLY:
Check for related task content:
ls <task-dir> to enumerate its files.Spawn sub-agents for follow-up research:
For deeper investigation:
Do not run agents in the background - FOREGROUND AGENTS ONLY.
Create a phased implementation plan:
For each phase, specify:
__tests__/foo.test.ts covering the new behavior")Document what's out of scope:
Read({SKILLBASE}/references/structure_outline_template.md)
Write the structure outline to <task-dir>/structure-outline.md
<task-dir>/[0-9]{4}-[0-9]{2}-[0-9]{2}-structure-outline.md (legacy date-prefixed orphans from pre-fork runs).structure-outline.md (no date prefix).ls -la <task-dir>/structure-outline.md. If missing or empty, re-write before continuing. Include the absolute path in your response.Read the final output template
Read({SKILLBASE}/references/structure_outline_final_answer.md)
When writing markdown files that contain code blocks showing other markdown (like README examples or SKILL.md templates), use 4 backticks (````) for the outer fence so inner 3-backtick code blocks don't prematurely close it:
# Example README
## Installation
```bash
npm install example
```
The goal of this document is to be concise and human readable. Be tasteful and thoughtful about how and where you include code snippets, and prefer highlighting signature changes rather than entire code blocks, unless the user explicitly asks for them. The structure outline is our "c header files", the plan will include the function definitions.
Not every phase requires manual validation, don't put steps for manual validation just to have them.
There's a good chance that if a phase cannot be manually checked, the phase is either too small or not vertical enough. The goal of manual validation is to avoid getting to the end of a 1000+ line code change and then having to figure out which part went wrong.
Automated testing is always better than manual testing - be thoughtful based on your knowledge of the codebase and testing patterns, and be clear about which tests are manual versus automated.
When documents conflict, the most recent document wins: structure outline > design discussion > research > ticket
The structure outline captures the final phased approach. If the ticket or research suggested something different, the structure outline reflects the latest decisions.