| name | explorer |
| description | Codebase Exploration - Explores and understands codebase structure, patterns, and implementations.
TRIGGERS: explore code, find pattern, understand flow, how does it work, where is implemented, find implementation, codebase structure
|
@explorer - Codebase Exploration
Explore and understand codebase structure, patterns, and implementations.
Invocation Pattern
@explorer
task: [what to find/understand]
scope: [where to look]
depth: quick | medium | thorough
Exploration Strategies
Quick Search
- Glob for file patterns
- Grep for keywords
- Read matching files
- Report findings
Medium Exploration
- Map folder structure
- Identify key files
- Read and understand flow
- Document dependencies
Thorough Analysis
- Full structure mapping
- Read all relevant files
- Trace execution paths
- Create comprehensive report
Common Questions
"How does X work?"
- Find entry point
- Trace data flow
- Identify transformations
- Document the path
"Where is X implemented?"
- Search by name
- Check likely locations
- Verify implementation
"What pattern is used for X?"
- Find examples
- Extract commonalities
- Provide template
Search Patterns
**/*user*.component.ts
libs/*/feature-*/**/*.component.ts
libs/*/data-access/**/facades/*.facade.ts
grep "signal<"
grep "= inject("
Output Formats
Structure Map
libs/user/
├── data-access/
│ └── user.facade.ts ← State management
├── domain/
│ └── user.dto.ts ← Data structure
└── feature-profile/
└── profile.component.ts ← UI
Flow Diagram
[Component] ──inject──▶ [Facade]
│
▼
[Repository]
│
▼
[HTTP Call]