mirror of
https://github.com/magnus919/agent-skills.git
synced 2026-09-14 13:06:30 +03:00
7-phase methodology for reverse-engineering codebases and producing clean-room design documents under new constraints. Core workflow: Phase 1: Clone & map repository structure Phase 2: Find key architectural files (sort by line count) Phase 3: Map architecture with Mermaid diagrams Phase 3b: Extract implicit storage/provider contracts (DAO design) Phase 4: Inventory feature surface Phase 5: Write clean-room specification (no code contamination) Phase 6: Break constraints (local-first, privacy-first redesign) Phase 7: Post-delivery QA (link integrity, diagram rendering) Includes a full worked example of the interface extraction pattern (references/interface-extraction-pattern.md) using the cashew thought-graph library — demonstrating all five steps from philosophy reading through two-provider proof concept. Signed-off-by: Jasper <magnus@groktop.us>