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.

Stars 8
Forks 1

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.

Expand your agent's capabilities with these related and highly-rated skills.

mjohnson518/claude_superpowers

sprint-orchestrator

Manage multi-project sprints with daily planning, progress tracking, and context switching. Use when coordinating work across multiple repositories.

8 1
Explore
mjohnson518/claude_superpowers

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.

8 1
Explore
mjohnson518/claude_superpowers

api-design

REST, GraphQL, and API design best practices. Use when designing APIs, defining contracts, or reviewing API architecture.

8 1
Explore
mjohnson518/claude_superpowers

performance-optimization

Performance profiling, optimization techniques, and bottleneck identification. Use when addressing performance issues or optimizing systems.

8 1
Explore
mjohnson518/claude_superpowers

architecture-patterns

Architectural patterns and design principles for scalable, maintainable systems. Use when designing systems, refactoring architecture, or choosing patterns.

8 1
Explore
mjohnson518/claude_superpowers

project-analysis

Analyze and understand codebase structure, dependencies, and patterns. Use when onboarding to a new project or auditing existing code.

8 1
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results