optimize
Skill0 starsChanged 3 months agoMITView on GitHub
Analyze code for performance issues and suggest optimizations using measurement-first, evidence-based review. Targets API P95 < 200ms, DB queries < 100ms, and meaningful user-perceived improvements.
76 other projects use a version of this.
Adopted by
Most recently taken up by
- ansvisor/ansvisortheir own version, first seen Nov 8, 2026
- ai-search-guru/getcito-worlds-first-open-source-aio-aeo-or-geo-tooltheir own version, first seen Nov 8, 2026
- Mrbaeksang/skillstheir own version, first seen Nov 8, 2026
- cihantopac/searvextheir own version, first seen Nov 8, 2026
- daintreehq/daintreetheir own version, first seen Nov 5, 2026
- theexperiencecompany/gaiatheir own version, first seen Nov 3, 2026
Used with
Projects with it also use arrange, teach-impeccable and 10 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.
HK-hubSkillarrange
Improve layout, spacing, and visual rhythm. Fixes monotonous grids, inconsistent spacing, and weak visual hierarchy. Use when the user mentions layout feeling off, spacing issues, visual hierarchy, crowded UI, alignment problems, or wanting better composition.
Also in 14 projects that use this
HK-hubSkillteach-impeccable
One-time setup that gathers design context for your project and saves it to your AI config file. Run once to establish persistent design guidelines.
Also in 17 projects that use this
zwy123zwySkillnormalize
将用户随意输入的提示词规范化为结构清晰、便于大模型执行的标准化提示词。适用于需要整理、统一提示词格式时调用。
Also in 19 projects that use this
open-coder-aiSkillpolicy-init
Create conformant Chock policy from request. args(request, target_path,
Also in 3 projects that use this
- +8 more from HK-hub
Other versions76 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 76
- Z3Prover/z3★ 13ksame name
- highcharts/highcharts★ 13ksame name
- whitecircle/halo★ 851same name
- hacan359/tonkatsu_box★ 597same name
- talesofai/cohub★ 585same name
- ai-search-guru/getcito-worlds-first-open-source-aio-aeo-or-geo-tool★ 432same name
- nexmoe/DayBee★ 424same name
- nexmoe/eve★ 424same name
- Southclaws/storyden★ 348same name
- 10xChengTu/Mux0★ 337same name
66 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 repository66 other files it gives its agents.
- adb-android-app-opsSkill
- agents-sdkSkill
- api-documentationSkill
- atlasSkill
- backend-api-auth-guardrailsSkill
- browser-useSkill
- bundleSkill
- changelogSkill
- chatgpt-appsSkill
- chrome-devtools-testSkill
- chronicleSkill
- cloudflare-deploySkill
- cloudflare-email-serviceSkill
- cloudflare-one-migrationsSkill
- cloudflare-oneSkill
- cloudflareSkill
- computer-useSkill
- create-planSkill
- database-analysisSkill
- database-data-guardrailsSkill
- debug-memory-leakSkill
- deep-initSkill
- deploySkill
- develop-web-gameSkill
- dev-workflowSkill
- docSkill
- durable-objectsSkill
- explainSkill
- figmaSkill
- firmware-feature-writerSkill
- fix-bugSkill
- fix-lintSkill
- frontend-mobile-uiux-designerSkill
- frontend-ui-guardrailsSkill
- gemini-cliSkill
- grok-x-searchSkill
- hermes-chromeSkill
- image-file-readerSkill
- imagegenSkill
- infra-ops-mobile-guardrailsSkill
- layout-reviewSkill
- localizeSkill
- multimodal-lookerSkill
- openai-docsSkill
- parallel-devSkill
- plan-modeSkill
- playwrightSkill
- project-planningSkill
- qa-testerSkill
- refactorSkill
- review-changesSkill
- review-fix-shipSkill
- rust-programmerSkill
- sandbox-sdkSkill
- screenshotSkill
- security-auditSkill
- security-scanSkill
- security-threat-modelSkill
- source-command-collab-startSkill
- turnstile-spinSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 73 edited versions we read keep these.
5
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 27
Do not guess when measurement is feasible.
- Distinctive: line 96
Prefer quantified evidence over intuition.
- Distinctive: line 97
If the bottleneck is uncertain, ask for or collect profiling data before recommending deeper changes.
- Distinctive: line 98
Call out trade-offs such as readability, memory, cache invalidation, or consistency risk.
- Distinctive: line 99
Follow the principle: correctness > security > maintainability > performance.
“Common” is measured: kept by at least 6 in 10 of the 73 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 Optimizer
You are a performance engineer. Find bottlenecks from code and measurements, then recommend the lowest-risk fixes that materially improve latency or resource usage.
Execution Checklist (MUST follow in order)
- Step 1: Identify the target path, flow, or recent change
- Step 1: Read the relevant code and understand the execution path
- Step 2: Inspect query patterns, async behavior, loops, allocations, and network boundaries
- Step 2: Use available measurements or request them when the bottleneck cannot be inferred safely
- Step 3: Provide prioritized recommendations with expected impact and verification steps
Performance Targets (from AGENTS.md)
- API: P95 < 200ms
- DB queries: < 100ms
- Frontend LCP: < 2.5s
Measurement-First Workflow
Do not guess when measurement is feasible.
Useful tools and patterns:
EXPLAIN ANALYZE SELECT ...;# Identify hot paths and related code
rg -n "await |SELECT|INSERT|UPDATE|DELETE|map\\(|filter\\(|for " [target_files]Look for:
Database
- N+1 queries
- Missing indexes on filter and join columns
- Large result sets without pagination
- Repeated queries for the same request
Application
- Blocking I/O in async code
- Repeated expensive computation
- Unnecessary cloning or allocation
- Serialization and parsing overhead
Frontend
- Large bundles
- Render thrash or avoidable re-renders
- Unoptimized images or fonts
- Blocking scripts and layout shifts
Recommendation Strategy
Prioritize:
- Quick wins with low correctness risk
- Changes supported by measurements
- Improvements that simplify future profiling
- Larger refactors only when smaller fixes will not move the metric enough
Output Format
Provide analysis in Traditional Chinese:
效能摘要
Summarize the main bottlenecks, current evidence, and likely impact.
發現的問題
For each issue include:
- Severity
- File and line or subsystem
- Root cause
- Expected impact
- Recommended fix
驗證方式
List the benchmark, profile, query plan, or browser check needed to prove the improvement.
優先順序
Order the fixes by impact and implementation risk.
Important Notes
- Prefer quantified evidence over intuition.
- If the bottleneck is uncertain, ask for or collect profiling data before recommending deeper changes.
- Call out trade-offs such as readability, memory, cache invalidation, or consistency risk.
- Follow the principle: correctness > security > maintainability > performance.
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.

