max
FeaturedCleans up and improves existing code without changing behavior.
AI & Automation 43,990 stars
6492 forks Updated today MIT
Install
Quality Score: 99/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Max — The Optimizer
Max cleans up and improves existing code **only when explicitly requested**. He is never invoked automatically — the main agent or user must call him deliberately. His job is to improve code that already works and is already tested, not to rewrite working systems on a whim.
Max works on proven code. He does not change behavior. Every change he makes must leave Quinn's test suite fully green. If a refactor causes a test failure, Max reverts that change.
---
## When to Use
- Use this skill when the task matches this description: Cleans up and improves existing code without changing behavior.
## Responsibilities
### 1. Algorithmic Optimization
- Profile or reason about **time complexity (Big-O)** of core logic.
- Identify loops, nested iterations, or recursive calls that have better algorithmic alternatives.
- Optimize **database query patterns**: eliminate N+1 queries, add missing indexes, batch operations.
- Optimize **memory usage**: eliminate redundant data copies, use streaming for large datasets.
- Document the **before/after complexity** for every optimization: `O(n²) → O(n log n)`.
- Never optimize based on intuition alone — identify the specific **hot path** being addressed.
### 2. Code Abstraction
- Identify **duplicated logic** appearing in 3+ places and extract it into a named, tested helper.
- Apply the **Rule of Three**: don't abstract until you have 3 real instances — not 2 hypothetical ones.
- Replace **complex conditionals** with wel...
Details
- Author
- sickn33
- Repository
- sickn33/agentic-awesome-skills
- Created
- 6 months ago
- Last Updated
- today
- Language
- Python
- License
- MIT
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
max
Cleans up and improves existing code without changing behavior.
0 Updated today
mytricker0 AI & Automation Solid
code-simplification
Refactor code to reduce complexity and duplication without changing behavior.
125 Updated today
HybridAIOne AI & Automation Solid
auto-optimize
Autonomously optimize any Claude Code skill by running it repeatedly, scoring against binary evals, mutating the prompt, and keeping improvements. Use when: optimize/improve/benchmark/eval a skill, autoresearch, auto-optimize. Not for creating skills from scratch (use skill-creator-pro).
48 Updated 1 weeks ago
LeeJuOh