performance-optimization
Skill2 starsChanged 7 months agoMITView on GitHub
Use when performance requirements exist, users report slowness, metrics breach SLAs, Core Web Vitals need improvement, or you suspect a change introduced a regression
83 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- Lukk17/agent-standardstheir own version, first seen Oct 5, 2026
- GuillemRoca/agent-skills-androidtheir own version, first seen Oct 3, 2026
- addyosmani/agent-skillstheir own version, first seen Oct 3, 2026
- weisser-dev/agentic-skillstheir own version, first seen Oct 3, 2026
- Rvey/agent-engineering-kittheir own version, first seen Oct 1, 2026
- JPeetz/agent-skillstheir own version, first seen Sep 29, 2026
Used with
Projects with it also use constraint-driven-development, using-agent-skills and 6 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.
vinvcnSkillconstraint-driven-development
把一个项目的质量线确立为书面契约,并阻止 agent 悄悄降低它。通过访谈确定用户在意哪些维度,当用户心里没有数字时提供合理的默认阈值,把一切记录进 CONSTRAINTS.md,并盯住 diff 中质量线被削弱的迹象——新增的 @ts-ignore 或 eslint-disable 抑制注释、被跳过或删除的测试、被剥掉的断言、未实现的 stub、被调低的阈值。当没有任何质量线被写下来时使用;当用户说 "set up constraints" 或 "define our standards" 时;当用户希望把他们在意的维度——无障碍性、Web 性能、覆盖率——设置成被强制执行的约束时;当 agent 为了变绿不断静默检查或跳过测试时;当你需要一个覆盖率或性能阈值却不知道该选什么数字时;或者当 agent 写下的代码超出任何人会读的体量时。
Also in 4 projects that use this
LLl0k0laDSkillusing-agent-skills
Use when starting a session or when you need to discover which skill applies to the current task. This is the meta-skill that governs how all other skills are discovered and invoked.
Also in 21 projects that use this
LLl0k0laDSkillgit-workflow-and-versioning
Use when making any code change. Use when committing, branching, resolving conflicts, or when you need to organize work across multiple parallel streams.
Also in 23 projects that use this
borhen68Skillobservability-and-instrumentation
Instruments code so production behavior is visible and diagnosable. Use when adding logging, metrics, tracing, or alerting. Use when shipping any feature that runs in production and you need evidence it works. Use when production issues are reported but you can't tell what happened from the available data.
Also in 12 projects that use this
- +4 more from LLl0k0laD
Other versions83 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- buildpad-ai/skills★ 112% same
Wrote their own version · 82
- addyosmani/agent-skills★ 101ksame name
- rohitg00/awesome-claude-code-toolkit★ 2.7ksame name
- gamedev-skills/awesome-gamedev-agent-skills★ 1.3ksame name
- ukanwat/overtime★ 387same name
- Mindrally/skills★ 266same name
- shashankswe2020-ux/whoop-mcp★ 165same name
- magnus919/agent-skills★ 109same name
- thiientv/godmode★ 96same name
- dylantarre/animation-principles★ 94same name
- DevelopersGlobal/ai-agent-skills★ 69same name
72 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 repository26 other files it gives its agents.
- api-and-interface-designSkill
- brainstormingSkill
- ci-cd-and-automationSkill
- code-reviewSkill
- code-simplificationSkill
- context-engineeringSkill
- deprecation-and-migrationSkill
- dispatching-parallel-agentsSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- grill-meSkill
- mentorSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- security-guidanceSkill
- session-synthesisSkill
- shipping-and-launchSkill
- source-driven-developmentSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- using-git-worktreesSkill
- verification-before-completionSkill
- verification-phaseSkill
- writing-plansSkill
- writing-skillsSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 72 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Use the systematic-debugging skill for investigation.
- Distinctive: line 54
Before/after numbers are mandatory.
- Distinctive: line 87
No performance monitoring in production
“Common” is measured: kept by at least 6 in 10 of the 72 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
Performance Optimization
Overview
Measure before optimizing. Performance work without measurement is guessing. Profile first, identify the actual bottleneck, fix it, measure again.
The Workflow
MEASURE → Establish baseline with real numbers
IDENTIFY → Find the actual bottleneck (use systematic-debugging skill)
FIX → Address the specific bottleneck
VERIFY → Measure again, confirm improvement with numbers
GUARD → Add monitoring/tests/budgets to prevent regressionMeasure
Pick the right tool for the layer:
| Layer | Tools |
| Frontend | Lighthouse, DevTools Performance, web-vitals (RUM), CrUX |
| Backend | APM traces, query logs with timing, time commands, p95/p99 latency |
| Infra | CPU/memory/disk metrics, connection pool stats, GC logs |
Identify
Use the systematic-debugging skill for investigation. Start from the symptom:
- Slow page load → bundle size? TTFB? render-blocking resources?
- Sluggish interaction → long main-thread tasks? excessive re-renders?
- Slow API → N+1 queries? missing indexes? no caching?
- Intermittent slowness → lock contention? GC pauses? external deps?
Fix
Address the specific measured bottleneck. Common fixes:
- N+1 queries → batch/join/include
- Unbounded fetches → pagination with limits
- Large bundles → code splitting, lazy loading
- Missing caching → HTTP cache headers, application-level TTL cache
- Images → dimensions, lazy loading, responsive sizes, modern formats
- CPU-bound work → offload to worker/background job
Verify
Before/after numbers are mandatory. No "it feels faster."
Guard
- Performance budgets in CI (bundle size, Lighthouse score, response time)
- Alerting on p95 latency, error rate, Core Web Vitals
- Load tests for critical paths
Core Web Vitals Targets
| Metric | Good | Poor |
| LCP | ≤ 2.5s | > 4.0s |
| INP | ≤ 200ms | > 500ms |
| CLS | ≤ 0.1 | > 0.25 |
Common Rationalizations
| Rationalization | Reality |
| "We'll optimize later" | Performance debt compounds. Fix anti-patterns now. |
| "It's fast on my machine" | Profile on representative hardware and networks. |
| "This optimization is obvious" | If you didn't measure, you don't know. |
| "Users won't notice 100ms" | 100ms delays impact conversion rates. |
| "The framework handles it" | Frameworks can't fix N+1 queries or oversized bundles. |
Red Flags
- Optimization without profiling data to justify it
- N+1 query patterns in data fetching
- List endpoints without pagination
- Images without dimensions or lazy loading
- Bundle size growing without review
- No performance monitoring in production
- Memoization everywhere (overuse is as bad as underuse)
Verification Checklist
- Before/after measurements exist (specific numbers)
- Specific bottleneck identified and addressed
- Performance budgets pass
- Existing tests still pass
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.

