perf-audit
Skill2 starsChanged 9 months agoMITView on GitHub
Find performance bottlenecks in the codebase. Analyzes hot code paths, database queries, memory allocation patterns, and algorithmic complexity. Use when the user asks about performance, says "why is this slow", "find bottlenecks", "optimize this", or "perf audit".
11 other projects use a version of this.
Adopted by
Most recently taken up by
- muon-m2/magento2-toolstheir own version, first seen Oct 4, 2026
- gonimar/claude-web-studiotheir own version, first seen Sep 27, 2026
- rcelebrone/DotAgentstheir own version, first seen Sep 23, 2026
- kelgirechandrakant-cpu/vibe-coding-playbooktheir own version, first seen Aug 17, 2026
- eric-cielo/moflotheir own version, first seen Aug 4, 2026
- cystema/skillstheir own version, first seen Jul 21, 2026
Used with
Projects with it also use a11y-audit, security-audit and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
renfei-designSkilla11y-audit
Audit Figma designs for WCAG accessibility issues — color contrast, minimum font size, touch target sizing, and missing text alternatives. Use when asked to check accessibility, audit contrast ratios, find a11y issues, verify WCAG compliance, or review designs for accessibility problems. Scans nodes, analyzes offline, and annotates issues in Figma.
Also in 3 projects that use this
CloudflareSkillsecurity-audit
Security guidance and vulnerability review for codebases, APIs, services, CLI tools, libraries, and daemons. Use for security questions, focused reviews, vulnerability research, security audits, or pen tests. Run the complete workflow only for explicit codebase audit or pen-test requests, full/comprehensive/end-to-end reviews, or requested report artifacts.
Also in 5 projects that use this
VercelSkilldeploy
Deploy applications to Vercel. Use when the user says "deploy", "deploy to Vercel", "push to production", "deploy my app", or "go live".
Also in 3 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 6 projects that use this
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- Houseofmvps/ultraship★ 123same name
- eric-cielo/moflo★ 18same name
- helderberto/agent-skills★ 16same name
- rcelebrone/DotAgents★ 15same name
- zeon-kun/claude-skills★ 6same name
- gonimar/claude-web-studio★ 5same name
- kelgirechandrakant-cpu/vibe-coding-playbook★ 4same name
- muon-m2/magento2-tools★ 4same name
- cystema/skills★ 1same name
- PeterStanchev/ps-claude-skills★ 1same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository239 other files it gives its agents.
- claude-code-docs/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- claude-code-docs/llms.txtllms.txt
- agent-native-architectureSkill
- claude-apiSkill
- embedding-strategiesSkill
- fal-ai-mediaSkill
- gemini-imagegenSkill
- hybrid-search-implementationSkill
- langchain-architectureSkill
- llm-evaluationSkill
- ml-pipeline-workflowSkill
- prompt-engineering-patternsSkill
- rag-implementationSkill
- similarity-search-patternsSkill
- vector-index-tuningSkill
- api-design-principlesSkill
- api-designSkill
- architecture-patternsSkill
- cqrs-implementationSkill
- event-store-designSkill
- fastapi-templatesSkill
- microservices-patternsSkill
- openapi-spec-generationSkill
- projection-patternsSkill
- saga-orchestrationSkill
- api-conventionsSkill
- andrew-kane-gem-writerSkill
- angular-migrationSkill
- auth-implementation-patternsSkill
- backend-patternsSkill
- bazel-build-optimizationSkill
- coding-standardsSkill
- database-migrationSkill
- debugging-strategiesSkill
- dependency-upgradeSkill
- dhh-rails-styleSkill
- dotnet-backend-patternsSkill
- dspy-rubySkill
- error-handling-patternsSkill
- monorepo-managementSkill
- nodejs-backend-patternsSkill
- nx-workspace-patternsSkill
- react-modernizationSkill
- temporal-python-testingSkill
- turborepo-cachingSkill
- workflow-orchestration-patternsSkill
- defi-protocol-templatesSkill
- nft-standardsSkill
- solidity-securitySkill
- web3-testingSkill
- backtesting-frameworksSkill
- billing-automationSkill
- competitive-landscapeSkill
- data-storytellingSkill
- employment-contract-templatesSkill
- investor-materialsSkill
- investor-outreachSkill
- kpi-dashboard-designSkill
- market-sizing-analysisSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 9 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
Look for linear searches in code paths that run frequently
- Distinctive: line 28
Check for repeated computation that could be cached or memoized
- Very specific: line 33
Look for missing SELECT column lists (selecting all columns when only a few are needed)
- Distinctive: line 36
Check for missing indexes by looking at frequently-queried fields
- Distinctive: line 41
Look for large collections built up and never released
- Distinctive: line 44
Look for large in-memory caches with no eviction policy
- Distinctive: line 50
Look for single-threaded bottlenecks in otherwise concurrent code
- Distinctive: line 56
Look for render-blocking operations in UI code
- Distinctive: line 61
Look for missing HTTP cache headers on static or rarely-changing responses
- Distinctive: line 89
If the bottleneck is unclear, suggest specific profiling commands or tools appropriate for the detected language/framework.
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Context
- Repository: !
git rev-parse --show-toplevel 2>/dev/null || pwd - Target: $ARGUMENTS
- Languages detected: !
find . -type f \( -name "*.py" -o -name "*.ts" -o -name "*.js" -o -name "*.go" -o -name "*.rb" -o -name "*.java" \) -not -path '*/node_modules/*' -not -path '*/.venv/*' | sed 's/.*\.//' | sort | uniq -c | sort -rn | head -8
Task
Perform a performance audit of the codebase (or the area specified in $ARGUMENTS). Investigate all of the following categories:
1. Algorithmic Complexity
- Find loops with nested loops over the same data (O(n^2) or worse)
- Look for linear searches in code paths that run frequently
- Identify cases where sorting is done inside loops
- Check for repeated computation that could be cached or memoized
2. Database and I/O
- Find N+1 query patterns: loops that execute one query per iteration
- Look for missing
SELECTcolumn lists (selecting all columns when only a few are needed) - Find queries that load entire tables and filter in memory
- Identify blocking I/O in async/concurrent code
- Check for missing indexes by looking at frequently-queried fields
- Find repeated reads of the same data within a request lifecycle (missing request-scoped caching)
3. Memory
- Look for large collections built up and never released
- Find code that loads entire files into memory when streaming would work
- Identify object creation in hot loops (prefer pre-allocation or pools)
- Look for large in-memory caches with no eviction policy
4. Concurrency
- Find serial execution of independent I/O calls that could be parallelized
- Identify overly broad locks that block unrelated operations
- Look for single-threaded bottlenecks in otherwise concurrent code
5. Frontend-Specific (if applicable)
- Find synchronous blocking calls on the main thread
- Identify large payloads returned from APIs where pagination or field selection would help
- Look for render-blocking operations in UI code
6. Caching Opportunities
- Identify expensive computations or queries that repeat with the same inputs
- Look for missing HTTP cache headers on static or rarely-changing responses
- Find cases where results could be memoized at the function level
For each area, read the relevant source files to understand the actual code before reporting. Avoid reporting hypothetical issues - only report things confirmed by reading the code.
Output Format
Performance Summary
One paragraph: overall assessment of where the performance risks are concentrated.
Findings
For each issue:
- ID: PERF-001, PERF-002, ...
- Category: Algorithmic / Database / Memory / Concurrency / Caching
- Severity: Critical (likely user-visible) / High / Medium / Low
- File:
path/to/file.py:42 - Description: what the issue is and why it is slow
- Evidence: the specific code or pattern
- Recommendation: concrete fix with expected improvement
Quick Wins
Improvements that are low-risk and can be made immediately, ranked by expected impact.
Larger Investments
Improvements that require significant refactoring or design changes but have high potential impact.
Profiling Suggestions
If the bottleneck is unclear, suggest specific profiling commands or tools appropriate for the detected language/framework.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

