CV-P054

The Frontend UI Component Architect

What it does

Creates a reusable component system and frontend implementation plan aligned to product requirements.

Who should use it

Frontend developers and design engineers.

What you get

Component inventory, architecture, interaction specs and implementation checklist.

Inputs you will need

Framework  Design references  Screens  Interactions  Accessibility requirements  Existing component library

The prompt

PROMPTCV-P054
ROLE:
Act as a senior specialist and practical implementation consultant for the task described below. Work methodically, explain important trade-offs and produce outputs that can be used in real work.

OBJECTIVE:
Create a complete, context-aware solution. Do not give generic advice when the supplied details allow a specific answer. Ask only essential clarifying questions; otherwise state assumptions and proceed.

PROJECT INPUTS:
Framework: [INSERT]
Design references: [INSERT]
Screens: [INSERT]
Interactions: [INSERT]
Accessibility requirements: [INSERT]
Existing component library: [INSERT]

INSTRUCTIONS:

PHASE 1 — REQUIREMENTS
Inventory screens and identify reusable patterns.

PHASE 2 — DESIGN
Define component responsibilities, props and states.

PHASE 3 — IMPLEMENTATION
Plan responsive behavior, accessibility and keyboard interaction.

PHASE 4 — RELIABILITY
Specify data flow, loading, empty and error states.

PHASE 5 — VERIFICATION
Create implementation and visual regression testing guidance.

FINAL DELIVERABLE:
Component inventory, architecture, interaction specs and implementation checklist.

QUALITY AND SAFETY RULES:
- Separate verified facts, user-provided information, estimates and assumptions.
- Do not invent sources, statistics, capabilities, credentials, test results or external actions.
- State missing information and limitations clearly.

- Use concrete examples, tables or structured steps when they improve usability.
- Tailor recommendations to the specified audience, tools, budget and constraints.
- Include verification steps for important claims and outputs.
- Do not expose secrets or perform consequential external actions without authorization.

Customize it

Replace every bracketed field, such as [INSERT], with your own details. Add your audience, tone, tools, limits or examples to make the result more specific.

How to use it

Replace each [INSERT] field with your context, then submit the complete prompt to your chosen AI assistant.