Codebase Exploration Loop

Build a working mental model of an unfamiliar codebase by looping: fan out read-only subagents to map subsystems, synthesize, find the gaps in your understanding, and repeat until a written architecture summary answers every seed question — each answer citing where in the code it comes from. The deep-research fan-out shape applied to the LOCAL codebase (Read/Grep, no web), with a subagent-parallelism cap and a loop-until-dry stop on understanding gaps. Use when onboarding to a new repo, reverse-engineering someone else's code, or answering "I don't understand how X works here" before you touch it. Trigger on "help me understand this codebase", "onboard me to this repo", "how does X work in this code", "build a mental model of this project", "explore this codebase", "map this codebase", "I don't understand this code", "explore until I understand". A configuration of loop-controller.

ivy00johns Updated

File contents

ivy00johns/Skill-Madness/tree/main/skills/loops/codebase-exploration-loop commit 9046e79a3c

Frequently asked questions

npx skillmds@latest add ivy00johns/codebase-exploration-loop