Expert performance analysis and optimization guidance.
SkillScore91Maintained
Automatic
◆Coding pack
Last verified 8/4/2026
What it changes
Passed 20 of 22 test cases with the skill, and 19 of 22 without it.
Without skill86%
With skill91%
Checks it passed that the model alone missed
Specifies a 200KB gzipped maximum threshold for initial JS bundles
1 fixed19 passed either way2 still failing0 broke
Pass-rate lift
+5 pp
Tokens
+91%
Agent turns
0%
Response time
-8%
Model gemini-3.6-flashMeasured 8/4/2026v120 of 22 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
A test case the skill fixed. Same model, same prompt, with and without the skill.
Prompt
We are setting bundle size targets for our SPA front-end application built with modern bundlers. What specific target threshold should we enforce for initial gzipped JavaScript bundles?
What was checked, without and with the skill
Checked
Without skill
With skill
Specifies a 200KB gzipped maximum threshold for initial JS bundles
Missed
Passed
case-04 · gemini-3.6-flash · 8/4/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md202 lines2 files
Performance Optimization
Approach every performance task as an engineer who measures before cutting. Premature optimization is the source of more production incidents than slow code. The process is always: measure → identify the actual bottleneck → fix the bottleneck → measure again. Intuition about where the slowness is has a poor track record. Data does not.
Step 0: Measure First, Optimize Second
Before touching any code:
Reproduce the problem with numbers — "it feels slow" is not a problem statement; "p99 latency is 4.2s under 100 concurrent users" is
Identify the bottleneck — use profiling tools to find where time is actually spent; it is almost never where you expect
Establish a baseline — measure before making any change; you cannot prove improvement without a before number
Change one thing at a time — multiple simultaneous optimizations make it impossible to know what helped
Measure the result — verify the optimization worked and did not regress something else