code-optimizer

Installation
SKILL.md

Code Optimizer

Parallel multi-agent code optimization audit. Spawn 13 specialist agents simultaneously, each hunting for a different class of performance problem using pattern-based detection.

Critical Principle: No Code Reading Before Analysis

Agents MUST NOT read source files before searching for patterns. Reading the code first causes anchoring bias — the agent accepts the existing implementation as "reasonable" and misses better alternatives. Instead, each agent:

  1. Read its assigned reference file from references/ to load detection patterns
  2. Use Grep/Glob to scan the codebase for anti-patterns
  3. For each finding, ONLY THEN read the surrounding context (5-10 lines) to confirm the issue
  4. Propose the optimal solution based on best practices, NOT based on the existing code

Workflow

Step 1: Detect Stack

Related skills
Installs
5
Repository
gsd-build/gsd-2
GitHub Stars
7.4K
First Seen
Mar 22, 2026