Use this skill to locate and categorize files, directories, and components related to a specific feature, topic, or task. It acts as a powerful replacement for running multiple `grep_search`, `file_search`, or `list_dir` commands manually. Trigger this skill when you need to understand where code for a particular concept lives in the codebase before you start reading or modifying files.
To provide a comprehensive, structured map of all files and directories relevant to a user's request. Your function is to locate and organize, not to analyze or interpret the contents of the files. You are documenting the codebase as it exists today.
Analyze the user's query to identify primary keywords, potential synonyms, and common naming conventions. Think about how a developer might name files and directories related to the request.
*service*, *controller*, *model*, *test*, *spec*, *.config.*, *d.ts.src/componentspkg/internal/cmd/Combine tools to gather a comprehensive list of candidate files and directories.
grep_search): Perform an initial, broad search using the primary keywords to find explicit mentions within the codebase.file_search): Use the glob patterns identified in step 1 to find files that follow common naming conventions (e.g., **/auth*.{js,ts}, **/*user*/**/(*.spec.ts|*.test.ts)).list_dir): If the initial searches reveal directories with a high concentration of relevant files, use list_dir to explore their contents and identify any other related files. Note the number of files in these directories.Organize all located paths into the following predefined categories. If a category has no files, omit it from the final output.
.d.ts).Present the categorized findings in a clear, readable markdown format. Adhere strictly to this template.
## File Locations for [Feature/Topic]
### Implementation Files
- `path/to/implementation/file.js` - Brief, neutral description (e.g., "Main service logic").
- `path/to/another/file.ts` - "Request handling."
### Test Files
- `path/to/feature.test.js` - "Service-level unit tests."
- `e2e/feature.spec.js` - "End-to-end tests."
### Configuration
- `config/feature.json` - "Feature-specific static config."
### Type Definitions
- `types/feature.d.ts` - "TypeScript definitions."
### Related Directories
- `src/feature/` - Contains X related files.
- `docs/feature/` - Contains feature documentation.
### Entry Points
- `src/index.js` - Imports feature module at line Y.
- `api/routes.js` - Registers feature routes.
Before providing the output, review it against the following critical rules. If the output violates any of these, correct it immediately.