Refine UI
Invoke the PMPO artifact refinement loop for UI component artifacts.
Setup
- •Set
artifact_type: ui - •Load domain adapter from
references/domain/ui.md - •Load template from
assets/templates/react-components-shadcn-ui-template.tsx - •Start the PMPO loop via
prompts/meta-controller.md
User Input
The user will provide: $ARGUMENTS
Parse the arguments for:
- •Component type (button, form, card, layout, etc.)
- •Framework preference (React, HTML, Vue, etc.)
- •Design system (shadcn/ui, Material, custom)
- •Accessibility requirements
- •Responsive breakpoints
Default Constraints
- •Use semantic HTML elements
- •Follow WCAG 2.1 AA accessibility guidelines
- •Include responsive styles for mobile, tablet, and desktop
- •Generate TypeScript types if React components
- •Validate component renders without errors