# Plan Before Multi Step Execution

> Use this skill before executing a sequence of 3 or more steps, especially when steps are irreversible or depend on each other. Write out the plan and verify it before starting execution.

- Skill: `gabrielmoreira/plan-before-multi-step-execution` (Agent Skill)
- Install (CLI): `npx skillmds@latest add gabrielmoreira/plan-before-multi-step-execution`
- Raw SKILL.md: https://api.skillmd.com/api/skills/gabrielmoreira/plan-before-multi-step-execution/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: gabrielmoreira (https://skillmd.com/u/gabrielmoreira)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/gabrielmoreira/plan-before-multi-step-execution

---


# Plan Before Multi-Step Execution

For complex tasks, plan first and execute second.

**Planning phase:**
1. Decompose the task into concrete, ordered steps.
2. Identify dependencies between steps.
3. Flag irreversible actions that need user confirmation.
4. Identify what can fail and what the recovery path is.

**Execution phase:**
- Follow the plan step by step; update it if you discover new information.
- After each step, verify the expected output before proceeding.
- If a step fails, re-evaluate the remaining plan — don't blindly continue.

**Anti-pattern:** Starting to execute before understanding the full scope of the task.

