rune-kit/rune/plan
Claude Code and agent skill by rune-kit/rune
- community
Checking that the SKILL.md file is still in the repository.
Create structured implementation plans from requirements. Produces master plan + phase files for enterprise-scale project management. Master plan = overview (<80 lines). Phase files = execution detail (<200 lines each). Each session handles 1 phase. Uses opus for deep reasoning.
Install
npx vskill@latest install rune-kit/rune/planSKILL.md
The same SKILL.md was published earlier as rune-kit/rune/plan.
plan
Purpose
Strategic planning engine for the Rune ecosystem. Produces a master plan + phase files architecture — NOT a single monolithic plan. The master plan is a concise overview (<80 lines) that references separate phase files, each containing enough detail (<200 lines) that ANY model can execute with high accuracy.
Design principle: Plan for the weakest coder. Phase files are designed so that even an Amateur-level model (Haiku) can execute them with minimal errors. When the plan satisfies the Amateur's needs, every model benefits — Junior (Sonnet) executes near-perfectly, Senior (Opus) executes flawlessly.
This is enterprise-grade project management: BA produces WHAT → Plan produces HOW (structured into phases) → ANY coder executes each phase with full context.
Goal-first — leverage native goal/outcome commands (advisory, 2026). Currentagent models (Claude Opus / Sonnet / Fable 5.x, GPT-6.x, Gemini 4) perform best when handedthe full goal + constraints up front, then left to execute at high effort. Someplatforms now expose this natively: Claude Code/goalsets a run's north-star;Managed Agents Outcomes (user.define_outcome+ rubric) grade-and-iterate to atarget. The master plan IS that goal contract in durable form — when a nativegoal/outcome command is present, seed it from the master plan's Overview +acceptance criteria instead of re-stating the goal loosely. Advisory only: themaster plan + phase files stay the source of truth on every platform (goal/Outcomeare single-session; the plan survives across sessions and platforms).
<HARD-GATE> NEVER produce a single monolithic plan file for non-trivial tasks. Non-trivial = 3+ phases OR 5+ files OR estimated > 100 LOC total change. For non-trivial tasks: MUST produce master plan + separate phase files. For trivial tasks (1-2 phases, < 5 files): inline plan is acceptable. </HARD-GATE>
Architecture: Master Plan + Phase Files
Why This Architecture
- Big context = even Opus misses details and makes mistakes
- Small context = Sonnet handles correctly, Opus has zero mistakes
- Phase isolation prevents cross-contamination of concerns
- Each session starts clean with only the relevant phase loaded
- Coder (Sonnet/Haiku) can execute a phase file without needing the full plan
Size Constraints
| File | Max Lines | Content | |
|---|---|---|---|
| Master plan | 80 lines | Overview, phase table, key decisions, status | |
| Phase file | 200 lines | Amateur-proof template: data flow, contracts, tasks, failures, NFRs, rejections, cross-phase | |
| Total phases | Max 8 | If > 8 phases, split into sub-projects |
Modes
Implementation Mode (default)
Standard implementation planning — decompose task into phased steps with code details.
Feature Spec Mode
Product-oriented planning — write a feature specification before implementation. Triggers: user says "spec", "feature spec", "write spec", "PRD" — or /rune plan spec <feature>
Roadmap Mode
High-level multi-feature planning — organize features into milestones. Triggers: user says "roadmap", "milestone", "release plan", "what to build next" — or /rune plan roadmap
Triggers
- Called by
cookwhen task scope > 1 file (Implementation Mode) - Called by
teamfor high-level task decomposition /rune plan <task>— manual planning/rune plan spec <feature>— feature specification/rune plan roadmap— roadmap planning- Auto-trigger: when user says "implement", "build", "create" with complex scope
Calls (outbound)
scout(L2): scan codebase for existing patterns, conventions, and structurebrainstorm(L2): when multiple valid approaches existadversary(L2): optional red-team gate on critical plan output (features touching auth, payments, or data integrity)research(L3): external knowledge lookupsequential-thinking(L3): complex architecture with many trade-offs- L4 extension packs: domain-specific architecture patterns
neural-memory| Before architecture decisions | Recall past decisions on similar problems
Called By (inbound)
cook(L1): Phase 2 PLANteam(L1): task decomposition into parallel workstreamsbrainstorm(L2): when idea needs structuringrescue(L1): plan refactoring strategyba(L2): hand-off after requirements completescaffold(L1): Phase 3 architecture planningskill-forge(L2): plan structure for new skill- User:
/rune plandirect invocation debug(L2): when root cause requires architectural changesretro(L2): reference past plans during retrospective analysis
Data Flow
Feeds Into →
cook(L1): master plan + phase files → cook's Phase 2-4 execution roadmapteam(L1): task decomposition + wave grouping → team's parallel workstream dispatchfix(L2): phase file tasks → fix's implementation targetstest(L2): phase file test tasks → test's RED phase targets
Fed By ←
ba(L2): Requirements Document → plan's primary input (locked decisions, user stories)scout(L2): codebase analysis → plan's convention/pattern awarenessneural-memory(external): past architectural decisions → plan's precedent contextsentinel(L2): repeated security blocks → plan's constraint awareness for future features
Feedback Loops ↻
plan↔brainstorm: plan requests options when multiple approaches exist → brainstorm generates options → plan selects and structures the chosen approachplan↔cook: cook discovers plan gaps during implementation → plan updates phase files → cook resumes with corrected tasks
Executable Steps (Implementation Mode)
Step 1 — Gather Context
Check for .rune/features/*/requirements.md via Glob. If a Requirements Document exists (from rune:ba), read it — it contains user stories, acceptance criteria, scope, constraints. Do NOT re-gather what BA already elicited.
If project.onboarded signal was received, scout output is already available in session context — skip re-invoking scout.
Invoke rune:scout if not already done — plans without context produce wrong file paths. Call neural-memory (Recall Mode) to surface past architecture decisions before making new ones.
Feature Map: Check for .rune/features.md via Glob. If it exists, read it — understand the existing feature landscape, dependencies, and known gaps BEFORE planning. Cross-reference: does the new feature overlap, conflict with, or depend on existing features? If .rune/features.md does not exist, note this — Step 6.5 will create it.
Step 2 — Classify Complexity
Determine inline plan vs master + phase files:
| Criteria | Inline Plan | Master + Phase Files | |
|---|---|---|---|
| Phases | 1-2 | 3+ | |
| Files touched | < 5 | 5+ | |
| Estimated LOC | < 100 | 100+ | |
| Cross-module | No | Yes | |
| Session span | Single session | Multi-session |
If ANY "Master + Phase Files" criterion is true → produce master plan + phase files.
Step 3 — Decompose into Phases
<MUST-READ path="references/wave-planning.md" trigger="when writing wave-structured task lists inside any phase"/> <MUST-READ path="references/vertical-slice.md" trigger="when decomposing a feature into tasks/issues — ALWAYS prefer vertical (end-to-end) slices over horizontal (single-layer) ones"/>
Group work into phases. Each phase: completable in one session, clear "done when", produces testable output, independent enough to run without other phases loaded.
Vertical slices over horizontal layers: each task within a phase MUST be a tracer-bullet slice (schema + API + UI + test, end-to-end), NOT a single-layer chunk. Horizontal slicing ("all models → all APIs → all UI") looks organized but blocks on the slowest layer. See references/vertical-slice.md for slice rules, AFK vs HITL classification, and the per-task slice template.
<HARD-GATE> Each phase MUST be completable by ANY coder model (including Haiku) with ONLY the phase file loaded. If the coder would need to read the master plan or other phase files to execute → the phase file is missing detail. Phase files are SELF-CONTAINED execution instructions — designed for the weakest model to succeed. </HARD-GATE>
Phase decomposition rules:
- Foundation first: types, schemas, core engine. A Foundational phase holds ONLY what 2+ stories share — it BLOCKS story phases but stays minimal
- Dependencies before consumers: create what's imported before the importer
- Ordering law WITHIN each slice: Data → Logic → Endpoints/Services → UI → Integration. UI is structurally LAST — a UI task whose slice has no upstream data/logic/endpoint task (and doesn't consume Foundational or a prior slice's contract) is an INVALID plan, not a style choice. The button and the endpoint it calls are one slice's tasks, never split across slices
- Test alongside: each phase includes its own test tasks
- Max 5-7 tasks per phase: if more, split the phase
- Vertical slices over horizontal layers: prefer "auth end-to-end" over "all models → all APIs → all UI" (see
references/vertical-slice.mdfor tracer-bullet template, AFK/HITL labels, granularity rules) - Story-grouped backbone from BA: if
.rune/features/<name>/tasks.mdexists, its## US-nsections map to slices — refine them, do NOT flatten back into layer groups
Tasks within each phase MUST be organized into waves (parallel-safe groupings). See references/wave-planning.md.
Step 3.7 — Boundary Artifacts (Contracts-First)
<MUST-READ path="references/boundary-artifacts.md" trigger="when the feature crosses a UI↔data boundary — templates for data-model.md, contracts/, quickstart.md"/>
Detect the boundary: requirements.md has a ## Key Entities section AND any user story renders a UI surface (page/screen/form/component) — OR the task description implies user interaction with persisted data (submit, save, login, search, checkout).
If the boundary exists, plan MUST emit — BEFORE writing phase files:
| Artifact | Location | Content | |
|---|---|---|---|
data-model.md | .rune/features/<name>/ | Key Entities expanded: fields, types, validation rules, state transitions | |
contracts/ | .rune/features/<name>/contracts/ | One file per interface: endpoint/function, request/response shape, error cases — each mapped to the US-n it serves | |
quickstart.md | .rune/features/<name>/ | Runnable end-to-end validation: prerequisites, setup commands, per-story Independent Test steps, expected outcomes |
Rules:
- Tasks are then DERIVED from contracts: every contract file → ≥1 implementation task + ≥1 test task inside the story it serves. A UI task referencing no contract (and no prior slice's contract) is orphaned — fix the plan
- A story that touches data but maps to no entity in data-model.md = spec gap → bounce to
ba(Upstream Inconsistency) - quickstart.md is the feature's executable end-to-end validation — write commands that actually run, not prose. Task derivation adds a "run quickstart validation" task to the final phase, so the plan itself guarantees it gets executed
- Skip when no boundary: pure-UI features (styling, layout), pure-backend (cron, migration), libraries. Announce the skip: "No UI↔data boundary — skipping boundary artifacts"
Step 4 — Write Master Plan File
<MUST-READ path="references/plan-templates.md" trigger="when writing the master plan file"/>
Save to .rune/plan-<feature>.md. Use the Master Plan Template in references/plan-templates.md. Max 80 lines — no implementation details.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/plan/SKILL.md
Popularity
- Repository stars
- 93
- Repository forks
- 26
- Repository npm downloads, 30 days
- 548
- 7-day trend score
- 34
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 4 Jul 2026, 4 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rune-kit/rune/plan)