waterfall-plan
Detail a chosen design approach into an implementation plan (objective, file manifest, execution order, test strategy), then auto-proceed to waterfall-challenge. Convergent phase of the waterfall flow.
- License 许可
- MIT
- 所属仓库
- lithammer/ai
- 最近更新
- 2026-11-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- waterfall-plan
- description
- Detail a chosen design approach into an implementation plan (objective, file manifest, execution order, test strategy), then auto-proceed to waterfall-challenge. Convergent phase of the waterfall flow.
- disable-model-invocation
- true
02 资源文件 1
- 参考文档agents/openai.yaml111 B
03 SKILL.md 正文
Plan
Take the approach chosen in the waterfall-design skill and produce a
detailed implementation plan.
This is the convergent phase. The option space has already been exhausted in design; do not reopen it here. Detail the chosen approach into files, execution order, and tests. If detailing reveals the approach is wrong, surface it (Step 2) rather than silently switching.
Prerequisites
This skill expects an approach to have been selected via the
waterfall-design skill. If no chosen approach exists in the
conversation, ask the user what to plan.
Step 1: Extract the chosen approach
Pull the selected approach from the conversation, including:
- What the approach does and why it was chosen.
- Which files are affected.
- Known trade-offs and risks.
Step 2: Detail the plan
Expand the approach into a concrete implementation plan:
- Objective: One sentence stating what the feature does.
- Approach: How it will be built, at the level of "which modules change and why."
- File manifest: Files to create, modify, or remove, with a one-line note per file describing what changes.
- Test strategy: What tests to write and at which level (unit, integration, e2e).
- Open questions: Anything unresolved that the challenge phase should examine.
If detailing the approach reveals problems not visible at the design level (e.g. a dependency that makes the approach impractical), note them clearly. Do not silently switch to a different approach — surface the issue.
Step 3: Slice into increments
Structure the plan into shippable increments. Each increment:
- Is a single commit that leaves the codebase in a working state.
- Has a clear purpose describable in a commit message.
- Is independently reviewable — a reviewer can understand it without reading the other increments.
- Includes the relevant tests for the behavior it introduces.
Order the increments so each one builds on the last. Prefer:
- Refactoring pre-work first (from the design phase's refactor analysis).
- Infrastructure and types before the code that uses them.
- Core logic before convenience features or edge case handling.
- Tests alongside the code they cover, not in a separate increment.
Present the increments as a numbered list. For each, note which files change and what the commit message would be. If the whole feature is small enough for a single commit, say so — do not split for the sake of splitting.
Step 4: Present and proceed to challenge
Present the plan to the user, then invoke the waterfall-challenge skill
to pressure-test it. Do not wait for approval — the challenge phase is
what validates the plan. The user will approve (or reject) after the
challenge.
04 同仓库更多 Skills
shape
Review a working change for its shape (cause, ownership, states, names, size, reuse, cost), then apply what you accept.
correctness
Review a working change for defects (logic, state, lifecycle, concurrency, regression) and for drift from its ticket, docs, and rules, then apply what you accept.
zero-tech-debt
Rework a change as if the intended UX and architecture existed from day one, deleting compatibility cruft and accidental complexity.
waterfall-review
Review a code change by dispatching specialized review subagents in parallel — each focused on a single dimension (correctness, security, architecture, etc.) — then triaging their findings into a unified report. Works standalone on a branch or as part of the waterfall flow after implementation. Invoke when the user explicitly asks to review a branch or diff, or as a step inside waterfall-implement; avoid auto-triggering on casual mentions of "review".
waterfall-refactor
Identify refactoring opportunities in code that a feature will touch. Runs at strategic level during design (looking for structural moves that could change which approach is chosen) or tactical level before implementation (looking for pre-work that gives the feature a better foundation). Primarily invoked by waterfall-design or waterfall-implement; avoid auto-triggering on casual mentions of "refactor".
waterfall-implement
Implement a planned and challenged feature one increment at a time. Each increment is delegated to a subagent, then run through a review-fix loop until clean. Orchestrator stays in oversight.