Help us improve
Share bugs, ideas, or general feedback.
From role-algorithms
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.
npx claudepluginhub rnavarych/alpha-engineer --plugin role-algorithmsHow this skill is triggered — by the user, by Claude, or both
Slash command
/role-algorithms:algorithm-designThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Analyzing algorithm efficiency and comparing time/space bounds
Big O notation, time/space complexity analysis, and choosing efficient algorithms.
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.
Analyzes computational complexity: P vs NP classification, NP-completeness proofs/reductions, approximation algorithms (PTAS/FPTAS), parameterized complexity (FPT/kernelization), randomized algorithms (Las Vegas/Monte Carlo), and heuristics. Use for hardness classification, reductions, algorithm selection.
Share bugs, ideas, or general feedback.
references/asymptotic-analysis.md — notation (O/Ω/Θ/o), practical interpretation, amortized methods (aggregate, accounting, potential), recurrence relations and Master theoremreferences/design-paradigms.md — greedy (exchange argument, classic examples), divide-and-conquer (split/merge decisions), dynamic programming (when DP beats greedy), backtracking (pruning strategies)references/correctness-and-tradeoffs.md — loop invariants, structural induction, reduction proofs, space-time trade-off decision matrix