| name | codebase-navigator |
| description | Navigate, search, and understand the Resume Matcher codebase using ripgrep, ack, or grep. Find functions, classes, components, API endpoints, trace data flows, and understand architecture. Use FIRST when exploring code, finding files, or understanding project structure.
|
| metadata | {"author":"resume-matcher","version":"1.0.0"} |
| allowed-tools | Bash(rg:*) Bash(ack:*) Bash(grep:*) Bash(find:*) Bash(tree:*) Read |
Codebase Navigator
Use this skill FIRST when exploring code, finding files, or understanding project structure.
Quick Start
Search scripts (preferred)
Run the bundled scripts for common searches:
.agents/skills/codebase-navigator/scripts/search.sh functions <pattern>
.agents/skills/codebase-navigator/scripts/search.sh components <pattern>
.agents/skills/codebase-navigator/scripts/search.sh endpoints
.agents/skills/codebase-navigator/scripts/trace.sh api-flow <endpoint>
.agents/skills/codebase-navigator/scripts/trace.sh data-flow <field_name>
.agents/skills/codebase-navigator/scripts/trace.sh component-tree <ComponentName>
Direct ripgrep patterns
rg --no-heading -n '\bMySymbol\b' apps/
rg --no-heading -n '(def|async def) my_function' apps/backend/ --type py
rg --no-heading -n '<MyComponent' apps/frontend/ --glob '*.tsx'
rg --no-heading -n 'class My.*BaseModel' apps/backend/ --type py
rg --no-heading -n '@(router|app)\.(get|post|put|patch|delete)' apps/backend/ --type py
Architecture Overview
| Need | Document |
|---|
| Backend architecture | docs/agent/architecture/backend-architecture.md |
| Frontend architecture | docs/agent/architecture/frontend-architecture.md |
| API contracts | docs/agent/apis/front-end-apis.md |
| API flow maps | docs/agent/apis/api-flow-maps.md |
| Full doc index | docs/agent/README.md |
Project Layout
apps/
├── backend/app/
│ ├── main.py # FastAPI entry, CORS, routers
│ ├── config.py # Pydantic settings from env
│ ├── database.py # TinyDB wrapper
│ ├── llm.py # LiteLLM wrapper
│ ├── routers/ # API endpoints
│ ├── services/ # Business logic
│ ├── schemas/ # Pydantic models
│ └── prompts/ # LLM prompt templates
│
└── frontend/
├── app/ # Next.js pages
├── components/ # UI components
├── lib/ # API client, utilities, i18n
├── hooks/ # Custom React hooks
└── messages/ # i18n translations (en, es, zh, ja)
Common Workflows
"Where is X defined?"
.agents/skills/codebase-navigator/scripts/search.sh functions my_function
.agents/skills/codebase-navigator/scripts/search.sh components MyComponent
.agents/skills/codebase-navigator/scripts/search.sh classes MyClass
.agents/skills/codebase-navigator/scripts/search.sh types MyType
"What calls X?"
.agents/skills/codebase-navigator/scripts/search.sh usage my_function
.agents/skills/codebase-navigator/scripts/search.sh deps my_file.py
"How does data flow for feature X?"
.agents/skills/codebase-navigator/scripts/trace.sh api-flow resumes
.agents/skills/codebase-navigator/scripts/trace.sh data-flow personalInfo
.agents/skills/codebase-navigator/scripts/trace.sh component-tree ResumeEditor
Key Entry Points
| What | File |
|---|
| Backend startup | apps/backend/app/main.py |
| Frontend pages | apps/frontend/app/ |
| API client | apps/frontend/lib/api.ts or lib/api-client.ts |
| Design tokens | apps/frontend/app/globals.css |
| Resume schemas | apps/backend/app/schemas/ |
| LLM prompts | apps/backend/app/prompts/ |
Reference
See references/REFERENCE.md for the full ripgrep cheat sheet and advanced search patterns.