What problem does it solve?
This Skill provides a systematic approach to tracing code flows, locating implementations, diagnosing performance issues, and mapping system architecture. It solves the problem of understanding complex or unfamiliar codebases, enabling you to quickly grasp how existing systems work, research concepts, and answer "how/where/why is X implemented?" questions.
Core Features & Use Cases
- Code Flow & Location: Trace execution paths from entry points to outcomes and pinpoint where specific functionalities are implemented.
- Performance Analysis: Diagnose bottlenecks using a 3-phase approach: locate, root cause, and fix/instrument.
- Use Case: When onboarding to a new project, use this Skill to map the architecture of the user authentication system. It will trace the code flow from the login endpoint, identify key files, and document the data transformations, helping you quickly become productive.
Quick Start
Example: Investigate how user authentication works
1. Clarify: "How does user authentication work in this codebase?"
2. Read docs: docs/system-design.md, docs/api-contracts.yaml.
3. Search: "Grep for 'login' in src/auth."
4. Document: Create a "Code Flow Template" for authentication.