AI agent skill that teaches "question → delete → simplify → accelerate → automate" before acting. Works with Claude Code, OpenClaw, Codex, Cursor, and more.
# Five-Step Work Method [](https://www.npmjs.com/package/five-step-method) [](https://www.npmjs.com/package/five-step-method) [](https://opensource.org/licenses/MIT) [](https://github.com/agidesigner/five-step-method-skill/stargazers) > If this skill helps your AI agents make better decisions, **give it a ⭐ on [GitHub](https://github.com/agidesigner/five-step-method-skill)** — every star helps another team avoid over-engineering and scope creep. An engineering decision framework for AI coding agents, based on Elon Musk's five-step methodology. Battle-tested through a real production deployment cycle. ## What It Does Teaches AI agents to **evaluate requirements before acting** — whether writing code, making product decisions, planning strategy, or designing processes. Prevents the most common failure: solving problems that don't exist, or solving real problems with unnecessary complexity. ## The Five Steps 1. **Question** — Is this actually needed? 2. **Delete** — Remove what shouldn't exist 3. **Simplify** — Find the minimum reliable solution 4. **Accelerate** — Speed up what remains 5. **Automate** — Only automate validated processes Most decisions end at Step 3. ## Install ### Quick install (recommended) — one command Auto-detects which AI agents you have and installs the skill into the right place. No clone, no manual file copying. ```bash npx five-step-method ``` Want to target a specific agent only? ```bash npx five-step-method claude-code # → ~/.cursor/skills/five-step-method npx five-step-method cursor # → ./.cursor/rules/five-step-method.md npx five-step-method windsurf # → ./.windsurfru
Agent that generates comprehensive documentation, API references, architecture diagrams, and developer onboarding guides from existing code.
Agent configuration for systematic bug investigation that traces issues from error logs through the codebase to root cause with suggested fixes.
Agent for integrating third-party APIs including SDK setup, type generation, error handling, retry logic, and rate limit management.
Cursor's built-in autonomous coding agent that can make multi-file edits, run terminal commands, search the codebase, and iteratively build features with minimal human intervention.
Cloud-based autonomous coding agent that runs in the background on remote sandboxed environments, handling complex multi-step tasks while you continue working.
Cursor's multi-file editing agent within Composer mode that can create, edit, and delete files across your entire project in a single conversation.