skills/plan/SKILL.md
Converts SPEC.md + DESIGN.md + CHECKLIST.md into a self-contained coordinator prompt (PROMPT.md) with complete task decomposition, dependency analysis, batch scheduling, and pre-written worker prompts. The generated PROMPT.md is consumed directly by the implement skill.
npx skillsauth add laitszkin/apollo-toolkit planInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Transform business specifications (SPEC.md) and technical design (DESIGN.md + CHECKLIST.md) into a coordinator prompt (PROMPT.md).
This prompt defines a coordinator agent:
This skill is responsible for "planning the coordination strategy" — extracting information from SPEC/DESIGN/CHECKLIST, decomposing into concrete tasks, pre-writing worker prompts, and scheduling batch execution order.
docs/plans/<YYYY-MM-DD>/<spec_name>/PROMPT.md is produced and placed at the root of the spec or batch spec directoryRead the specified directory and determine the type:
Read all files thoroughly:
SPEC.md — Business requirements and scope (BDD GIVEN/WHEN/THEN), In/Out of ScopeDESIGN.md — Module architecture, interaction anchors (INT-###), external dependencies (EXT-###), system invariants, technical trade-offsCHECKLIST.md — Behavior-to-test mapping, hardening requirements, test level choicesDecompose the architecture design from DESIGN.md into tasks precise to the file or function level.
Decomposition principles:
Decide whether each task needs an independent worker:
Analyze dependencies between tasks:
Output: Task DAG → PROMPT.md Section 5 (Task Units).
Analyze dependencies between specs:
Output: Spec DAG.
File overlap detection is the gate that determines parallelism. Perform this across all task units:
For each task that needs an independent worker, write a self-contained worker prompt. → PROMPT.md Section 6 (Worker Prompt Library).
Each worker prompt must include:
## Mission — What to do and why
## Input — Which files to read
## What to do — Concrete steps (describe "what" to do, not "which tool" to use)
## Scope — Allowed and forbidden files
## Output — What to report on completion (file list, change summary, test results, risks)
## Verify — Verification commands and expected results
## Boundaries — Constraints (don't touch other workers' files, don't add dependencies, report blockers)
Writing principles:
Tasks that do not need a worker (purely procedural operations) do not get a worker prompt. The coordinator handles these directly in the corresponding batch.
Based on dependency analysis and file overlap detection, build the batch schedule → PROMPT.md Section 7 (Batch Schedule).
Batch partitioning principles (file overlap is the hard gate):
→ PROMPT.md Section 9 (Error Recovery).
→ PROMPT.md Section 10 (Boundaries).
Use assets/templates/PROMPT.md. Fill each section according to the table below.
| Section | Content Source | |---------|---------------| | 1. Your Role | Fixed template (no modification needed) | | 2. Mission | SPEC.md Goal + business value | | 3. Scope & Boundaries | SPEC.md In/Out of Scope | | 4. Technical Context | DESIGN.md: module list with responsibilities, interaction anchors (INT-###) and dependency order, external dependency setup order (EXT-###), system invariants, technical decisions and trade-offs | | 5. Task Units | Step 3 (task decomposition) + Step 4 (dependency analysis) | | 6. Worker Prompt Library | Step 6 — one entry per dispatchable task | | 7. Batch Schedule | Step 7 (batch schedule) | | 8. Verification Checkpoints | CHECKLIST.md: behavior-to-test mapping (CL-###), hardening requirements, test execution commands | | 9. Error Recovery | Fixed template — populate spec-specific test commands from CHECKLIST.md | | 10. Boundaries | Fixed template + spec-specific rules |
Before delivering PROMPT.md, verify all of the following.
Worker prompt quality:
Coverage completeness:
Structural consistency:
Place the PROMPT.md at the root of the spec or batch spec directory.
assets/templates/PROMPT.md — PROMPT.md templatedevelopment
Read a user-specified PDF that marks the week's key financial events, deeply research each marked event with current sources, capture any additional breaking financial developments, and produce a concise Chinese-capable PDF briefing that explains what happened and why it matters.
documentation
Generate long-form videos (more than 10 minutes) by following user instructions and invoking related skills only when needed (`openai-text-to-image-storyboard`, `docs-to-voice`, `remotion-best-practices`). For text inputs, extract a complete long-form story arc, generate fresh storyboard images (no reuse of previously generated pictures), and render a 16:9 animated long-form video.
tools
協助完成自動化版本發佈。同步文檔、更新版本號、推送 tag 並建立 GitHub Release。
development
Incrementally refresh the architecture atlas when the project diagram drifts from actual code. Measures drift before updating to determine scope, then updates the base atlas and re-renders HTML.