Skip to main content

planning

Create, review, or explicitly revise standalone implementation plans in .specs.

Source facts

Repository
ilude/dotfiles
Last source activity
September 30, 2026 at 23:03
Detected SKILL.md language
English
Stars
4
Forks
1

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
2 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
planning
description
Create, review, or explicitly revise standalone implementation plans in .specs.
# Planning Use this skill to turn user intent into a bounded implementation plan. The user supplies desired outcomes, priorities, and consequential judgment. The agent investigates the implementation, recommends choices, and supplies technical reasoning. Planning does not authorize execution. A plan should stand alone for a fresh-context executor. Size ordinary tasks for reliable Luna execution within one context, allowing room for unexpected findings across investigation, implementation, and validation. Apply the same sizing to review work when included. This is a planning target, not a guarantee or token limit. Preserve intent and make each next step and its finish observable without requiring the executor to load this skill or reconstruct the planning discussion. Keep detail proportional and leave routine implementation choices flexible. Questions about an existing plan do not authorize rewriting it. Revise a plan only when explicitly asked. The user's request and subsequent changes are authoritative; reconcile stale drafts against recorded decisions rather than reopening them. ## Create or revise 1. Establish the selected repository root and read its applicable instructions. Inspect the actual implementation and relevant feedback before proposing changes. Preserve unrelated work. Existing plans from another client or profile are context, not current policy. Do not impose reviewers or a new execution system. 2. Put the canonical plan at `REPO_ROOT/.specs/<descriptive-kebab-case-stub>/plan.md`. For cross-repository work, keep one coordinating plan and identify each owning repository. Code, secrets, and deployment configuration stay with their owners. Use the [plan template](references/plan-template.md), combining or omitting sections that add no useful information. 3. Separate user requirements, verified facts, proposals, and unresolved decisions. Investigate discoverable facts. When uncertainty could materially change scope, architecture, or acceptance, explain the choices and consequences, recommend one with reasons, and ask a focused question. Handle routine technical details using judgment. Recommendations do not become requirements until agreed. Do not call the selected executable scope ready while a consequential decision within it remains open. Keep explicitly deferred work visible but outside that scope's acceptance criteria and dependencies; it must not block independent approved work. 4. Write named Markdown checkbox tasks with concrete changes, dependencies, relevant paths or contracts, finite checks, and observable done conditions. Shape tasks as independently assignable outcomes: separate shared prerequisites from parallel implementation, identify disjoint write ownership, and name the specific result each dependency supplies. Task order alone is not a dependency. Where a consumer needs only an established interface, separate that prerequisite from the producer's remaining implementation. Show useful concurrent groups without manufacturing extra work or splitting tightly coupled changes merely to increase agent count. Split obviously oversized tasks now. Where useful, record complexity and split hints: difficult technical judgments, interacting contracts, coordination needs, or independently verifiable boundaries. Describe the difficulty rather than prescribing a model or effort; Strategist owns staffing recommendations. Hints support further decomposition, not deferral of consequential user decisions. Include only context needed to restart. Label paths repository-root-relative and future files as proposed. Do not invent optional work, rollback tasks, exhaustive contingencies, approval gates, or manual acceptance requirements. 5. Record authorization, preservation, and delegation constraints. Planning alone authorizes no implementation or Git operations. Invoking `/do-it` for the selected plan authorizes implementation, dedicated task worktrees, local commits, and merge into the recorded target unless `--no-merge` is specified or the user restricts those actions. Do not require a second approval for local Git. Push and deployment require separate explicit authorization. Executable plans must tell the orchestrator to consult Strategist before delegating unless the user explicitly requests a single-agent handoff, including a Team Lead. Preserve the Team Lead's own Strategist-first workflow. Assign at most one named plan task per subagent, split larger tasks further, and use only roles from the active agent catalog. Plans must also tell the executor to continue independent work around blockers, adapt mechanisms within settled intent, and ask before changing scope, decisions, or acceptance. 6. Include a bounded closeout contract. After implementation and agreed agent-owned checks, archive the whole spec and commit it with the task changes on the task branch. For authorized `/do-it` execution, the orchestrator dispatches the Integrator from the recorded target checkout after that commit; the role owns local integration and cleanup under its skill. Prepared Herdr runs use the runtime-admitted same-tab successor: it publishes integration readiness, waits for orchestrator-only authorized obligations and exact-origin retirement, then cleans up and owns operator questions/final reporting. Direct/run-here execution keeps ordinary parent-owned communication. Consume runtime-prepared coordinates without creating another worktree or replacing the recorded origin. Preserve explicit no-merge instructions as an intentional exception. Operator manual or live testing happens after completion and never blocks archival, commit, or authorized integration; record it only as a non-blocking verification limit. Require accurate unfinished integration/cleanup checkboxes and blocker, next-action, and action-owner records. Include the template's outcome-first response contract: 🟢 completed, 🔴 merge blocked or user input required, 🔵 merge intentionally skipped, or 🟡 cleanup pending, always with explicit text. Blocked results must foreground the reason and action needed, not passed checks. Routine merge conflicts remain agent-owned. 7. When Pi behavior matters, record the verified planning profile and intended execution profile. Keep actual runs separate by date, profile/path, scope, and result. Never claim intended profiles or model behavior were tested. 8. Review once as a fresh executor: are ordinary tasks sized for the execution target above, with useful hints for unusually complex work? Can the executor preserve fixed intent while choosing routine mechanisms, handle blockers, run finite checks, and complete authorized closeout from the plan alone? Does each behavior-changing restriction come from an agreed requirement, applicable repository policy, or demonstrated task need? Remove unsupported restrictions or present them as proposals outside the executable scope. Fix consequential gaps, then stop. A draft with explicit open decisions is more honest than false readiness. See [agent-process](../agent-process/SKILL.md) when reviewing workflow feedback or changing instructions. Ordinary planning does not require another feedback review.
View on GitHub