code-optimizer

Detect performance anti-patterns and produce a prioritized optimization audit.

1|Updated Jul 13, 2026
One-click install
npx skills add https://github.com/vh2224/forge-executor --skill code-optimizer-vh2224
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-optimizer
Source: https://github.com/vh2224/forge-executor/tree/main/src/resources/skills/code-optimizer
Command: npx skills add https://github.com/vh2224/forge-executor --skill code-optimizer-vh2224

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you identify and fix performance bottlenecks across a codebase without anchoring on the current implementation. It is designed to surface hidden slowdowns in queries, async flows, memory use, rendering, bundles, and build pipelines before they become production issues.

Core Features & Use Cases

  • Pattern-based performance auditing: Scans for common anti-patterns such as N+1 queries, sequential async calls, inefficient loops, and unnecessary allocations.
  • Domain-specific specialist analysis: Evaluates separate performance areas including database access, I/O, caching, data structures, build configuration, and security-related performance risks.
  • Prioritized remediation: Consolidates findings into severity-ranked recommendations with concrete fixes and expected impact.
  • Use case: Run it on a web app to uncover slow database access, heavy imports, or UI render churn before shipping a release.

Quick Start

Ask the code optimizer skill to audit the repository for performance anti-patterns and return a prioritized fix plan.

Frequently Asked Questions about code-optimizer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find performance bottlenecks in my codebase before shipping?

A code performance audit detects anti-patterns by applying stack-aware pattern scanning across database, async, memory, UI, and deployment concerns to produce a prioritized optimization audit.

What is the best way to fix slow database queries and heavy async flows?

A domain-specific specialist analysis evaluates separate performance areas including database access and I/O, identifies anti-patterns, and provides prioritized remediation with concrete fixes.

How do I reduce web app bundle size and UI render churn?

Executing a performance audit targets build pipelines and UI rendering inefficiencies, surfacing hidden slowdowns and providing prioritized remediation with expected impact.

Can I scan my build pipelines for inefficient resource usage and deployment risks?

Yes, stack-aware pattern scanning evaluates build configuration and security-related performance risks across build pipelines to produce a prioritized optimization audit.

Does this performance audit require specific dependencies or frameworks?

No dependencies are required. The audit applies stack-aware pattern scanning to applications, services, and build pipelines without anchoring on the current implementation.