agentleFS
Asm3r96Asm3r96/wave-driven-dev/skills/wave-planner/SKILL.md

wave-planner

Skill1 starsChanged 9 months agoMITView on GitHub

Plan and execute large multi-step, multi-stack changes with contract-first waves, parallel worker ownership, user approval gates, ordered integration, and final verification/docs updates. Use only when the task spans multiple areas (for example frontend, backend, tests, errors, docs) or has dependency-heavy sequencing.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. smith-horn/product-builder-starter★ 10same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository3 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

27 rules. About 0 are common, 22 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈22

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create and run a Wave-Driven Development plan for large, cross-stack tasks.

    line 8
  2. Distinctive:

    Use only if work is large, multi-step, and touches multiple parts/stacks.

    line 25
  3. Distinctive:

    If not large enough, do not use this skill.

    line 26
  4. Distinctive:

    Ask for Gate 1 user approval before planning:

    line 27
  5. Distinctive:

    Stop until user accepts or declines.

    line 29
  6. Distinctive:

    If accepted, draft the plan:

    line 30
  7. Distinctive:

    Use a clear feature-based filename for the plan.

    line 36
  8. Distinctive:

    Prefer 1-2 waves unless more waves are clearly needed to avoid conflicts or sequencing problems.

    line 38
  9. Distinctive:

    Use the minimum number of waves that still avoids conflicts.

    line 39
  10. Distinctive:

    Keep each worker task medium-sized (not tiny and not overloaded).

    line 42
  11. Distinctive:

    Ensure each worker has explicit file/module ownership.

    line 43
  12. Distinctive:

    Ask for Gate 2 user approval before execution:

    line 53
  13. Distinctive:

    If accepted, execute with Codex swarm/subagents:

    line 56
  14. Very specific:

    Use gpt-5.4-mini for those worker subagents.

    line 58
  15. Distinctive:

    Run subagents in parallel inside a wave, but execute waves sequentially.

    line 60
  16. Distinctive:

    Wait for all subagents in the wave to finish and validate handoffs before starting the next wave.

    line 61
  17. Distinctive:

    Follow existing documentation format and conventions.

    line 66
  18. Distinctive:

    If the project has a status-tracking document or progress board, update it during closeout so completed work and remaining open work stay …

    line 69
  19. Distinctive:

    Commit-scope rule: before committing, inspect git status and commit only the files that belong to the planned task.

    line 85
  20. Distinctive:

    Use Codex built-in subagents for execution.

    line 92
  21. Very specific:

    Default all worker/subagent execution to gpt-5.4-mini.

    line 95
  22. Distinctive:

    Prefer a very strong plan, strict ownership, and clear contracts over increasing model size.

    line 97
  23. Very specific:

    If a task is unusually complex and gpt-5.4-mini is clearly insufficient, pause and ask the user before using a stronger model.

    line 99
  24. Very specific:

    Do not use per-task model routing by default.

    line 100
  25. Distinctive:

    Always output the final plan using this section order:

    line 114
  26. Very specific:

    Use templates from templates/ when helpful.

    line 123
  27. Distinctive:

    After execution, keep the user-facing summary short by default and include:

    line 127

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Wave Planner

Create and run a Wave-Driven Development plan for large, cross-stack tasks.

Objective

Produce:

  • Vision and scope boundaries
  • Decision Log
  • Wave 0 contracts
  • Wave 1..N parallel implementation waves
  • Integration wave
  • Final verification wave
  • Documentation update step
  • Ready-to-send worker prompts and execution checklist

Workflow

  1. Decide whether to use this skill:
  • Use only if work is large, multi-step, and touches multiple parts/stacks.
  • If not large enough, do not use this skill.
  1. Ask for Gate 1 user approval before planning:
  • Send a short reason: "I recommend Wave method because <short reason>. Do you agree?"
  • Stop until user accepts or declines.
  1. If accepted, draft the plan:
  • Clarify done criteria and out-of-scope.
  • Build Decision Log (naming, API shape, error model, logging, tests, style constraints).
  • Define Wave 0 contracts first (types/interfaces/schemas, boundaries, API shapes, constants, flags/migrations).
  • Because worker execution uses gpt-5.4-mini, make the plan unusually clear and concrete so smaller agents can execute reliably without guessing.
  • Save the plan by default inside .planning/; create the folder if it does not exist.
  • Use a clear feature-based filename for the plan.
  1. Choose wave and agent count with balancing rules:
  • Prefer 1-2 waves unless more waves are clearly needed to avoid conflicts or sequencing problems.
  • Use the minimum number of waves that still avoids conflicts.
  • Group independent tasks into the same wave.
  • Move dependency-bound tasks to later waves.
  • Keep each worker task medium-sized (not tiny and not overloaded).
  • Ensure each worker has explicit file/module ownership.
  1. Produce a one-line execution preview before full detail:
  • One line per wave.
  • One line per worker with task summary.
  1. Produce the full plan with complete shared context:
  • Include full vision and all waves so each worker sees global intent.
  • Include worker-specific goals, files, constraints, and verification.
  • Include explicit wave order for execution (Wave 0, then Wave 1..N, then Integration, then Final Verification, then Docs).
  • Make each worker prompt highly specific: exact ownership, exact files/modules, exact handoff format, exact verification steps, and any important non-goals.
  • By default, save the full plan to the plan file and do not dump the full plan in chat unless the user explicitly asks.
  1. Ask for Gate 2 user approval before execution:
  • "Plan is ready. Execute now?"
  • Stop until user accepts or declines.
  1. If accepted, execute with Codex swarm/subagents:
  • Spawn one named Codex subagent per worker in the current wave.
  • Use gpt-5.4-mini for those worker subagents.
  • The main Codex agent controls the subagents, assigns ownership, monitors progress, validates handoffs, and decides when a wave is complete.
  • Run subagents in parallel inside a wave, but execute waves sequentially.
  • Wait for all subagents in the wave to finish and validate handoffs before starting the next wave.
  • Close finished subagents after completion.
  1. After all waves:
  • Main agent reviews merged result and runs verification tests.
  • Main agent updates existing docs if needed, or adds new docs for new features.
  • Follow existing documentation format and conventions.
  • Main agent updates the original plan file status to Completed or Blocked.
  • Main agent adds final verification notes to the original plan file.
  • If the project has a status-tracking document or progress board, update it during closeout so completed work and remaining open work stay accurate.

Global Rules

  • Gating rule: planning and execution require explicit user approvals (Gate 1 and Gate 2).
  • Ownership rule: workers edit only assigned files.
  • Dependency rule: if outside scope is needed, return a Dependency Note instead of editing.
  • Consistency rule: follow existing repo patterns; do not invent new architecture unless requested.
  • Verifiability rule: each worker includes at least one concrete verification method.
  • Ordering rule: wave order is strict; do not start next wave early.
  • Subagent rule: one named Codex subagent per worker; close finished subagents.
  • Planning quality rule: because workers default to gpt-5.4-mini, the main plan must be detailed, concrete, and unambiguous enough that workers do not need to invent missing structure.
  • Plan-location rule: save plans in .planning/ by default and create the folder if needed.
  • Worker-context rule: every worker must read the original plan file first for the full picture before editing.
  • Handoff rule: every worker must append its handoff into the original plan file, not only reply in-session.
  • Deduplication rule: if a worker reports more than once, keep one clean final handoff entry in the plan file.
  • Commit-scope rule: before committing, inspect git status and commit only the files that belong to the planned task.
  • Verification-scope rule: run targeted checks first, then broader checks; report unrelated pre-existing failures clearly as outside the feature scope.
  • Status-tracking rule: if the project uses a status-tracking doc, board, or changelog-in-progress, update it as part of closeout so project status reflects what was completed and what remains open.
  • Docs rule: docs update is mandatory in final step (update existing docs or add new).

Model Routing Configuration

Use Codex built-in subagents for execution.

Rules:

  • Default all worker/subagent execution to gpt-5.4-mini.
  • The main Codex agent remains responsible for planning, orchestration, integration, and final verification.
  • Prefer a very strong plan, strict ownership, and clear contracts over increasing model size.
  • Assume smaller workers perform best when instructions are explicit, scoped, and testable; plan accordingly.
  • If a task is unusually complex and gpt-5.4-mini is clearly insufficient, pause and ask the user before using a stronger model.
  • Do not use per-task model routing by default; prefer gpt-5.4-mini unless the user approves an exception.

Mandatory Worker Handoff Format

  1. Summary (1-3 lines)
  2. Files changed (exact list)
  3. Patch/diffs (or exact edits)
  4. How to test (commands + expected result)
  5. Risks/TODOs/Dependency Notes
  6. Main plan log entry (what to append to shared execution log)
  7. Completion marker: WAVE {WAVE_ID} / {AGENT_NAME} DONE

Output Contract

Always output the final plan using this section order:

  • A) Vision
  • B) Decision Log
  • C) Contracts (Wave 0)
  • D) Waves (1..N with agents)
  • E) Integration + Final Verification + Docs
  • F) Worker prompts
  • G) Execution checklist (Codex subagents + wave order)

Use templates from templates/ when helpful.

Final Response Contract

After execution, keep the user-facing summary short by default and include:

  • what was implemented
  • where the plan file lives
  • what tests/checks passed
  • what is still failing, blocked, or outside scope

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.