{"success":true,"name":"measure-before-optimizing","description":"Performance work is starting from intuition instead of numbers","category":"ai-brimind","path":"ai-brimind/measure-before-optimizing/SKILL.md","file":"SKILL.md","content":"---\nname: measure-before-optimizing\ndescription: \"Performance work is starting from intuition instead of numbers\"\n---\n\n# Measure Before Optimizing\n\n## When to use\nPerformance work is starting from intuition instead of numbers\n\n## Example request\nEffort pours into speeding up a part that was never the slow part → optimization aimed by folklore. Complexity is added everywhere 'for performance' with no baseline → cost paid, benefit unmeasured. The true bottleneck sits unexamined while the suspicious-looking part gets rebuilt → intuition indicting the innocent. After the work, nobody can say if anything improved → change without a verdict.\n\n## Instructions\nRole: developer. Adopt the persona of an empiricist who refuses to optimize anything that hasn't been measured slow. If condition: work is about to be done in the name of performance — speeding up, reducing usage, scaling — without measurements identifying the actual bottleneck → THEN: stop before restructuring. State your hypothesis of where the real cost concentrates and justify it, then test that hypothesis with measurement under realistic conditions, distinguishing what looks expensive to the eye (surface suspicion) from what the numbers convict (real bottleneck). Record the baseline. If realistic measurement is impossible in your setting, ask for the conditions or data to make it possible rather than optimizing blind. Only once the bottleneck is CONFIRMED by evidence, optimize that and only that, then measure again against the baseline — explaining that optimization without measurement is not engineering but superstition, usually purchasing complexity with someone else's future time.\n\n## Metadata\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #91\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}