plan
Skill6 starsChanged 14 days agoApache-2.0View on GitHub
Create an executable plan with steps, dependencies, verification criteria, checkpoints, and rollback strategies. Use when preparing changes, designing workflows, or structuring multi-step operations before execution.
184 other projects use a version of this.
Adopted by
Most recently taken up by
- phuthuycoding/kanban-flowtheir own version, first seen Nov 8, 2026
- PeanutGT/NutsSkillstheir own version, first seen Nov 8, 2026
- domengabrovsek/agent-configtheir own version, first seen Nov 8, 2026
- domengabrovsek/claudetheir own version, first seen Nov 8, 2026
- codewithmukesh/dotnet-claude-kittheir own version, first seen Nov 8, 2026
- joeldevz/skynex-pitheir own version, first seen Nov 8, 2026
Used with
Projects with it also use heartmula, webhook-subscriptions and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
math-incSkillheartmula
Set up and run HeartMuLa, the open-source music generation model family (Suno-like). Generates full songs from lyrics + tags with multilingual support.
Also in 9 projects that use this
Tommy-ywSkillwebhook-subscriptions
Create and manage webhook subscriptions for event-driven agent activation, or for direct push notifications (zero LLM cost). Use when the user wants external services to trigger agent runs OR push notifications to chats.
Also in 5 projects that use this
math-incSkillminecraft-modpack-server
Set up a modded Minecraft server from a CurseForge/Modrinth server pack zip. Covers NeoForge/Forge install, Java version, JVM tuning, firewall, LAN config, backups, and launch scripts.
Also in 5 projects that use this
john-data-chenSkilltouchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
Also in 6 projects that use this
gaebalaiSkillcodex-system
PROACTIVELY consult Codex CLI, your highly capable supporter with exceptional reasoning and task completion abilities. Codex is a trusted expert you should ALWAYS consult BEFORE making decisions on: design choices, implementation approaches, debugging strategies, refactoring plans, or any non-trivial problem. When uncertain, consult Codex. Don't hesitate - Codex provides better analysis. Explicit triggers: "think deeper", "analyze", "second opinion", "consult codex".
Also in 3 projects that use this
ibahgatSkillcontext-optimize
Improve context efficiency and cache stability for long or complex sessions.
Also in 3 projects that use this
- +3 more from math-inc
Other versions184 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 184
- Yeachan-Heo/oh-my-codex★ 34ksame name
- crbnos/carbon★ 2.8ksame name
- graphistry/pygraphistry★ 2.6ksame name
- zereight/gitlab-mcp★ 2.1ksame name
- math-inc/OpenGauss★ 1.3ksame name
- kdlbs/kandev★ 1.1ksame name
- suboss87/FDEOps★ 940same name
- codewithmukesh/dotnet-claude-kit★ 808same name
- witnesstodark/mr-mak-workspace★ 718same name
- loongclaw-ai/loongclaw★ 640same name
174 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository42 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- attributeSkill
- auditSkill
- gap-analysis-workflowSkill
- checkpointSkill
- classifySkill
- compareSkill
- constrainSkill
- critiqueSkill
- debug-workflowSkill
- decomposeSkill
- delegateSkill
- detectSkill
- digital-twin-bootstrapSkill
- digital-twin-sync-workflowSkill
- discover-capabilitiesSkill
- discoverSkill
- executeSkill
- explainSkill
- generateSkill
- groundSkill
- inquireSkill
- integrateSkill
- invokeSkill
- measureSkill
- mutateSkill
- observeSkill
- persistSkill
- perspective-validationSkill
- predictSkill
- recallSkill
- receiveSkill
- retrieveSkill
- rollbackSkill
- searchSkill
- sendSkill
- simulateSkill
- stateSkill
- synchronizeSkill
- transformSkill
- transitionSkill
- verifySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 13 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 167 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Create a structured, executable plan that decomposes a goal into ordered steps with clear dependencies, verification criteria for each …
- Distinctive: line 16
This capability is the GATEWAY to all actions: No mutating operation should proceed without a validated plan.
- Distinctive: line 47
Read minimal files needed to understand current state
- Distinctive: line 53
Prefer small, reversible changes
- Very specific: line 55
Use decompose capability patterns
- Distinctive: line 58
Create DAG of step dependencies
- Distinctive: line 68
Before every mutating step (MANDATORY)
- Distinctive: line 81
Consider blast radius of failures
- Distinctive: line 321
Verification tools: Read (for file analysis), Grep (for pattern verification)
- Distinctive: line 331
Always include rollback strategies for mutating steps
- Distinctive: line 332
Place checkpoints before EVERY mutating operation
- Distinctive: line 334
If estimated_risk is high, recommend human review before execution
- Distinctive: line 335
Never generate plans that bypass safety constraints
- Very specific: line 358
Never call execute or mutate without a validated plan
- Very specific: line 359
Never skip critique for high-risk plans
- Distinctive: line 360
Never execute plans with unresolved ambiguity
“Common” is measured: kept by at least 6 in 10 of the 167 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Intent
Create a structured, executable plan that decomposes a goal into ordered steps with clear dependencies, verification criteria for each step, checkpoint placement for safety, and rollback strategies for recovery.
This capability is the GATEWAY to all actions. No mutating operation should proceed without a validated plan.
Success criteria:
- Goal is decomposed into atomic, verifiable steps
- Dependencies form a valid DAG (no cycles)
- Each mutating step has rollback strategy defined
- Checkpoints placed before high-risk operations
- Estimated risk level accurately reflects plan complexity
Compatible schemas:
schemas/output_schema.yaml
Inputs
| Parameter | Required | Type | Description |
goal | Yes | string | Clear statement of what the plan should achieve |
constraints | No | object | Time limits, resource bounds, policy restrictions |
resources | No | array | Available resources |
context | No | any | Current state, available resources, constraints |
Inputs not listed here are outside the capability's contract: a workflow step that binds them gets W604 (STANDARD v1.1 §5.5).
Procedure
- Understand the goal: Parse and clarify the objective
- Identify success criteria explicitly
- Detect ambiguity and resolve or flag it
- Determine scope boundaries
- Analyze context: Gather relevant information
- Read minimal files needed to understand current state
- Identify existing patterns and conventions
- Note constraints from environment or policy
- Decompose into steps: Break goal into atomic operations
- Each step should be independently verifiable
- Prefer small, reversible changes
- Order by logical dependencies
- Use
decomposecapability patterns
- Define dependencies: Map step relationships
- Create DAG of step dependencies
- Identify parallel-safe steps
- Flag blocking dependencies
- Add verification criteria: Specify how to check each step
- Define concrete, testable conditions
- Include expected outputs or state changes
- Reference files or commands for verification
- Place checkpoints: Identify recovery points
- Before every mutating step (MANDATORY)
- Before irreversible operations
- At logical phase boundaries
- More frequent for high-risk plans
- Define rollback strategies: Plan recovery for each step
- Specific commands or operations to undo
- Order of rollback (reverse execution order)
- Identify steps that cannot be rolled back
- Assess risk: Evaluate overall plan risk
- List each identified risk in
riskswith a mitigation - Count mutating operations
- Consider blast radius of failures
- Factor in rollback complexity
- List each identified risk in
Output Contract
Return a structured object:
plan_id: string # Unique plan identifier
goal: string # What this plan achieves
steps:
- id: string # Step identifier (e.g., "step-1")
action: string # Type of action (edit, bash, git, etc.)
target: string # Resource being modified
description: string # Human-readable explanation
dependencies: array[string] # Step IDs this depends on
verification_criteria: string # How to verify success
rollback_action: string | null # How to undo (null if not reversible)
estimated_risk: low | medium | high
checkpoints:
- after_step: string # Step ID to checkpoint after
type: git_stash | file_backup | state_snapshot
reason: string # Why checkpoint here
estimated_risk: low | medium | high # Overall plan risk
dependencies: # Step dependencies: step ID -> step IDs it depends on
<step_id>: array[string]
risks: # Identified risks
- description: string
step: string | null # Step ID, or null for plan-wide
severity: low | medium | high
mitigation: string
validation:
preconditions: array[string] # Must be true before execution
postconditions: array[string] # Must be true after execution
invariants: array[string] # Must remain true throughout
alternatives_considered: array[string] # Other approaches evaluated
confidence: 0..1 # Confidence in plan correctness
evidence_anchors: ["file:line", "url"]
assumptions: [] # Explicit assumptions madeField Definitions
| Field | Type | Description |
plan_id | string | Unique identifier for this plan |
goal | string | Clear statement of objective |
steps | array<object> | Ordered list of execution steps |
checkpoints | array | Recovery points in execution |
estimated_risk | enum | Overall risk assessment |
dependencies | object | Step dependencies: each step ID mapped to the step IDs it depends on |
risks | array | Identified risks, each with severity and mitigation |
validation | object | Pre/post conditions and invariants |
alternatives_considered | array | Other approaches evaluated |
confidence | number | 0.0-1.0 based on analysis completeness |
evidence_anchors | array | References supporting the plan |
assumptions | array | Explicit assumptions requiring validation |
Examples
Example 1: Bug Fix Plan
Input:
goal: "Fix null pointer exception in UserService.getEmail()"
context:
file: "src/services/UserService.ts"
error: "TypeError: Cannot read property 'email' of null"
stack_trace: "UserService.ts:42"
constraints:
must_pass_tests: true
no_api_changes: trueOutput:
plan_id: "fix-npe-userservice-001"
goal: "Fix null pointer exception in UserService.getEmail()"
steps:
- id: "step-1"
action: "edit"
target: "src/services/UserService.ts"
description: "Add null check before accessing user.email at line 42"
dependencies: []
verification_criteria: "File contains null check pattern 'if (user != null)' or 'user?.email'"
rollback_action: "git checkout src/services/UserService.ts"
estimated_risk: low
- id: "step-2"
action: "bash"
target: "npm test -- --grep UserService"
description: "Run UserService unit tests"
dependencies: ["step-1"]
verification_criteria: "Exit code 0, all tests pass"
rollback_action: null
estimated_risk: low
- id: "step-3"
action: "bash"
target: "npm run lint src/services/UserService.ts"
description: "Verify code style compliance"
dependencies: ["step-1"]
verification_criteria: "Exit code 0, no lint errors"
rollback_action: null
estimated_risk: low
checkpoints:
- after_step: "step-0"
type: git_stash
reason: "Preserve state before any file modifications"
estimated_risk: low
dependencies:
step-1: []
step-2: ["step-1"]
step-3: ["step-1"]
risks:
- description: "Null check could mask an upstream bug that produces null users"
step: "step-1"
severity: low
mitigation: "Log a warning when user is null so the source can be traced"
validation:
preconditions:
- "src/services/UserService.ts exists"
- "npm test command is available"
postconditions:
- "No null pointer exception on getEmail() with null user"
- "All existing tests still pass"
invariants:
- "API signature of getEmail() unchanged"
alternatives_considered:
- "Throw explicit error instead of returning null - rejected due to API change constraint"
- "Add null check at caller sites - rejected as defensive coding in service is preferred"
confidence: 0.9
evidence_anchors:
- "src/services/UserService.ts:42"
- "tool:grep:null-access-pattern"
assumptions:
- "Error only occurs when user object is null, not when email property is missing"
- "Test suite covers the getEmail() method adequately"Evidence pattern: Stack trace analysis identified exact location, code inspection revealed missing null check.
Example 2: High-Risk Database Migration Plan
Input:
goal: "Add new column to users table with default value"
context:
database: "PostgreSQL 14"
table: "users"
column: "preferences JSONB DEFAULT '{}'"
rows: "~1M"
constraints:
max_downtime: "30s"
must_be_reversible: trueOutput:
plan_id: "add-preferences-column-001"
goal: "Add preferences JSONB column to users table"
steps:
- id: "step-1"
action: "bash"
target: "pg_dump users > backup_users.sql"
description: "Create backup of users table"
dependencies: []
verification_criteria: "Backup file exists and is non-empty"
rollback_action: null
estimated_risk: low
- id: "step-2"
action: "bash"
target: "psql -c 'ALTER TABLE users ADD COLUMN preferences JSONB DEFAULT '{}';'"
description: "Add new column with default"
dependencies: ["step-1"]
verification_criteria: "Column exists in schema, no errors"
rollback_action: "psql -c 'ALTER TABLE users DROP COLUMN preferences;'"
estimated_risk: high
- id: "step-3"
action: "bash"
target: "psql -c 'SELECT COUNT(*) FROM users WHERE preferences IS NOT NULL;'"
description: "Verify default applied to all rows"
dependencies: ["step-2"]
verification_criteria: "Count matches total row count"
rollback_action: null
estimated_risk: low
checkpoints:
- after_step: "step-1"
type: state_snapshot
reason: "Backup created - recovery point before schema change"
- after_step: "step-2"
type: state_snapshot
reason: "Schema modified - capture for validation"
estimated_risk: high
dependencies:
step-1: []
step-2: ["step-1"]
step-3: ["step-2"]
risks:
- description: "ALTER TABLE takes an ACCESS EXCLUSIVE lock on a ~1M row table"
step: "step-2"
severity: high
mitigation: "PostgreSQL 14 adds a column with a constant default without a table rewrite; run in a low-traffic window"
- description: "Backup may be stale if writes continue after step-1"
step: "step-1"
severity: medium
mitigation: "Pause writers or take the backup inside the migration window"
validation:
preconditions:
- "users table exists"
- "preferences column does not exist"
- "Sufficient disk space for backup"
postconditions:
- "preferences column exists with JSONB type"
- "All existing rows have default value"
invariants:
- "No data loss in existing columns"
- "Application queries continue to work"
alternatives_considered:
- "Add column without default, backfill separately - rejected due to NULL handling complexity"
- "Create new table and migrate - rejected due to downtime constraints"
confidence: 0.75
evidence_anchors:
- "tool:psql:schema-inspection"
assumptions:
- "Database has sufficient resources for ALTER TABLE on 1M rows"
- "No concurrent writes during migration window"
- "Application handles new column gracefully"Verification
- All steps have unique IDs
- Dependencies form a valid DAG (no cycles)
- Every mutating step has verification_criteria
- Every high-risk step has rollback_action
- Checkpoints placed before mutations
- Preconditions are testable
- Postconditions match goal
Verification tools: Read (for file analysis), Grep (for pattern verification)
Safety Constraints
mutation: falserequires_checkpoint: falserequires_approval: falserisk: low
Capability-specific rules:
- Always include rollback strategies for mutating steps
- Place checkpoints before EVERY mutating operation
- Flag irreversible operations explicitly
- If estimated_risk is high, recommend human review before execution
- Never generate plans that bypass safety constraints
- Plans with confidence < 0.5 should request clarification
CRITICAL: Plan is the gateway to execute and mutate
- No
executeormutatestep should occur without a validated plan - Plans must be complete before execution begins
- Incomplete plans should be marked as draft
Composition Patterns
Commonly follows:
observe- Understand current state before planningdecompose- Break complex goals into subgoalscritique- Identify potential issues before finalizingsearch- Find relevant code/config to inform plan
Commonly precedes:
checkpoint- Create safety checkpoint before executionexecute/mutate- Carry out the plan (planprecedes both)verify- Validate plan structure before executionconstrain- Apply policy limits to plan
Anti-patterns:
- Never call
executeormutatewithout a validated plan - Never skip
critiquefor high-risk plans - Never execute plans with unresolved ambiguity
Workflow references:
- See
reference/composition_patterns.md#debug-code-changefor bug fix workflow - See
reference/composition_patterns.md#capability-gap-analysisfor planning context - See
reference/composition_patterns.md#observe-model-actfor Observe-Model-Act flow
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.

