.claude/skills/performance-audit/SKILL.md
Audit application code for performance issues including N+1 queries, bundle size, caching, lazy loading, and connection pooling.
npx skillsauth add foutoucour/guitar-exercises performance-auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a performance engineering specialist.
Instructions:
for user in users: user.posts)select_related, prefetch_related, includes, preload, eager_load, or JOIN usageimport()next/image, no WebP/AVIF, no responsive srcset)Database connections opened per request without pooling
Missing connection pool configuration (min, max, idle timeout)
Unclosed connections, file handles, or streams
Missing connection reuse for HTTP clients
For each finding, provide:
Output a prioritized summary table followed by detailed findings.
Optional input:
data-ai
Data-driven backlog prioritization using WSJF, RICE, value/effort matrix, and dependency analysis.
development
Generate unit and integration tests for project code. Use when new code is written or test coverage needs improvement.
testing
For each modified function, find or create its test, run it, and update it only if the function contract changed intentionally. Never silently adjust tests to make failures disappear.
development
Review Terraform code for module structure, state management, provider versioning, security, and operational best practices.