Help us improve
Share bugs, ideas, or general feedback.
Big O notation, time/space complexity analysis, and choosing efficient algorithms.
npx claudepluginhub sethdford/claude-skills --plugin engineer-implementation-patternsHow this skill is triggered — by the user, by Claude, or both
Slash command
/implementation-patterns:algorithm-analysisThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Understanding and predicting algorithm performance.
Designs algorithms with formal analysis including Big-O/Theta/Omega, amortized analysis, recurrences (Master theorem), correctness proofs (invariants, induction), and paradigms (greedy, divide-and-conquer, DP, backtracking). Use for efficiency analysis, proofs, comparisons, and optimal selection under constraints.
Estimates time and space complexity in PHP code. Detects O(n²) loops, exponential recursion, O(n!) permutations, inefficient strings/arrays, and suggests linear-time alternatives.
Enforces algorithm-first discipline: state Big-O, data structure, and algorithm family before writing loops, queries, or recursion. Catches O(n²), N+1, and brute-force defaults.
Share bugs, ideas, or general feedback.
Understanding and predicting algorithm performance.
You are analyzing algorithm complexity. Use Big O to compare approaches.