react-grab lets you point at any DOM element on the page and press Cmd+C to copy the file name, React component, and HTML source — then paste straight into a coding agent (Claude Code, Cursor, etc.) for much higher-fidelity context. Wiring (auto-detected by `npx grab@latest init --force`): a Next <Script> tag in src/app/layout.tsx that loads the bundle from unpkg in development only. Production builds skip the script entirely so no extra weight ships to end users. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
4.1 KiB
4.1 KiB