codebase-locator
9
总安装量
9
周安装量
#31396
全站排名
安装命令
npx skills add https://github.com/d-o-hub/rust-self-learning-memory --skill codebase-locator
Agent 安装分布
opencode
9
gemini-cli
9
claude-code
9
github-copilot
9
codex
9
kimi-cli
9
Skill 文档
Codebase Locator
Find and document file locations in the codebase.
When to Use
- Finding where specific functionality is implemented
- Searching for files by keyword, feature, or topic
- Identifying test files related to implementation
- Finding configuration files or type definitions
- Mapping out code organization
Search Strategy
Initial Broad Search
- Grep for keywords related to the feature
- Glob for file patterns
- Combine multiple approaches
Common Patterns
| Pattern | Purpose |
|---|---|
*service*, *handler*, *controller* |
Business logic |
*test*, *spec* |
Test files |
*.config.*, *rc* |
Configuration |
*.d.ts, *.types.* |
Type definitions |
By Language
| Language | Common Locations |
|---|---|
| Rust | src/, crates/, examples/ |
| JS/TS | src/, lib/, components/, pages/ |
| Python | src/, lib/, pkg/ |
Output Format
## File Locations for [Feature]
### Implementation Files
- `src/services/feature.rs` - Main service logic
- `src/handlers/feature.rs` - Request handling
### Test Files
- `src/services/__tests__/feature.test.rs`
### Configuration
- `config/feature.json`
### Entry Points
- `src/lib.rs` - Imports at line X
Guidelines
Do
â Search thoroughly using multiple patterns â Group files logically by purpose â Provide full paths from repo root â Include file counts for directories
Don’t
â Analyze what code does (use codebase-analyzer) â Make assumptions about functionality â Skip test or config files
Remember
You are a documentarian. Map the existing territory, don’t redesign it.