algo-reconstruct
Installation
SKILL.md
Algorithm Reconstructor
Reconstruct methodological logic from papers and code into publication-grade LaTeX pseudocode.
Workflow
- Gather sources — Read paper methodology section, appendix, and source code. Prioritize paper over code.
- Identify novelty — Pinpoint the core contribution. Do NOT reduce it to a generic training loop.
- Select structure — Single unified algorithm, or multi-algorithm by stage. Adapt to paper's natural decomposition.
- Draft pseudocode — Follow style rules below. Use
references/notation.mdfor symbol mapping. - Compile — Run
scripts/compile_algo.pyon the generated.tex. Fix errors until PDF succeeds. - Output — Deliver: Rationale → LaTeX → Complexity Analysis → Compilation Result.