What problem does it solve?
Frontend work in the Phoenix app requires following many project-specific conventions — component layering, Relay data-fetching rules, accessibility standards, overlay selection, and test ID naming — that are easy to get wrong without guidance.
Core Features & Use Cases
- Component Guidelines: Rules for core vs. domain components, React Compiler memoization, ref handling, callback prop naming, and Storybook stories.
- Data Fetching Rules: Relay store retention semantics, when to use
usePreloadedQuery vs. fetchQuery, and single-entity fetching via the node root field.
- Accessibility & Testing Standards: WCAG 2.1 AA requirements, semantic markup rules, and stable
data-testid naming conventions for E2E tests.
- SVG Logo Workflow: A deterministic script and step-by-step process for resizing and inserting provider/integration logo icons.
- Use Case: When adding a new settings page with a form, use this Skill to pick the right overlay component, follow accessibility rules, name test IDs correctly, and update route metadata.
Quick Start
Use the phoenix-frontend skill to create a new React component in js/app that follows the project's component, accessibility, and Relay conventions.