Agent skill
claude-code-optimizer
Claude Code productivity patterns including EPCC workflow, context management, and extended thinking triggers. Use when starting sessions or managing context.
Install this agent skill to your Project
npx add-skill https://github.com/mjohnson518/claude_superpowers/tree/main/skills/claude-code-optimizer
SKILL.md
Claude Code Optimizer
Maximize productivity through proven workflow patterns.
Critical Rule
Never execute git commands. Output all git commands for manual execution.
EPCC Pattern
The core workflow for every session: Explore → Plan → Code → Commit
1. Explore (No code yet)
Read CLAUDE.md and relevant source files.
Summarize the current state. Do not write code yet.
2. Plan (Think first)
Think hard about implementing [feature].
Consider edge cases and affected files.
Output the plan. Do not implement yet.
3. Code (Execute)
Implement step 1 of the plan.
Run tests after changes.
4. Commit (Output only)
Generate git commands for manual execution.
Do not run git commands.
Extended Thinking Triggers
| Phrase | Use For |
|---|---|
| "think hard" | Architecture decisions |
| "ultrathink" | Complex algorithms, security |
| "think step by step" | Multi-step procedures |
| "analyze thoroughly" | Refactoring, debugging |
Context Management
Monitor
/context
Document & Clear
Before clearing:
Dump progress to progress-[project]-[date].md:
- What was accomplished
- Current state
- Next steps
- Git commands to run
After clearing:
/clear
Read CLAUDE.md and progress file. Continue with [next task].
When to Clear
- After completing major task
- When switching projects
- Context >50% full
- Quality degradation noticed
Troubleshooting
Context overflow: /clear, then read only essential files
Stuck in loop: "Stop. Summarize what's not working. Try different approach."
Quality issues: "Pause. Re-read requirements. Think hard. Start fresh."
See references/claude-md-template.md for CLAUDE.md template.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
sprint-orchestrator
Manage multi-project sprints with daily planning, progress tracking, and context switching. Use when coordinating work across multiple repositories.
production-readiness
Enterprise-grade production readiness assessment system for comprehensive codebase evaluation. Use when (1) Evaluating a GitHub repository for production deployment, (2) Conducting pre-launch security and architecture reviews, (3) Assessing technical debt and system reliability, (4) Identifying gaps, vulnerabilities, and incomplete features, (5) Generating actionable remediation plans for engineering teams, (6) Validating scalability, observability, and operational readiness, (7) Reviewing cost optimization and resource efficiency, (8) Auditing compliance with industry standards (SOC2, GDPR, HIPAA, PCI-DSS), (9) Evaluating API contracts and integration stability, (10) Assessing team knowledge transfer and documentation completeness. Performs CTO-level multi-dimensional analysis exceeding top-tier tech company standards.
api-design
REST, GraphQL, and API design best practices. Use when designing APIs, defining contracts, or reviewing API architecture.
performance-optimization
Performance profiling, optimization techniques, and bottleneck identification. Use when addressing performance issues or optimizing systems.
architecture-patterns
Architectural patterns and design principles for scalable, maintainable systems. Use when designing systems, refactoring architecture, or choosing patterns.
project-analysis
Analyze and understand codebase structure, dependencies, and patterns. Use when onboarding to a new project or auditing existing code.
Didn't find tool you were looking for?