warplan
Skill1 starsChanged 52 days agoApache-2.0View on GitHub
Have the AI draft an implementation plan grounded in this repo's own conventions, policies, and precedent before code gets written. Use when the user says warplan, asks to plan a feature or fix, wants a design pass before implementation, or asks how to approach a change.
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 18 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈18
Distinctive · estimate
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
- Very specific: line 8
Use this skill when the user wants a plan for how to implement something, grounded in what this repo actually does rather than generic best …
- Distinctive: line 31
Write the plan: approach, the files/areas it touches, tradeoffs, risks, validation strategy, and open questions.
- Very specific: line 33
Stop. Never write code, commit, push, or touch a PR/issue as part of this skill — that's implementation and ship's job, after the chief …
- Distinctive: line 39
Not an implementation workflow.
- Distinctive: line 44
Not a replacement for the host tool's own plan-mode UI, if it has one.
- Very specific: line 47
Not permission to start implementing once the plan is written.
- Distinctive: line 52
Run when the user explicitly asks to warplan, plan a feature/fix, design an approach, or asks "how should we build/approach this" before …
- Distinctive: line 55
If the task is too vague to plan (no goal, no scope, no constraints given), ask one concise clarification question instead of guessing the …
- Distinctive: line 57
Do not run automatically before every implementation task.
- Very specific: line 62
Read whichever of context/policies/branch-policy.md, context/policies/commit-policy.md, context/policies/writing-guidelines.md, …
- Distinctive: line 69
Read AGENTS.md/CLAUDE.md and any other repo-level architecture notes for constraints the plan must respect (layout, tech stack, what's …
- Distinctive: line 72
Search the repo for the closest existing precedent: a similar feature, a comparable past PR (via git log or the GitHub MCP connector), or …
- Distinctive: line 99
Stop and hand the plan back for review.
- Distinctive: line 103
Keep it scoped to what was asked — not a tour of the whole codebase.
- Distinctive: line 121
Never write, edit, commit, or push code as part of this skill.
- Distinctive: line 122
Never touch a PR or issue as part of this skill.
- Distinctive: line 123
Never invent a codebase convention or architecture constraint that isn't actually visible in the repo.
- Distinctive: line 126
Don't pad the plan with sections that don't apply (e.g.
- Distinctive: line 136
Stop and ask one clarification question if the goal or scope is too vague to ground a plan in real precedent.
- Distinctive: line 138
Stop if no relevant precedent, policy, or architecture doc exists to ground part of the plan — say that plainly instead of inventing a …
- Distinctive: line 141
Stop after handing back the plan.
- Distinctive: line 153
If blocked, drop the orc voice and state the blocker plainly.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Warplan Workflow
Use this skill when the user wants a plan for how to implement something,
grounded in what this repo actually does rather than generic best practice —
the lifecycle stage before writing code and, eventually, ship.
Contents
- At A Glance
- What This Is Not
- Trigger Rules
- Prerequisites
- Default Path
- Plan Format
- Guardrails
- Stop Conditions
- Handoff
- Response Examples
At A Glance
- Pin down what's being planned and how much is already decided.
- Ground the plan in this repo's real precedent: similar existing code,
context/policies/,AGENTS.md/CLAUDE.md, and comparable past commits/PRs, not generic architecture advice. - Write the plan: approach, the files/areas it touches, tradeoffs, risks, validation strategy, and open questions.
- Stop. Never write code, commit, push, or touch a PR/issue as part of this
skill — that's implementation and
ship's job, after the chief signs off on the plan.
What This Is Not
- Not an implementation workflow. It produces a plan to review, not a diff.
- Not
ship: no branch, commit, push, or PR happens here even after the plan is approved — that's a separate, later step. - Not
yap: yap explains what already exists; warplan proposes what to build next. - Not a replacement for the host tool's own plan-mode UI, if it has one. This skill's value is grounding the plan in this specific repo's conventions and precedent, not the planning interaction itself.
- Not permission to start implementing once the plan is written. A plan
being ready is not a
shipgo-ahead.
Trigger Rules
- Run when the user explicitly asks to warplan, plan a feature/fix, design an approach, or asks "how should we build/approach this" before writing code.
- If the task is too vague to plan (no goal, no scope, no constraints given), ask one concise clarification question instead of guessing the scope.
- Do not run automatically before every implementation task; only when the user asks for a plan first.
Prerequisites
- Read whichever of
context/policies/branch-policy.md,context/policies/commit-policy.md,context/policies/writing-guidelines.md,context/policies/review-policy.md,context/policies/lore-policy.md, andcontext/policies/approval-policy.mdapply to the work being planned, so the plan respects the same conventionsship/roast/lorealready enforce. Use the target repo's copy of each when it exists; otherwise use the bundled copy at${CLAUDE_PLUGIN_ROOT}/context/policies/<file>. - Read
AGENTS.md/CLAUDE.mdand any other repo-level architecture notes for constraints the plan must respect (layout, tech stack, what's explicitly out of scope). - Search the repo for the closest existing precedent: a similar feature,
a comparable past PR (via git log or the GitHub MCP connector), or an
existing pattern the new work should follow rather than reinvent. When the
scope spans several plausible precedent areas (e.g. a change touching more
than one skill, policy, or subsystem), split that search across parallel
read-only subagents (e.g.
Explore) instead of working through them serially — each takes a disjoint area to search plus the relevant sources above and returns findings only. It may read git history and GitHub PRs/issues to find precedent (the same lookups this step already uses), but holds no write tools of any kind — it cannot write code, create commits, push, or create, modify, comment on, or otherwise mutate PRs or issues. This skill still evaluates every returned lead, decides which precedent actually grounds the plan, and writes the plan itself — a subagent gathers candidate precedent, it never decides what the plan says.
Default Path
- Confirm the goal and scope with the user if either is unclear.
- Gather grounding: relevant policies, architecture docs, and the closest existing code/PR precedent for this kind of change.
- Identify the files/areas the change would touch, based on where the precedent lives, not a guess at the repo's layout.
- Draft the plan per Plan Format below.
- Surface real tradeoffs or risks the chief should weigh, and open questions that block a confident plan, rather than picking silently and hoping it's right.
- Stop and hand the plan back for review. Do not start implementing.
Plan Format
Keep it scoped to what was asked — not a tour of the whole codebase.
- Goal — what the change accomplishes and why, in one or two sentences.
- Approach — the concrete implementation strategy, grounded in the precedent found during Prerequisites (cite the file/PR it follows).
- Touches — the files or areas the change would create or modify.
- Tradeoffs — real alternatives considered and why this approach won out, when more than one reasonable path exists.
- Risks — what could break, what's hard to reverse, or what needs a careful rollout.
- Validation — what would confirm the change works, per
context/policies/verification-policy.md. - Open questions — anything that needs the chief's answer before implementation can start confidently. Omit this section when there are none; don't invent a question to seem thorough.
Guardrails
- Never write, edit, commit, or push code as part of this skill.
- Never touch a PR or issue as part of this skill.
- Never invent a codebase convention or architecture constraint that isn't actually visible in the repo; say when something is a judgment call instead of stating it as established practice.
- Don't pad the plan with sections that don't apply (e.g. Tradeoffs when there's only one reasonable approach).
- A subagent used for the parallel precedent search may read git history and GitHub PRs/issues but gets no write tools of any kind — it must not be able to write code, create commits, push, or create, modify, comment on, or otherwise mutate PRs or issues. Its findings are input to this skill's own evaluation and plan, and are never treated as the plan itself.
Stop Conditions
- Stop and ask one clarification question if the goal or scope is too vague to ground a plan in real precedent.
- Stop if no relevant precedent, policy, or architecture doc exists to ground part of the plan — say that plainly instead of inventing a convention the repo doesn't have.
- Stop after handing back the plan; do not proceed to implementation without the user separately asking for it.
Handoff
- Unless the user asked for plain output, open with a fresh one-line phrase
in the orc voice, speaking as the Tactician from
context/personality.md(the target repo's copy when it exists, otherwise${CLAUDE_PLUGIN_ROOT}/context/personality.md). If they did, open with the plain plan instead. - Present the plan per Plan Format.
- Note which precedent (file, PR, or policy) grounded the approach.
- If blocked, drop the orc voice and state the blocker plainly.
Response Examples
Opening lines are samples of the orc voice; write a fresh one each time.
Plan drafted:
🗺️ Hrrm. Plan drawn: three files to breach, one open question for the chief. ✨
Goal: ...
Approach: ...
Touches: ...
Open questions: ...Blocked, scope too vague:
❓ Chief, what should the plan cover — which feature or fix, and any hard
constraints?Blocked, no precedent found:
⚠️ Warplan can't ground the auth approach: no comparable pattern exists in
this repo yet. Proceeding would mean inventing a convention, not following
one — say if you want that anyway.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.

