Install
$ agentstack add skill-the-ai-directory-company-agents-and-skills-performance-audit ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Performance Audit
Before you start
Gather the following from the user. If anything is missing, ask before proceeding:
- What is slow? — Specific page, endpoint, query, or workflow (not "the app feels sluggish")
- How slow is it? — Current measured latency, load time, or throughput numbers
- What is the target? — Acceptable performance threshold (e.g., "page load under 2 seconds at p95")
- What is the architecture? — Frontend framework, backend services, database(s), CDN, caching layers
- What is the traffic profile? — Average and peak request volume, geographic distribution
- What has already been tried? — Previous optimization attempts and their outcomes
Audit template
1. Establish Baselines
Measure before you optimize. Record current metrics for every area under audit:
Frontend (Lighthouse, WebPageTest, or RUM): LCP, FID, CLS, TTFB, TBT, total page weight broken down by JS/CSS/images/fonts. Include Core Web Vitals targets: LCP 100K rows
- [ ] Verify connection pooling is configured and sized appropriately
- [ ] Check for lock contention on frequently updated rows
5. Prioritized Optimization Roadmap
Rank every finding by impact and effort:
| Priority | Finding | Impact | Effort | Expected Gain | |----------|---------|--------|--------|---------------| | P0 | N+1 queries on /dashboard | High | Low | p95 from 3200ms to 800ms | | P1 | No CDN for static assets | High | Medium | LCP from 4100ms to 2200ms | | P2 | Unoptimized images | Medium | Low | Page weight -40% |
- P0: High impact, low effort — free wins, do first
- P1: High impact, higher effort — schedule immediately
- P2: Medium impact, low effort — batch into one sprint
- P3: Lower impact or high effort — backlog
6. Set Targets and Monitoring
For each P0/P1 item, define: baseline measurement, target threshold, monitoring alert condition, and verification date. Never optimize without a way to measure the result.
Quality checklist
Before delivering a performance audit, verify:
- [ ] Baselines are recorded with timestamps, conditions, and tools used
- [ ] Frontend, backend, and database layers are each assessed
- [ ] Every finding includes measured data, not subjective impressions
- [ ] The roadmap is prioritized by impact/effort, not listed in discovery order
- [ ] P0/P1 items have specific, measurable targets (not "make it faster")
- [ ] Monitoring is defined so regressions are caught
Common mistakes
- Optimizing without measuring first. Intuition about what is slow is wrong more often than right. Profile, then optimize.
- Focusing on micro-optimizations. Shaving 2ms off a function while a 3-second database query runs unchecked is wasted effort.
- Ignoring p99 latency. p50 looks fine, but p99 reveals the worst user experience. Report percentile distributions, not averages.
- Missing the N+1 pattern. The most common backend performance bug. Every loop that issues a query is suspect.
- Caching without invalidation strategy. Stale data creates bugs harder to diagnose than slowness.
- Declaring victory after one test. Verify improvements under realistic load, data volume, and conditions.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: The-AI-Directory-Company
- Source: The-AI-Directory-Company/agents-and-skills
- License: MIT
- Homepage: https://ai-directory.company
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.