execplan
Create living execution documents for complex multi-step tasks. Use for /execplan, "create a plan". NOT for quick tasks or code reviews — only structured phased planning.
What this skill does
# ExecPlan: Living Execution Documents
**EXECUTE this skill now.** Follow the workflow steps below using the provided $ARGUMENTS. Do NOT describe, summarize, or explain this skill — run it.
Generate, manage, and complete ExecPlans — self-contained, outcome-focused design documents that guide agents through complex tasks.
## Constants
- `TEMPLATE_PATH`: `C:/Users/gurusharan.gupta/Agents/Claude Code/templates/execplan.md`
- `PRINCIPLES_DIR`: `C:/Users/gurusharan.gupta/Agents/Claude Code/principles`
- `MANIFEST_PATH`: `C:/Users/gurusharan.gupta/Agents/Claude Code/manifest.json`
## Commands
Parse $ARGUMENTS to determine action:
- `/execplan <description>` — Generate a new ExecPlan for the described task
- `/execplan list` — Show active and recently completed plans across all projects
- `/execplan complete <plan-file>` — Mark a plan as complete, fill Outcomes & Retrospective
- `/execplan` (no args) — Show usage help
## Workflow: Generate ExecPlan
### Step 1: Determine Project Context
Identify the current project. Read its CLAUDE.md if it exists. Understand:
- Tech stack (from package.json, requirements.txt, etc.)
- Directory structure
- Existing architecture patterns
- Active exec-plans (check `docs/exec-plans/active/`)
### Step 2: Read Template and Principles
Read the ExecPlan template from TEMPLATE_PATH.
Read `PRINCIPLES_DIR/_index.json` to know which golden principles apply.
### Step 3: Research the Task
Before writing the plan, thoroughly research:
- Which files will be affected? Read them.
- What existing patterns should be followed?
- What dependencies are involved?
- What tests exist that might be affected?
- Are there related exec-plans (active or completed)?
### Step 4: Generate the ExecPlan
Fill in the template with:
**Purpose / Big Picture**: What the user can do after this change that they can't do now. How to see it working. User-visible behavior.
**Context and Orientation**: Current state described for someone who knows nothing. Full paths to key files. Define all terms. No references to external docs — embed everything needed.
**Plan of Work**: Prose description of edits. Break into milestones if >1 logical phase. Each milestone must be independently verifiable.
**Concrete Steps**: Exact commands, working directories, expected outputs.
**Validation and Acceptance**: Observable behavior, not internal attributes.
- "After running X, observe Y"
- "Test Z fails before, passes after"
**Interfaces and Dependencies**: Prescriptive. Name libraries, types, function signatures.
**Idempotence**: Steps can be repeated safely. Include recovery for risky steps.
Initialize living sections:
- Progress: Empty checkboxes for each milestone step
- Surprises & Discoveries: "(none yet)"
- Decision Log: "(none yet)"
- Outcomes & Retrospective: "(to be filled at completion)"
### Step 5: Ensure Self-Containment
**Critical check**: Could a novice agent with ONLY this ExecPlan file execute the work end-to-end? If not, add missing context. Do not reference external docs, prior plans, or assumed knowledge.
Key rules:
- Every term of art must be defined in plain language
- Every file path must be full repository-relative
- Every command must include working directory
- Every expected output must be shown
- No "as described previously" or "see the architecture doc"
### Step 6: Save
Create directory if needed: `docs/exec-plans/active/`
Save to: `docs/exec-plans/active/{YYYY-MM-DD}-{slugified-title}.md`
Filename max 80 characters, lowercase, hyphens.
### Step 7: Report
```
ExecPlan created: docs/exec-plans/active/{filename}
Purpose: {1-sentence summary}
Milestones: {N}
Estimated scope: {files to modify}
Next: An agent can now execute this plan by reading the file and following the milestones.
```
## Workflow: List Plans
When the user runs `/execplan list`:
1. Read the manifest to get all registered projects
2. For each project, check for `docs/exec-plans/active/*.md` and `docs/exec-plans/completed/*.md`
3. Display:
```
Active Plans:
Project Plan Created Milestones
───────────────────────────────────────────────────────────────────────────
powers add-api-authentication 2026-03-26 3/5 done
presentation migrate-to-typescript 2026-03-25 0/4 done
Recently Completed:
powers setup-test-infrastructure 2026-03-24 5/5 done
```
## Workflow: Complete Plan
When the user runs `/execplan complete <plan-file>`:
1. Read the plan file
2. Verify all Progress checkboxes are checked
3. If not all done, ask: "Plan has incomplete steps. Mark as complete anyway?"
4. Fill in Outcomes & Retrospective section:
- What was achieved vs. original purpose
- What remains (if anything)
- Lessons learned
- Time from first to last progress timestamp
5. Move the file from `docs/exec-plans/active/` to `docs/exec-plans/completed/`
6. Report the move
## Important
- ExecPlans are SELF-CONTAINED. A novice with only the plan can execute it.
- ExecPlans are LIVING DOCUMENTS. Update Progress, Surprises, Decision Log as work proceeds.
- ExecPlans are OUTCOME-FOCUSED. Define observable behavior, not code attributes.
- When implementing an ExecPlan: do not prompt for next steps — proceed to the next milestone. Resolve ambiguities autonomously. Commit frequently.
- One ExecPlan per significant task. Don't over-plan trivial changes.
- Plans must be idempotent: steps can be re-run safely.
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.