agentleFS
augments-labsaugments-labs/sdlc-skills/skills/design/writing-plans/SKILL.md

writing-plans

Skill1 starsChanged 4 months agoMITView on GitHub

Writes an executable plan: ordered tasks, their dependencies, and how each one is known to be done. Use when approved requirements or a clearly multi-step task need a per-task plan before implementation, or when the user says break this down, lay out the steps first, or this is too big to do in one go. Skip single-step or trivial work.

189 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use diagnosing-superpowers, chinese-git-workflow and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • obraSkill

    diagnosing-superpowers

    Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.

    Also in 6 projects that use this

  • MorningStar0709Skill

    chinese-git-workflow

    Configure Git for domestic platforms and manage branching strategies suitable for Chinese teams. Use when the user asks to configure remotes, set up SSH, or manage Git workflows for Gitee, Coding, Jihu GitLab, or CNB, including requests like "配置国内 Git", "设置 Gitee 远程仓库", "推荐适合小团队的 Git 流程".

    Also in 4 projects that use this

  • SuperInstanceSkill

    marketing-mode

    Marketing Mode combines 23 comprehensive marketing skills covering strategy, psychology, content, SEO, conversion optimization, and paid growth. Use when users need marketing strategy, copywriting, SEO help, conversion optimization, paid advertising, or any marketing tactic.

    Also in 4 projects that use this

  • itallstartedwithaideaSkill

    long-horizon-workflows

    Long-Horizon Workflows enable AI agents to execute multi-hour, multi-phase autonomous pipelines that far exceed the scope of a single conversation turn.

    Also in 4 projects that use this

  • shibit-netSkill

    chinese-code-review

    中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。

    Also in 3 projects that use this

  • shibit-netSkill

    chinese-commit-conventions

    中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。

    Also in 3 projects that use this

  • +1 more from shibit-net

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 4 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 174 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write a small durable index plus one thin contract per task, get the exact version approved, then hand it to the executor the chosen mode …

    line 8
  2. Distinctive:

    Write separate plans for independent subsystems unless one cutover or rollback makes them one initiative.

    line 25
  3. Very specific:

    Leave Integration cadence at plan end.

    line 36
  4. Distinctive:

    Put existing code and external input artifacts in Context.

    line 56
  5. Very specific:

    Write 00-index.md plus one file per task to .sdlc-skills/plans/{{YYYY-MM-DD}}-{{topic}}/.

    line 69
  6. Very specific:

    Run bash scripts/plan-version.sh on the plan directory before presenting.

    line 99
  7. Very specific:

    Ask through the harness's user-input action when one exists, else print this block.

    line 114
  8. Distinctive:

    Do not invoke either executor, create a workspace, or write code in this turn.

    line 115

“Common” is measured: kept by at least 6 in 10 of the 174 edited versions of this file we could read. “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

Writing Plans

Write a small durable index plus one thin contract per task, get the exact version approved, then hand it to the executor the chosen mode names. Leave the implementation to the executor: write what each task must make true and how that is judged, not the code.

When to use

  • Detailed requirements are approved, or a precise task spans ≥3 steps or multiple files.
  • Skip for single-step or trivial changes.
  • Intent still ambiguous: invoke clarifying-intent first. Verifiable behavior still missing: invoke writing-specs first. A precise task needs neither.
  • Fill the classification block. High-risk means any answer is off the ordinary route, or the user marks the work so. For a high-risk target, read the approved migration and assurance contracts before writing a task. If they are missing, plan only the gate that is missing, consuming the exact proposed contract, and put no target work in the plan; record unsettled facts as evidence, never as accepted deviations.
  • Write separate plans for independent subsystems unless one cutover or rollback makes them one initiative.

Available scripts

  • scripts/plan-version.sh — prints the plan's version.

Step 1: Write the index

  1. Open assets/index-template.md when starting the index. Fill the header first.
  2. Leave Integration cadence at plan end. Write per task only when the user directly asked for per-task integration, and quote the instruction.
  3. Approved UI design with Selected visual references → copy the complete keyed collection into the index; map every Reference ID to an owning task and conformance evaluator ID in Visual reference coverage. Missing reference or unowned ID → return the plan to ui-ux-design.
  4. Give every file and side effect exactly one owning task. Two tasks on the same one → add a dependency and name a single transition owner.
  5. One transformation across many items → bind the machine-readable inventory and the output pattern instead of listing items.

Step 2: Write the tasks

  1. Slice vertically: one evaluable capability per task. Split only at a real gate boundary. High-risk target work → read references/scalable-transformation.md before slicing; copy transition policy from the migration contract.
  2. Open assets/task-template.md before writing each task. Fill Task ID, Depends on, Files, Exclusive ownership/effects, Context as paths.
  3. Fill Consumes from earlier tasks' exact Produces names and types. Put existing code and external input artifacts in Context; do not invent producer tasks for inputs that already exist.
  4. Fill Implementation disciplines: test-driven-development + yagni, or the exact carve-out.
  5. Fill Evaluator: a command that returns a verdict, or a rubric with its accountable judge and deciding observations. UI task → copy Applicable visual references and give every Reference ID a Visual conformance gates row.
  6. Fill Evaluator identity/owner so the gate lives outside what the task may mutate. A task that may edit its own gate → write the permitted scope and require RED or deliberate falsification before GREEN counts.
  7. Fill Suggested tier with the Model selection section of dispatching-parallel-agents.
  8. Write 00-index.md plus one file per task to .sdlc-skills/plans/{{YYYY-MM-DD}}-{{topic}}/. No approval, execution state, or evidence in these files. Every later change to what they specify is a successor file.

Step 3: Self-review against the inputs, by name

  1. Trace each requirement and accepted risk gate to a task or phase. Fix uncovered requirements; cut tasks tracing to nothing.
  2. Replace every TBD, handle edge cases, similar to task N with the task it hides; replace an Expected: value not produced by running the command on the current tree with the value the command printed, or a rubric when the command cannot run yet.
  3. Confirm every task has an executable Evaluator or controlled rubric, and the index has one top-level Acceptance check.
  4. Resolve every Consumes to a Produces under the same name and type. Check the index's Constraints block against every task.
  5. Confirm every selected Reference ID has a carrying task and a matching conformance evaluator.
  6. Confirm independent tasks have disjoint files, data, effects, evaluators, and external state; every overlap has a dependency and one owner.
  7. Fill Review focus with up to five spec-implied inputs or failure modes no task Evaluator exercises, or mark it none; give every none yet row a check or name it in the PR.
  8. REQUIRED SUB-SKILL: invoke reviewing-plans when the route is high-risk; resolve every blocker it returns; for any other plan, ask the offer question reviewing-plans states.

Step 4: Present, then stop

  1. Run bash scripts/plan-version.sh on the plan directory before presenting. Show the complete index and the printed version to the Approval rule owner:

    Plan {{path}} — version {{printed version}}
    {{goal, architecture, constraints, acceptance, trace, task list, review findings}}
    
    1. Approve, then choose an execution mode
    2. Request changes
    3. Reject
    4. Cancel
    
    Recommendation: {{option}} — {{one sentence}}.

    Ask through the harness's user-input action when one exists, else print this block; end the turn; clarifying-intent owns what closes it.

  2. Do not invoke either executor, create a workspace, or write code in this turn.
  3. Standing order → proceed unpaused only when its scope, owner, constraints, and mode explicitly cover unseen plan versions. Bind the exact version to that receipt first.
  4. On approval, in a separate turn, ask the mode question from assets/mode-question.md when the ledger row for this version records no mode:. That file owns the block, the subagent-action condition, and how to ask it.
  5. Append one row to the External decision ledger, a ledger (append-only, outside the plan): Identity = the printed version, Location = the index path, State = approved, Bound evidence = the Approval rule owner and their answer, any review report path, then mode: inline or mode: delegated. Write nothing about approval into the index.
  6. REQUIRED SUB-SKILL: on a direct mode answer, invoke the executor that mode names against the approved version before any workspace or implementation action: executing-plans for inline, subagent-driven-development for delegated. This skill writes no code.

Gotchas

  • A row keyed to the index's Normative version line survives a task-file edit; key rows to the printed version.

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.