aposd-optimizing-critical-paths

Installation
SKILL.md

Skill: aposd-optimizing-critical-paths

STOP - The Measure-First Rule

Don't optimize based on intuition—measure first. Intuitions about performance are unreliable, even for experienced developers.

Stage 1 is a GATE: You cannot proceed to optimization without actual profiling data.


The Simplicity-Performance Relationship

Myth Reality
"Performance requires complexity" Simpler code usually runs faster
"Clean design sacrifices speed" Clean design and high performance are compatible
"Optimization means adding code" Optimization often means removing code

Why simplicity improves performance:

Related skills

More from ryanthedev/code-foundations

Installs
1
GitHub Stars
243
First Seen
Mar 9, 2026