code-optimizer
Skill1 starsChanged 7 months agoMITView on GitHub
Interactive code intelligence tool that audits, rewrites, and guards code across 8 quality dimensions (SOLID, design patterns, architecture, SDLC, security, code smells, error handling, performance) plus optional concurrency and API design layers. Scores code 0–100 per layer, identifies anti-patterns before prescribing fixes, and cites a named principle for every finding. Use when the user wants to analyze, optimize, or build code with quality guardrails.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- hongphuc5497/skillstheir own version, first seen Nov 1, 2026
- Mingo07-dev/claude_skillstheir own version, first seen Apr 29, 2026
- santosomar/general-secure-coding-agent-skillstheir own version, first seen Mar 10, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- hongphuc5497/skills★ 2same name
- Mingo07-dev/claude_skills★ 2same name
- santosomar/general-secure-coding-agent-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Files
Code Optimizer
A layered code intelligence tool. Scores code across dimensions, identifies anti-patterns before prescribing fixes, and cites a named principle for every change.
Present this menu exactly:
╔══════════════════════════════════════════════╗
║ Code Optimizer v1.1 ║
╚══════════════════════════════════════════════╝
What would you like to do?
1 → Analyze Audit code. Get scores, issues,
and recommendations. No changes made.
(Offers to implement fixes after report.)
2 → Rewrite Optimize code based on audit findings.
Full rewrite with change log.
3 → Build + Guard Write new code with PostToolUse hooks
auditing every file Claude writes.
4 → Diff / PR Audit only the files changed in a
git diff, staged changes, or branch.
5 → Reports View saved audit reports from
silent-mode hook sessions.
Type 1–5.Routing:
- Input 1 → load flows/analyze.md
- Input 2 → load flows/rewrite.md
- Input 3 → load flows/build-guard.md
- Input 4 → load flows/diff.md
- Input 5 → load flows/reports.md
Detect language automatically from code provided. Output format is embedded in each flow file.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

