| 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.
|
Codebase Navigator
Use this skill FIRST when exploring code, finding files, or understanding project structure.
Search Scripts
Run from the repo root:
.github/skills/codebase-navigator/scripts/search.sh functions <pattern>
.github/skills/codebase-navigator/scripts/search.sh components <pattern>
.github/skills/codebase-navigator/scripts/search.sh endpoints
.github/skills/codebase-navigator/scripts/search.sh classes <pattern>
.github/skills/codebase-navigator/scripts/search.sh types <pattern>
.github/skills/codebase-navigator/scripts/search.sh schema <pattern>
.github/skills/codebase-navigator/scripts/search.sh imports <module>
.github/skills/codebase-navigator/scripts/search.sh exports <pattern>
.github/skills/codebase-navigator/scripts/search.sh hooks <pattern>
.github/skills/codebase-navigator/scripts/search.sh config
.github/skills/codebase-navigator/scripts/search.sh usage <symbol>
.github/skills/codebase-navigator/scripts/search.sh deps <file>
.github/skills/codebase-navigator/scripts/search.sh api-routes
.github/skills/codebase-navigator/scripts/search.sh todos
.github/skills/codebase-navigator/scripts/search.sh files <pattern>
.github/skills/codebase-navigator/scripts/search.sh tree [dir]
Trace Scripts
.github/skills/codebase-navigator/scripts/trace.sh api-flow <endpoint>
.github/skills/codebase-navigator/scripts/trace.sh component-tree <ComponentName>
.github/skills/codebase-navigator/scripts/trace.sh data-flow <field_name>
.github/skills/codebase-navigator/scripts/trace.sh middleware
.github/skills/codebase-navigator/scripts/trace.sh state <key>
Direct Ripgrep Patterns
When scripts don't cover your need:
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 Docs
| 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 (multi-provider AI)
│ ├── routers/ # API endpoint handlers
│ ├── services/ # Business logic layer
│ ├── schemas/ # Pydantic request/response models
│ └── prompts/ # LLM prompt templates
│
└── frontend/
├── app/ # Next.js pages (dashboard, builder, tailor, print)
├── components/ # Reusable UI components
├── lib/ # API client, utilities, i18n
├── hooks/ # Custom React hooks
└── messages/ # i18n translations (en, es, zh, ja)
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 patterns.