performance-optimization
Skill1 starsChanged 9 months agoMITView on GitHub
Investigate slow paths and optimize measured bottlenecks.
155 other projects use a version of this.
Adopted by
Most recently taken up by
- carlokop/skillstheir own version, first seen Nov 29, 2026
- dzikrisyairozi/agent-skillstheir own version, first seen Nov 29, 2026
- elidadutra187/claude-skillstheir own version, first seen Nov 29, 2026
- sirius-cc-wu/sirius-skillstheir own version, first seen Nov 29, 2026
- aakash1552005/universal-agent-skillstheir own version, first seen Nov 29, 2026
- karanmrn/karanagentskillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use constraint-driven-development, using-agent-skills and 5 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.
MrCipherSmithSkillconstraint-driven-development
Use when a project needs a persistent, measurable quality bar — starting a project without documented standards, 'set up constraints', or when coverage/perf/a11y thresholds get re-debated per-PR. Produces CONSTRAINTS.md with enforceable numbers, ratchets, and a guard against silent weakening. NOT for throwaway prototypes or a one-off CI setup.
Also in 18 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 38 projects that use this
LLl0k0laDSkillidea-refine
Refine ideas through structured divergent and convergent thinking. Use "idea-refine" or "ideate" to trigger.
Also in 44 projects that use this
ukanwatSkillovertime-docs
How Overtime works, for answering the person's questions and acting correctly - where settings, MCP servers, budgets, backends, files and logs live, what each tool does, and the exact commands the person runs.
Also in 3 projects that use this
- +3 more from LLl0k0laD
Other versions155 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 155
- addyosmani/agent-skills★ 121ksame name
- gamedev-skills/awesome-gamedev-agent-skills★ 9ksame name
- sanity-io/sanity★ 6.4ksame name
- compozy/compozy★ 2.9ksame name
- ollaya-dev/ollaya★ 1.5ksame name
- buddy-compiler/buddy-mlir★ 773same name
- ThibautBaissac/rails_ai_agents★ 665same name
- derHaken/SuperAntigravity★ 439same name
- ukanwat/aaabench★ 399same name
- ukanwat/overtime★ 399same name
145 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 repository129 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/code-simplifier.mdcCursor rule
- .cursor/rules/tdd-verification.mdcCursor rule
- ckm:banner-designSkill
- ckm:brandSkill
- ckm:designSkill
- ckm:design-systemSkill
- ckm:slidesSkill
- ckm:ui-stylingSkill
- ui-ux-pro-maxSkill
- mission-control-agent-integrationSkill
- adr-verbatimSkill
- agent-watchdogSkill
- anSkill
- api-and-interface-designSkill
- architectSkill
- arenaSkill
- automate-meSkill
- babysitSkill
- before-and-afterSkill
- benchmark-checklistSkill
- blast-radiusSkill
- broSkill
- ci-cd-and-automationSkill
- code-structureSkill
- correctSkill
- create-formal-verification-skillSkill
- create-readonly-db-roleSkill
- create-verification-skillSkill
- deprecation-and-migrationSkill
- deslopSkill
- efficient-fableSkill
- efficient-frontierSkill
- efficient-orchestratorSkill
- evidence-driven-testingSkill
- factory-babysit-prSkill
- factory-collectSkill
- factory-human-digestSkill
- factory-lookbackSkill
- factory-recoverSkill
- factory-review-prsSkill
- factory-shipSkill
- factorySkill
- factory-watchdogSkill
- figure-it-outSkill
- fix-ciSkill
- fix-merge-conflictsSkill
- frontend-ui-engineeringSkill
- get-pr-commentsSkill
- greploop-appsSkill
- greploopSkill
- handoffSkill
- howSkill
- interrogateSkill
- in-your-own-wordsSkill
- ketchupSkill
- maintain-formal-verification-skillSkill
- maintain-verification-skillSkill
- make-pr-easy-to-reviewSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 137 edited versions we read keep these.
4
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 17
Use measurements to choose a bottleneck, change one cause, and compare the result under the same workload.
- Distinctive: line 43
Remove unnecessary requests or N+1 queries after verifying the access pattern.
- Distinctive: line 49
Keep correctness checks alongside the benchmark.
- Distinctive: line 71
Add a representative regression check or monitoring signal where it will catch the demonstrated failure.
“Common” is measured: kept by at least 6 in 10 of the 137 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
Use measurements to choose a bottleneck, change one cause, and compare the result under the same workload. A suspected regression justifies investigation; it does not justify speculative caching, rewrites, or larger infrastructure.
Establish the baseline
Name the user journey or operation, observed symptom, and agreed performance budget. Record revision, dataset, runtime, hardware or device class, network, cache state, concurrency, and measurement method. Repeat enough to identify noise and state the sample size. Keep cold-start and warm measurements separate.
For web work, distinguish field data from laboratory traces. Field Core Web Vitals use real user experiences; a Lighthouse run or synthetic interaction cannot establish production INP. Verify current metric definitions and thresholds against web.dev's Web Vitals guide when using them. Report device segments and the period covered by field measurements.
For services, inspect latency distributions, throughput, errors, saturation, queue time, and query counts. CPU time alone does not explain I/O waits. Use representative payloads and concurrency within the authorized test budget.
Find and change the cause
Trace one slow path through rendering, network, application code, queries, and external dependencies as relevant. Optimize the measured bottleneck:
- Remove unnecessary requests or N+1 queries after verifying the access pattern.
- Reduce shipped or decoded bytes when transfer or parsing dominates.
- Break up long main-thread work when it blocks measured interactions.
- Change indexing or query shape after examining the actual execution plan.
- Reduce retained objects or concurrency when memory or saturation is the limit.
Keep correctness checks alongside the benchmark. Do not trade away authorization, data freshness, error handling, or output quality to improve a metric. Request architecture or product decisions when the tradeoff exceeds the agreed scope.
Cache only with a consistency contract
Include every response-varying input in the key, including tenant, permissions, locale, and feature state where relevant. Define invalidation, retention, acceptable staleness, and behavior after authorization changes. Bound memory, handle concurrent misses, and distinguish missing data from dependency failure.
For money, permissions, or inventory decisions that require freshness, use the authoritative state at the decision boundary. A faster stale answer can be a correctness bug. Test cross-tenant isolation and stale-data behavior explicitly.
Compare, keep, or revert
Repeat the baseline workload with the same method. Report absolute values, relative change, noise, and any cost or error regression. If the result does not support the hypothesis, revert only this task's experiment and record what was learned. Stop when the agreed budget is met or a dependency blocks measurement.
Add a representative regression check or monitoring signal where it will catch the demonstrated failure. Avoid brittle timing assertions in ordinary unit tests. Do not claim a production improvement from a local microbenchmark.
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.

