agentsclimarketplace

Code Optimizer

Skill shubhamaniket/Code-Optimizer

A Claude Code skill that audits, rewrites, and guards code across 10 quality dimensions — SOLID, design patterns, security, performance, and more. Every finding cites a named principle; every fix is stack-specific.

Install
npx -y skills add shubhamaniket/Code-Optimizer

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

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.

SKILL.md

2.1 KB, as published. Nobody here has run it

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.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.