code-optimizer

Detect performance anti-patterns across JS/TS codebases using parallel specialist agents.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/HyperDev1/hx-ai --skill code-optimizer-hyperdev1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-optimizer
Source: https://github.com/HyperDev1/hx-ai/tree/main/src/resources/skills/code-optimizer
Command: npx skills add https://github.com/HyperDev1/hx-ai --skill code-optimizer-hyperdev1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Parallel Code Optimizer solves the challenge of finding performance bottlenecks in large codebases by coordinating multiple domain-specific agents to search for patterns without reading the entire source upfront, reducing time to actionable insights.

Core Features & Use Cases

  • Parallel agent orchestration: 13 specialist agents run concurrently to cover diverse performance domains such as databases, I/O, memory, and concurrency.
  • Pattern-based detection: Agents use grep/glob style detection to identify anti-patterns before dereferencing code, minimizing anchoring bias.
  • Actionable recommendations: For each finding, provide concrete optimizations and guards for safe deployment.
  • Use Case: Ideal for audits of large monorepos where performance bottlenecks occur in loops, IO, or heavy computation.

Quick Start

Spawn 13 agents to scan the repository for performance issues in parallel and report actionable optimizations.

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 anti-patterns in a large JS/TS monorepo?

To find performance anti-patterns in a large JS/TS monorepo, this tool coordinates 13 specialist agents to scan for bottlenecks across databases, I/O, memory, and concurrency using pattern-based detection.

What is the best way to detect code optimization opportunities without reading the entire source?

Detecting code optimization opportunities without reading the entire source is achieved by using grep and glob style detection to identify anti-patterns before dereferencing code, minimizing anchoring bias and reducing time to actionable insights.

Can I use parallel specialist agents for static analysis on polyglot repositories?

Yes, you can use parallel specialist agents for static analysis on polyglot repositories. The optimizer applies pattern matching to identify issues across diverse codebases without requiring a full code read.

How do I run a performance audit for loops and heavy computation in my codebase?

To run a performance audit for loops and heavy computation, spawn the agents to scan the repository root path in parallel. They report actionable optimizations, severity, suggested fixes, and estimated impact for each finding.

Does this code optimization tool require a specific orchestration framework?

Yes, the code optimization workflow requires a skill orchestration framework, a root path to the project, and access to reference pattern files to execute the parallel agent scanning process.