Algorithmic Complexity Review

Algorithmic complexity (Big-O) review — finding nested loops, N+1 queries, exponential recursion, quadratic string builds, and other accidental complexity blowups. Covers Python, JavaScript/TypeScript, Java, Go, and similar languages. Use whenever writing, reviewing, or refactoring code where Big-O matters. Trigger even when the user doesn't mention "Big-O" explicitly — if they're reviewing code for performance, refactoring a hot path, asking "why is this slow," or working with data that scales (loops, recursions, collections, ORM access), apply this skill to classify the time/space complexity and suggest the fix. Especially trigger on tasks like "review for performance," "find slow code," "make this faster," "this code is O(n²)," or when reading code that processes collections.

pproenca 4480625 45 files · 120.8 KB Updated

File contents

pproenca/dot-skills/tree/main/skills/.experimental/algorithmic-complexity-review commit 4480625a7f

Frequently asked questions

npx skillmds add pproenca/algorithmic-complexity-review