claude-code-optimizer

Enforce an Explore, Plan, Code, and Commit workflow in Claude Code sessions.

8|1|Updated Dec 29, 2025
One-click install
npx skills add https://github.com/mjohnson518/claude_superpowers --skill claude-code-optimizer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude-code-optimizer
Source: https://github.com/mjohnson518/claude_superpowers/tree/main/skills/claude-code-optimizer
Command: npx skills add https://github.com/mjohnson518/claude_superpowers --skill claude-code-optimizer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill standardizes coding sessions by enforcing an Explore → Plan → Code → Commit workflow to structure work.

Core Features & Use Cases

  • EPCC pattern: A guided Explore → Plan → Code → Commit cycle to move from exploration to commit-ready output.
  • Context management: Built-in prompts and templates to maintain and clear context across sessions.
  • Use Case: When starting a new feature, use this skill to plan steps, reason about edge cases, and generate structured, commit-ready commands.

Quick Start

Initialize a Claude Code session and apply the EPCC workflow to a new feature. Follow the Explore → Plan → Code → Commit steps and reference the CLAUDE.md templates for progress tracking.

Frequently Asked Questions about claude-code-optimizer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure a coding session for feature development and debugging?

Structure coding sessions by enforcing an Explore, Plan, Code, Commit (EPCC) workflow to guide planning, reason about edge cases, and move from exploration to commit-ready output.

Can I maintain context across multiple Claude Code sessions?

Yes, context management uses built-in prompts and CLAUDE.md templates to maintain and clear context across sessions, ensuring progress tracking remains structured during feature development.

How do I generate structured git commits without automatic execution?

The EPCC workflow outputs git commands for manual execution during the commit phase, ensuring no git operations are performed automatically and you retain full control over repository changes.

What is the best way to plan steps and reason about edge cases before coding?

Apply the EPCC pattern to standardize feature planning; it guides you through exploration and planning steps to reason about edge cases before generating structured, commit-ready code.

Does the EPCC coding workflow work for refactoring tasks?

Yes, the EPCC workflow applies to feature development, refactoring, and debugging within Claude Code sessions, standardizing the entire process from initial exploration to final commit.