Help us improve
Share bugs, ideas, or general feedback.
From role-algorithms
Solves optimization problems using dynamic programming: top-down memoization, bottom-up tabulation, bitmask DP, interval DP, tree DP, convex hull trick. Use for overlapping subproblems or recursive-to-iterative conversions.
npx claudepluginhub rnavarych/alpha-engineer --plugin role-algorithmsHow this skill is triggered — by the user, by Claude, or both
Slash command
/role-algorithms:dynamic-programmingThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Recognizing whether a problem has overlapping subproblems and optimal substructure
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.
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.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Share bugs, ideas, or general feedback.
references/identification-and-approach.md — DP recognition heuristics, top-down vs bottom-up trade-offs, state variable design, state compression, redundant state eliminationreferences/classic-patterns.md — knapsack variants (0/1, unbounded, bounded, multi-dimensional), sequence DP (LCS, LIS, edit distance), interval DP, grid/path DPreferences/advanced-techniques.md — bitmask DP (TSP, assignment), tree DP with rerooting, DP on DAGs, convex hull trick, D&C optimization, rolling arrays, dimension reduction, implementation checklist