/open-skills:plan-createfrom open-skills
Creates a structured PLAN.md with phases, changes, risks, and verification criteria before any implementation. Activates on /plan-create or when a task is complex enough to need upfront design.
Ships in open-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Think before you build. This skill runs a phased planning protocol and produces a PLAN.md artifact. No implementation code is written. The plan is the deliverable.
Structured execution spec:
protocol.yon. Read it for the canonical rules, ordered phases, gate severity, and recovery handlers. This file is human-readable explanation, the PLAN.md template, and the Fast Mode reference. The two must stay in sync — if you edit one, update the other and refresh the@STAMPdate.
Before starting, set mode. State your choice out loud with the reason.
[full only] — see Fast Mode Reference at the bottom.When in doubt, use Full mode. If the task touches auth, data, external services, multiple files, or anything you'd be nervous to get wrong, that's Full mode regardless of how it's phrased.
Goal: load available context before designing anything.
[full only] Check if a coding standards doc or style guide exists for this project. Load it if found; note if absent.[full only] Check if architectural archetypes or patterns doc exists. Load it if found; note if absent.[full only] Check whether a relevant skill exists for this task's domain. Load it if found.Gate 1: load steps attempted? Loaded files validated? Enough context to define problem clearly? ABORT if task target so ambiguous Phase 2 cannot produce testable criteria. Recovery: surface ambiguity, wait for clarification, restart Phase 1 from Step 1.
Goal: nail the goal and draw hard boundaries.
Gate 2: goal stated in testable terms? At least one explicit out-of-scope boundary? ABORT if success criteria cannot be made observable. Recovery: surface the specific criterion, wait for input, revise and re-evaluate.
User alignment checkpoint (mandatory): Before Phase 3, present and wait for confirmation:
"Here is the problem as I understand it: Problem: [one sentence] Success criteria: [list] In scope: [list] | Out of scope: [list] Does this match your intent? Reply to continue."
Goal: enumerate the exact units of work and how they connect.
Gate 3: changes address every success criterion? Architectural concerns flagged? Minimum work, no over-engineering? Split into 2+ distinct phases? Surface concerns as warnings; ABORT-level (changes don't address goal) → stop, resolve with user.
Goal: surface what could go wrong and define how to know success.
LOW / MED / HIGH. Every HIGH must have explicit mitigation or acceptance note.Gate 4: every HIGH risk has mitigation or acceptance? Every criterion has verification? All verification executable, not aspirational? ABORT if HIGH risk has no mitigation/acceptance OR a criterion has no verification path.
Goal: assemble and deliver the artifact.
PLAN.md in project root (or <task-slug>-plan.md if no clear root). Inspect the destination leaf and every existing ancestor without following links; refuse symlinks, junctions, mounts, unknown reparse points or equivalent redirects, including backup and staging paths. Create new artifacts exclusively. On collision preserve existing bytes: choose a fresh identity within the authorized scope or use an explicitly selected revision. For revisions, retain a recoverable preimage, require current bytes/revision to match the selected record immediately before replacement, and use the destination owner’s protected writer. Stop the affected write if identity changes or those guarantees are unavailable; never roll back over concurrent edits. Read back the result and report only actual saves. If chat-only with no project, present inline and offer to write.Use this exact structure. Do not invent new sections or drop existing ones. Number each discrete action across the phases, naming the target and specific change; a label such as "Modify" is not an executable step.
# Plan: [Task Title]
> Mode: full | fast
> Date: YYYY-MM-DD
> Status: Draft
---
## Summary
[One paragraph: problem, why now, what success looks like.]
---
## Success Criteria
- [ ] [Testable criterion 1]
- [ ] [Testable criterion 2]
---
## Scope
**In scope:** [list]
**Out of scope:** [list with reasons]
---
## Phased Changes
### Phase A — [Name]
*Estimate: [hours or days]*
| Step | Unit | Concrete action | Reason |
|------|------|-----------------|--------|
| 1 | path/to/file | [Update named symbol/section to required behavior] | ... |
### Phase B — [Name]
*Estimate: [hours or days]*
| Step | Unit | Concrete action | Reason |
|------|------|-----------------|--------|
| 2 | path/to/file | [Update named symbol/section to required behavior] | ... |
---
## Dependencies & Execution Order
[What blocks what. Cross-component impacts. External requirements.]
---
## Risk Register
| Risk | Rating | Mitigation / Acceptance |
|------|--------|------------------------|
| ... | HIGH | ... |
---
## Verification Plan
| Success Criterion | Test | Pass Condition |
|-------------------|------|----------------|
| Criterion 1 | `command or action` | Observable outcome |
---
## Pre-Flight Notes
[Any missing files, rejected sidecars, absent skills. Or: "All pre-flight checks passed."]
---
## Gate Summary
| Gate | Result | Notes |
|------|--------|-------|
| Phase 1 Pre-Flight | ✅ / ⚠️ / 🛑 | |
| Phase 2 Scope | ✅ / ⚠️ / 🛑 | |
| Phase 3 Design | ✅ / ⚠️ / 🛑 | |
| Phase 4 Risk & Verification | ✅ / ⚠️ / 🛑 | |
| Phase 5 Final | ✅ / ⚠️ / 🛑 | |
---
## Next Steps
- [ ] Review and approve this plan
- [ ] Run /plan-execute to implement Phase A
- [ ] Run /verify after each phase before starting the next
- [ ] Run /plan-cleanup to remove planning artifacts and tech debt
/plan-create. The plan is the output./plan-execute: numbered steps, concrete actions, and at least one verifiable outcome.Run /plan-cleanup to Next Steps.| Gate result | Action |
|---|---|
| All pass | Proceed to next phase |
| Warnings only | Log in Gate Summary, proceed |
| ABORT | Stop. Surface the specific issue. Wait for user confirmation before continuing. |
Gate Summary legend:
When Fast mode is active (requires explicit justification at Step 0):
| Phase | What changes |
|---|---|
| Phase 1 | Skip Steps 2, 3, 4 (marked [full only]) |
| Phase 2 | Run all steps; Gate 2 and alignment checkpoint are not skipped |
| Phase 3 | Run in condensed form: list changes and dependencies in a single pass; no separate grouping required |
| Phase 4 | Condense with Phase 3 — produce risk register and verification plan in the same pass; all gate checks still apply |
| Phase 5 | Run in full; no changes |
Gates are never skipped in Fast mode — only the pre-flight load steps and the Phase 3/4 separation are condensed. The user alignment checkpoint after Phase 2 is mandatory in both modes.
Human output. This skill's handler-facing output obeys the human-output contract (
human-output/SKILL.md).
Next skills. On completion, run the Next Skills protocol (
next-skills/SKILL.md): surface thenext-skillsrecommendations from front-matter for the caller to pick. Offer only — never auto-invoke.
Self-improvement. On completion, run the Self-Improvement Protocol (
self-improve/SKILL.md): apply its signal taxonomy and threshold to this run; surface any surviving proposal for handler approval. Conservative — silent otherwise. Never auto-apply.
What SKILL.md sets; muted values are Claude Code's defaults
93 skills in this plugin
/agent-mailboxTwo or more agents — any harness, any vendor — collaborate through any shared folder: share a folder, load the skill, point at it.
/agent-outputCompact agent-to-agent communication contract for worker reports, handoffs, status, blockers, and review findings. Trigger phrases: "/agent-output", "brief the worker", "make agent reports terse". Not a transport; use /agent-mailbox for delivery.
/ask-gateThe Ask-Gate Protocol (AGP). Before surfacing an AskUserQuestion, triage whether the question is genuinely the handler's call (anti-nag); ask routine questions directly after a quality checklist, but escalate high-stakes / branching / irreversible ones through /insight-critique then /insight-assess first. Trigger via /ask-gate, or automatically before any handler-facing question. Not /caller-options (routes a skill's venue/mode) or /next-skills (recommends successors) — AGP governs the question itself.
npx claudepluginhub allemaar/open-skills --plugin open-skillsOther plugins' skills for the same job