find_source
Locate source files in your project containing a specific CSS selector, mapping DOM selectors back to editable code in React, Vue, Svelte, HTML, PHP, or Astro files.
Instructions
Find source files in the local project that contain a given CSS selector. Maps DOM selectors back to source code so you can edit the right file. Searches React/Vue/Svelte/HTML/PHP/Astro files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rootDir | No | Project root to search (defaults to cwd) | |
| selector | Yes | CSS selector from a scan issue |