Back to directory
FrontendOakblu/plugin-react-data-testid-generator
swc-plugin-react-data-testid
SWC plugin that automatically adds unique data-testid attributes to every React JSX element at build time — stable selectors for Playwright, Cypress and Testing Library, including per-item ids inside .map() loops. Zero config.
Suggested install command
npx skills add Oakblu/plugin-react-data-testid-generator/swc-plugin-react-data-testidAlways inspect the linked repository and skill instructions before running commands. Skills are instructions; permissions and execution still matter.
Compatibility
Agent support matrix
3 supported
| Agent | Status |
|---|---|
| Claude Code | Supported |
| OpenCode | Not listed |
| Cursor | Supported |
| MCP | Not listed |
| GitHub Copilot | Not listed |
| Windsurf |