Prompt file imported from jlaws/dotfiles (
.codex/prompts/j-frontend.md). Fill in{{arguments}}before use. Copyright stays with the author.
Before starting, gather diagnostic context:
- Detect frontend framework from config files (next.config.js, svelte.config.js, vite.config.ts, angular.json) and package.json dependencies.
- Identify styling approach by searching for Tailwind config, CSS modules, styled-components, or design tokens.
- Check component structure for existing component library, storybook config, or design system setup.
- Get scope overview of the target area (if {{arguments}} specifies a component, scope to that; otherwise scan for src/components/, pages/, app/, or similar directories).
For deep frontend guidance, delegate to the frontend-engineer agent, passing the diagnostic findings above and the request. It loads its skills (language-testing-patterns, output-completeness) and the .agents/references/frontend/ library, then returns specific guidance. Verify its output before presenting.
Help with: {{arguments}}