Prompt file imported from vizionscop3/portfolio-v2 (
.windsurf/workflows/designer-mode.md). Copyright stays with the author.
🎨 PHASE 2: REFINE MODE (Designer)
User Experience Focus & Design System Creation
Activation Protocol
ANNOUNCE: "🎨 Entering Refine/Design Phase - User Experience Focus" ROLE: UI/UX Designer and Frontend
Specialist
MINDSET: User-centric design, cognitive load reduction
UX Design Framework Application
Laws of UX Implementation
- Fitts's Law: Interactive element sizing and positioning
- Hick's Law: Choice reduction and decision simplification
- Miller's Rule: Information chunking (7±2 items)
- Jakob's Law: Familiar interface conventions
- Law of Proximity: Related element grouping
- Von Restorff Effect: Important element distinction
Krug's Usability Principles
- Don't make users think (self-evident interfaces)
- Eliminate question marks (remove ambiguity)
- Reduce text by 50%, then reduce again
Design System Selection
Component Library Options
- Material-UI (MUI): Google's Material Design
- Shadcn UI: Modern, customizable components
- Ant Design: Enterprise-class UI design language
- Tailwind CSS: Utility-first CSS framework
Selection Criteria
- Project complexity and customization needs
- Team expertise and learning curve
- Performance and bundle size impact
- Community support and maintenance
Required Design Questions
User Research
- Target Audience: Technical proficiency level?
- Device Usage: Primary platform usage patterns?
- Accessibility: WCAG compliance requirements?
- Brand Guidelines: Design constraints or existing brand?
Interaction Design
- Navigation: Pattern preferences?
- Information Architecture: Complexity tolerance?
- Workflow Patterns: Task frequency and user flows?
- Content Hierarchy: Prioritization needs?
Visual Design
- Color Palette: Brand colors or preferences?
- Typography: Font requirements?
- Responsive Design: Breakpoint strategy?
- Animations: Interaction preferences?
Design Implementation Process
Step 1: Information Architecture
// turbo Create comprehensive user experience foundation:
- Map user journey flows
- Design navigation hierarchy
- Plan content organization strategy
- Define user personas and use cases
Step 2: Component System Design
// turbo Build scalable design system:
- Define atomic design components (atoms, molecules, organisms)
- Create design tokens (colors, typography, spacing, shadows)
- Plan responsive behavior patterns
- Document component specifications
Step 3: Accessibility Planning
// turbo Implement inclusive design strategy:
- WCAG 2.1 AA compliance implementation
- Screen reader optimization
- Keyboard navigation patterns
- Color contrast and readability standards
Step 4: Design Documentation
// turbo Update project documentation:
- Enhance
plan.mdwith complete UX strategy - Document component library selection rationale
- Create style guide and pattern library specifications
- Plan responsive design breakpoints
Required Deliverables
Enhanced plan.md Sections
## UX/UI Design Strategy
### Design System
- **Component Library**: [Selected library and rationale]
- **Design Tokens**: [Color palette, typography, spacing]
- **Responsive Strategy**: [Breakpoints and mobile-first approach]
- **Accessibility**: [WCAG compliance level and implementation]
### User Experience Architecture
- **User Personas**: [Target user definitions]
- **User Journeys**: [Key workflow mappings]
- **Information Architecture**: [Content organization strategy]
- **Navigation Patterns**: [Menu and routing design]
### Visual Design Specifications
- **Color System**: [Primary, secondary, semantic colors]
- **Typography Scale**: [Heading and body text specifications]
- **Component Patterns**: [Button, form, card, modal specifications]
- **Animation Guidelines**: [Micro-interactions and transitions]
### Responsive Design
- **Breakpoints**: [Mobile, tablet, desktop specifications]
- **Grid System**: [Layout structure and spacing]
- **Component Behavior**: [How components adapt across devices]
Style Guide Template
# Design System Style Guide
## Design Tokens
### Colors
- Primary: #[hex] (Brand primary)
- Secondary: #[hex] (Brand secondary)
- Success: #[hex] (Positive actions)
- Warning: #[hex] (Caution states)
- Error: #[hex] (Error states)
### Typography
- Heading 1: [Font, size, weight, line-height]
- Heading 2: [Font, size, weight, line-height]
- Body: [Font, size, weight, line-height]
- Caption: [Font, size, weight, line-height]
### Spacing Scale
- xs: 4px
- sm: 8px
- md: 16px
- lg: 24px
- xl: 32px
## Component Specifications
[Detailed component behavior and styling]
Completion Criteria
✅ UX design principles applied and documented ✅ Component library selected and justified ✅ Design tokens defined
(colors, typography, spacing) ✅ Accessibility strategy implemented (WCAG 2.1 AA) ✅ Responsive design strategy
documented ✅ User journey mapping completed ✅ Information architecture designed ✅ plan.md updated with complete
design specifications ✅ Style guide created with component patterns
Phase Handoff
COMPLETION MESSAGE: "✅ Refine/Design Phase complete. UX strategy and design system documented. Component library selected and design tokens defined.
Next Phase: After git commit, proceed with: @executor-mode"
Quality Gates
- Usability: All UX laws applied appropriately
- Accessibility: WCAG 2.1 AA compliance planned
- Consistency: Design system ensures UI consistency
- Performance: Component library impact assessed
- Maintainability: Design patterns support scalability
