dp-solve
Installation
SKILL.md
DP Solve
Run only when explicitly invoked. Work on the supplied problem as semantic text; do not inspect or change a codebase unless separately authorized outside this skill.
- Define the target state or answer and its boundaries.
- Decompose it into subproblems.
- Identify overlapping subproblems and the minimal state needed to answer each once.
- Order dependencies and solve base cases first.
- Record the reusable answers in a memo table.
- Synthesize the target answer from the memoized results.
- Check that no conclusion depends on an unstated subproblem.
Prefer a smaller reusable state graph to artificial formalism.