Frontend Workflow
Use this as the single entry point for frontend work. It orchestrates specialist
skills; it does not duplicate their rules.
Specialist Skills
Load only the skills relevant to the task:
- React or Next.js code: read
../vercel-react-best-practices/SKILL.md, then load only the applicable files
from its rules/ directory. Do not load its full compiled guide by default.
- shadcn/ui components or a project with
components.json: read
../shadcn/SKILL.md and follow its project-inspection, component-reuse,
documentation, composition, styling, and accessibility workflow.
- Colors, themes, charts, or visual styling: read
../color-system/SKILL.md and use its canonical palette and semantic-token
rules.
- UI polish, typography, surfaces, icons, interactions, or motion: read
../make-interfaces-feel-better/SKILL.md, then load only the applicable
supporting reference files.
- A vaguely described motion effect: read
../animation-vocabulary/SKILL.md first to identify the exact term. This
glossary names effects; it does not decide whether to build them.
Do not load animation vocabulary or animation references for frontend work
that has no motion concern.
Workflow
Understand the task
- Inspect the relevant implementation and trace the affected interaction.
- Clarify only decisions that materially change behavior or design.
- Reuse existing components, helpers, tokens, and patterns.
Select guidance
- Apply the specialist-skill conditions above.
- Read detailed reference files only when the touched code needs them.
- Treat current project configuration and installed APIs as authoritative.
Implement
- Make the smallest complete change that satisfies the request.
- Preserve established visual language and component APIs.
- Cover loading, empty, error, disabled, responsive, keyboard, focus, and
reduced-motion states when they are relevant.
Validate
- Run the smallest relevant lint, type, and test checks.
- For visible interaction changes, verify the rendered behavior when a
runnable frontend is available.
- If visual details or motion changed, apply the interface-polish review
only after functional implementation is complete and resolve blocking
findings within scope.
Report
- Summarize the user-visible result, checks run, and unresolved risks.
- Use the interface-polish skill's review format only when the user
requested a review. For implementation tasks, include relevant visual or
motion findings in the normal completion summary.
Precedence and Conflicts
Resolve conflicting guidance in this order:
- The user's explicit requirements.
- Correctness, security, and accessibility.
- Existing project conventions and configuration.
- The canonical color system and shadcn/ui composition rules.
- React and Next.js performance guidance.
- Interface and motion polish.
Never sacrifice correctness or accessibility for visual polish or a
micro-optimization. If a specialist rule conflicts with the installed library
version or project configuration, verify the current API and follow the
project's actual version.
Invocation
Use:
/frontend-workflow <frontend task>
Examples:
/frontend-workflow build a responsive settings dialog
/frontend-workflow improve the performance of this React page
/frontend-workflow add the subtle grow-from-trigger effect to this popover
/frontend-workflow review this component's UI and motion
1---2name: frontend-workflow3description: Coordinates frontend and UI implementation, refactoring, and review using the project's color system, React performance, shadcn/ui, interface-polish, and animation-vocabulary skills. Use when the user explicitly requests /frontend-workflow for a frontend task.4---56# Frontend Workflow78Use this as the single entry point for frontend work. It orchestrates specialist9skills; it does not duplicate their rules.1011## Specialist Skills1213Load only the skills relevant to the task:1415- **React or Next.js code:** read16 `../vercel-react-best-practices/SKILL.md`, then load only the applicable files17 from its `rules/` directory. Do not load its full compiled guide by default.18- **shadcn/ui components or a project with `components.json`:** read19 `../shadcn/SKILL.md` and follow its project-inspection, component-reuse,20 documentation, composition, styling, and accessibility workflow.21- **Colors, themes, charts, or visual styling:** read22 `../color-system/SKILL.md` and use its canonical palette and semantic-token23 rules.24- **UI polish, typography, surfaces, icons, interactions, or motion:** read25 `../make-interfaces-feel-better/SKILL.md`, then load only the applicable26 supporting reference files.27- **A vaguely described motion effect:** read28 `../animation-vocabulary/SKILL.md` first to identify the exact term. This29 glossary names effects; it does not decide whether to build them.3031Do not load animation vocabulary or animation references for frontend work32that has no motion concern.3334## Workflow35361. **Understand the task**37 - Inspect the relevant implementation and trace the affected interaction.38 - Clarify only decisions that materially change behavior or design.39 - Reuse existing components, helpers, tokens, and patterns.40412. **Select guidance**42 - Apply the specialist-skill conditions above.43 - Read detailed reference files only when the touched code needs them.44 - Treat current project configuration and installed APIs as authoritative.45463. **Implement**47 - Make the smallest complete change that satisfies the request.48 - Preserve established visual language and component APIs.49 - Cover loading, empty, error, disabled, responsive, keyboard, focus, and50 reduced-motion states when they are relevant.51524. **Validate**53 - Run the smallest relevant lint, type, and test checks.54 - For visible interaction changes, verify the rendered behavior when a55 runnable frontend is available.56 - If visual details or motion changed, apply the interface-polish review57 only after functional implementation is complete and resolve blocking58 findings within scope.59605. **Report**61 - Summarize the user-visible result, checks run, and unresolved risks.62 - Use the interface-polish skill's review format only when the user63 requested a review. For implementation tasks, include relevant visual or64 motion findings in the normal completion summary.6566## Precedence and Conflicts6768Resolve conflicting guidance in this order:69701. The user's explicit requirements.712. Correctness, security, and accessibility.723. Existing project conventions and configuration.734. The canonical color system and shadcn/ui composition rules.745. React and Next.js performance guidance.756. Interface and motion polish.7677Never sacrifice correctness or accessibility for visual polish or a78micro-optimization. If a specialist rule conflicts with the installed library79version or project configuration, verify the current API and follow the80project's actual version.8182## Invocation8384Use:8586```text87/frontend-workflow <frontend task>88```8990Examples:9192```text93/frontend-workflow build a responsive settings dialog94/frontend-workflow improve the performance of this React page95/frontend-workflow add the subtle grow-from-trigger effect to this popover96/frontend-workflow review this component's UI and motion97```