battle-plan
Skill0 starsChanged 4 months agoMITView on GitHub
Write a dispatch-ready software implementation plan from resolved design. Use when the user asks for an executable implementation plan for an AI agent or orchestrator, including parent-only work and plans split into dependency-ordered subagent waves.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- ElliotJLT/Claude-Skill-Potionstheir own version, first seen Feb 12, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- ElliotJLT/Claude-Skill-Potions★ 60same 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 repositoryOne other file it gives its agents.
- spicy-alignmentSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 13 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Use this inclusion test:
- Distinctive: line 24
Read the project's instructions and relevant implementation paths before drafting.
- Distinctive: line 36
Use current official documentation for version-sensitive libraries and APIs.
- Distinctive: line 38
Done when: every proposed changed symbol has its definitions, callers, consumers, neighboring convention, tests, and applicable external …
- Very specific: line 52
Do not copy exhaustive option history merely for review.
- Distinctive: line 56
Done when: every task can resolve its required contract, path, symbol, input, expected behavior, and verification command inside the plan.
- Very specific: line 60
Use templates/plan-template.md as the output skeleton.
- Distinctive: line 92
Put independent tasks in the same wave.
- Distinctive: line 96
Done when: every in-scope change belongs to exactly one task.
- Distinctive: line 102
Start with the most precise compact representation: code map, contract or field table, dependency list, or checklist.
- Very specific: line 116
Replay/resume branch: If an operation can be resumed, retried, or replayed, read references/replay-resume-plans.md and lock its temporal …
- Distinctive: line 128
Use the project's real commands and required environment variables, not generic template commands.
- Distinctive: line 130
Done when: every task has a targeted check, every dependency boundary has a parent-run gate, final verification covers all applicable …
- Distinctive: line 136
Before returning the plan, verify all of the following:
- Distinctive: line 156
Artificial decomposition: Delete unused template tasks, waves, and phases instead of forcing a small change into them.
- Distinctive: line 158
Stale locked decisions: When alignment changes, sweep contracts, examples, compatibility, tasks, tests, risks, and references for the …
≈ “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.
Files
Battle Plan
An implementation plan is a self-contained execution specification for an AI orchestrator. It lets the orchestrator and delegated agents implement without rediscovering design, scope, order, ownership, or verification.
This workflow starts after design alignment is complete. If an implementation decision remains unresolved, continue research or return to alignment. A finished plan contains implementation work, not open questions or experiments whose verdict could change the design.
Use this inclusion test:
Include content only when it helps an implementation agent choose the correct change, helps the orchestrator schedule or verify work, or preserves a constraint that prevents a wrong implementation.
Workflow
1. Establish the verified baseline
Read the project's instructions and relevant implementation paths before drafting.
Verify:
- current branch, working-tree state, and baseline commit;
- the resolved alignment/design record;
- definitions and every relevant caller or consumer of changed symbols;
- neighboring code that establishes project conventions;
- tests and fixtures that encode current behavior;
- exact test, lint, typecheck, build, migration, and generation commands;
- cross-repo or external consumers of changed contracts.
Use current official documentation for version-sensitive libraries and APIs. Run a baseline verification command when the environment permits it. Record the exact command and observed result; never present an expected result as observed.
Done when: every proposed changed symbol has its definitions, callers, consumers, neighboring convention, tests, and applicable external contract traced; every resulting path and command is backed by inspected code, project instructions, or verified documentation.
2. Retire uncertainty before authoring
Planning may run implementation-confirming probes — checks that verify a chosen approach works, without changing what was chosen. Fold their verified verdicts and evidence into the plan as locked facts.
Any probe result that would change architecture, scope, contract, or compatibility reopens alignment; authoring resumes only after the changed decision is locked there. If an unknown can only be observed at runtime and does not reopen design, specify one deterministic guard and expected behavior in the implementation and tests.
Done when: the plan contains no “spike decides,” unresolved branch, default-unless-overridden question, or agent-owned design choice.
3. Make the plan self-contained
The executor must not need to open the alignment record. Link it for provenance, then copy every locked decision, rationale, contract, example, and invariant whose omission could cause guessing or the wrong mechanism.
Do not copy exhaustive option history merely for review. Prefer compact locked contracts with stable IDs (C1, C2, …) that tasks can cite. Include normative code or payload examples only when an exact schema, signature, boundary, or unfamiliar pattern is clearer than prose.
For every shared surface, state the compatibility/breaking-change verdict and required handling or proof. Check wire schemas, persistence and reload, generated clients, rollout order, configuration, migrations, documentation, and separate consumers as applicable.
Done when: every task can resolve its required contract, path, symbol, input, expected behavior, and verification command inside the plan; external references supply provenance only.
4. Build the code map and execution graph
Use templates/plan-template.md as the output skeleton. Centralize exact paths and symbols in the code map so tasks stay terse.
Choose the execution scale before organizing tasks:
- Small, parent-only, or tightly coupled work: a direct task list. No phase or wave headings.
- Non-trivial, dependency-rich, or delegated work: Phase → Wave → Task, using only the levels that encode a real objective or dependency boundary — e.g. a single-phase plan may keep waves and drop the phase heading.
Phase → Wave → Task, when used:
- Phase — a coherent delivery objective or risk boundary.
- Wave — work safe to run concurrently after the previous wave's gate passes.
- Task — one bounded implementation assignment with one writer for every owned file.
Use progressive detail:
- the phase heading states the objective;
- the wave heading states dependencies, parallel or serial execution, file-ownership boundaries, and one wave gate;
- each task checkbox states its ID, owner (
subagentorparent), exact paths and symbols, change, applicable contract IDs, tests, and exact targeted verification in one compact unit.
Do not repeat separate Owner, Depends on, Owns, Implement, and Done when blocks when the hierarchy already carries that information. Add task-specific prose only for a genuinely non-obvious constraint. A task should fit one bounded agent run; split independent deliverables or work whose verification depends on unrelated changes.
Decide whether to delegate
Delegate when all are true:
- at least two implementation tasks have disjoint write ownership;
- each task has a bounded objective and local verification command;
- neither task requires a new design decision;
- coordination costs less than the parent context saved.
For a qualifying plan, delegation is required rather than advisory. Keep work parent-owned when it is one small task, proposed workers overlap on files or symbols, correctness needs a tight cross-boundary edit-test-debug loop, or the work is shared-file wiring, final integration, or full-suite verification.
Put independent tasks in the same wave. Put overlapping writers and consumers of unverified outputs in later waves. Assign shared integration files to one later task or the parent. The parent inspects artifacts and diffs, then runs the wave gate before dispatching dependents.
State the delegation decision even for a parent-only plan.
Done when: every in-scope change belongs to exactly one task; concurrent tasks have disjoint write ownership; every dependency is represented by wave order; each task and wave has an exact verification gate.
A hierarchy level that encodes no real objective or dependency boundary must not appear — a one-task parent-only plan has no phase or wave heading at all.
5. Use visualization only for execution value
Start with the most precise compact representation: code map, contract or field table, dependency list, or checklist. Add Mermaid only when the executor would otherwise need to mentally simulate a relationship that affects implementation or order.
A diagram earns its place when, for example:
- control crosses services or processes and event order matters;
- a state machine has retries, interrupts, replay, rollback, or invalid transitions;
- dependency topology is not clear from the wave list;
- entity relationships determine migration, ownership, or deletion order;
- current and target flows differ in a way likely to cause edits on the wrong path.
Prefer a table or list for paths and symbols, field mappings, compatibility verdicts, linear steps, ownership, tests, and commands. Every diagram must be cited by a contract, invariant, or task. If removing it would not change implementation behavior, omit it. Current-state and target-state diagrams are never mandatory as a pair.
Done when: removing any included diagram would make an implementation choice or execution order less clear; every retained diagram is cited by a contract, invariant, or task.
Replay/resume branch: If an operation can be resumed, retried, or replayed, read references/replay-resume-plans.md and lock its temporal contract and test matrix before building dependent waves.
6. Write exact gates
Specify:
- targeted verification in every task;
- one parent-run gate per wave before dependent dispatch, including artifact and diff inspection;
- final full-suite, lint, typecheck, build, generation, and migration checks that apply;
- manual or external verification that cannot be automated, or explicitly state that none is required;
- plausible implementation or operational risks with prevention, detection, and rollback.
Use the project's real commands and required environment variables, not generic template commands.
Done when: every task has a targeted check, every dependency boundary has a parent-run gate, final verification covers all applicable project checks, and every non-automated obligation has an owner and observable result.
The plan file is the durable progress record. During execution, the orchestrator mirrors task IDs into its live todo mechanism. Workers report evidence; the parent verifies it and alone marks task checkboxes complete with concise result notes. Workers do not edit the shared plan file.
7. Run the authoring gate
Before returning the plan, verify all of the following:
- No unresolved implementation decision, proposed choice, or research task remains.
- The plan is self-contained; source records are not execution prerequisites.
- Every named file and symbol exists, or is explicitly marked new.
- Every in-scope change maps to exactly one task.
- Concurrent tasks have disjoint write ownership.
- The delegation decision follows the rubric and is explained.
- Every task has an exact targeted verification command.
- Every dependent wave has a parent-run artifact/diff and verification gate.
- Compatibility, breaking changes, migrations, configuration, docs, and consumers are accounted for.
- Final verification and done conditions are objective.
- Every diagram passes the execution-value test.
- Replay/resume plans lock the temporal contract and include the replay-focused test matrix and wave gate.
- No empty boilerplate section or fabricated alternative remains.
Save to the project's existing implementation-plan directory. If none exists, use development_docs/implementation-plan/<topic>-impl-plan.md. Keep the filename about the capability, not the planning activity.
Pitfalls
- Artificial decomposition. Delete unused template tasks, waves, and phases instead of forcing a small change into them.
- Parallelizing by logic while ignoring file overlap. One file has one writer per wave.
- Stale locked decisions. When alignment changes, sweep contracts, examples, compatibility, tasks, tests, risks, and references for the rejected mechanism.
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
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.

