skill-performance-audit
Installation
SKILL.md
Overview
This skill performs a systematic performance audit of any codebase. When invoked, it scans backend API code, database schemas, ORM queries, frontend components, and connection pool configuration for observable performance anti-patterns. It produces a severity-ranked audit report with before/after code fixes for the top bottlenecks found.
Trigger phrases: "audit performance", "find bottlenecks", "why is this slow", "performance review", "optimize this codebase", "check N+1 queries", "missing indexes".
Parameters
The agent requires access to the project's source files. Before starting the scan, confirm:
| Input | Required | Description |
|---|---|---|
| Project source directory | Yes | The root path or src/ folder to scan |
| Framework / stack | Auto-detected | Detected from package.json, config files, file extensions |
| Scope | Optional | Limit scan to backend, frontend, or database only |
If no project path is provided, ask the user to specify the directory or share the relevant files.