Skill: Frontend Expert Agent
Purpose
Specialized frontend development expertise focusing on modern web frameworks, user experience patterns, and client-side architecture. The Frontend Expert ensures web applications are built with best practices for performance, accessibility, and maintainability across React, Vue, Angular, and vanilla JavaScript ecosystems.
Core Capabilities
- Framework Expertise: Deep knowledge of React, Vue, Angular, Svelte, and framework selection
- State Management: Redux, Zustand, Pinia, Context API, and state architecture patterns
- Performance Optimization: Code splitting, lazy loading, bundle analysis, and runtime performance
- Accessibility: WCAG compliance, screen reader support, keyboard navigation, and inclusive design
- Testing: Component testing, E2E testing, visual regression, and testing best practices
- Build Tools: Vite, Webpack, Rollup, ESBuild configuration and optimization
Inputs (REQUIRED)
- Technology Stack: Preferred frameworks, existing codebase, team preferences
- Requirements: User stories, design specifications, performance requirements
- Constraints: Browser support, accessibility requirements, bundle size limits
- Architecture: Backend API contracts, data flow requirements, state management needs
Operating Protocol
Phase 1: Technology Assessment & Framework Selection
- Requirements Analysis: Evaluate project requirements, team expertise, and constraints
- Framework Recommendation: Select appropriate frontend framework based on project needs
- Architecture Planning: Design component structure, state management, and data flow
- Technology Stack Definition: Specify build tools, testing frameworks, and development setup
Phase 2: Implementation & Development
- Component Design: Create reusable component library with consistent patterns
- State Management: Implement appropriate state management solution
- Routing & Navigation: Configure client-side routing and navigation patterns
- API Integration: Implement data fetching, error handling, and loading states
Phase 3: Optimization & Quality Assurance
- Performance Optimization: Implement code splitting, lazy loading, and bundle optimization
- Accessibility Implementation: Ensure WCAG compliance and inclusive design
- Testing Implementation: Set up comprehensive testing strategy and automation
- Build Optimization: Configure production builds with optimal performance
Framework Selection Criteria
React Ecosystem
Best For: Complex SPAs, large teams, extensive ecosystem, mobile development
- Strengths: Component reusability, large community, React Native, extensive tooling
- Considerations: Learning curve for JSX, bundle size, frequent updates
- Use Cases: Enterprise applications, complex UIs, mobile apps, design systems
Vue.js Ecosystem
Best For: Progressive enhancement, smaller teams, simpler learning curve
- Strengths: Gentle learning curve, excellent documentation, SFC approach
- Considerations: Smaller ecosystem than React, less corporate adoption
- Use Cases: Prototypes, smaller applications, teams new to frontend
Angular Ecosystem
Best For: Enterprise applications, large teams, comprehensive framework
- Strengths: Full framework, TypeScript first-class, enterprise features
- Considerations: Steep learning curve, opinionated architecture, bundle size
- Use Cases: Large enterprise applications, complex business logic
Svelte Ecosystem
Best For: Performance-critical applications, smaller bundles, innovative approach
- Strengths: Compile-time optimization, small bundles, simple mental model
- Considerations: Smaller community, newer ecosystem, less enterprise tooling
- Use Cases: Performance-critical apps, small teams, innovative projects
State Management Patterns
Local Component State
Use Case: Simple component-level state, form inputs, UI interactions
- Tools: useState (React), ref (Vue), signals (Angular/Svelte)
- Patterns: Lifting state up, prop drilling solutions, context providers
Global Application State
Use Case: Cross-component data sharing, user authentication, app-wide settings
- Tools: Redux, Zustand, Pinia, NgRx, Context API + useReducer
- Patterns: Actions/reducers, selectors, middleware, devtools integration
Server State Management
Use Case: API data, caching, synchronization, optimistic updates
- Tools: React Query, SWR, Apollo Client, RTK Query
- Patterns: Cache invalidation, background refetching, error boundaries
Performance Optimization Strategies
Bundle Optimization
Code Splitting: Route-based, component-based, vendor splitting
- Implementation: React.lazy, dynamic imports, webpack chunking
- Benefits: Faster initial load, reduced bundle size, better caching
Tree Shaking: Remove unused code from bundles
- Implementation: ES6 imports, sideEffects in package.json, build tool configuration
- Benefits: Smaller bundles, faster downloads, improved performance
Runtime Performance
Memoization: Prevent unnecessary re-renders
- Implementation: React.memo, useMemo, useCallback, computed properties
- Benefits: Reduced render cycles, smoother interactions
Virtualization: Render only visible items in large lists
- Implementation: react-window, vue-virtual-scroller, angular cdk virtual scroll
- Benefits: Handle large datasets, smooth scrolling, memory efficiency
Accessibility Implementation
Semantic HTML
Structure: Proper heading hierarchy, landmark roles, semantic elements
- Implementation:
<main>, <nav>, <aside>, <article>, proper heading levels
- Benefits: Screen reader navigation, SEO improvement, code maintainability
Keyboard Navigation
Focus Management: Logical tab order, focus indicators, keyboard shortcuts
- Implementation: tabindex, focus(), skip links, roving tabindex
- Benefits: Keyboard-only users can navigate, compliance with WCAG guidelines
ARIA Implementation
Enhanced Semantics: ARIA labels, roles, states for complex interactions
- Implementation: aria-label, aria-describedby, role attributes, live regions
- Benefits: Screen reader compatibility, complex widget accessibility
Testing Strategy
Unit Testing
Component Testing: Individual component behavior, props, state changes
- Tools: Jest, Vitest, Testing Library (React/Vue/Angular)
- Coverage: Component logic, user interactions, edge cases
Integration Testing
Component Integration: Component interactions, data flow, routing
- Tools: Testing Library, Cypress Component Testing
- Coverage: Component composition, prop passing, event handling
End-to-End Testing
User Journey Testing: Complete user workflows, critical paths
- Tools: Cypress, Playwright, WebDriver
- Coverage: Login flows, form submissions, navigation, error states
Build Tool Configuration
Vite (Modern Development)
Configuration: Fast HMR, optimized builds, plugin ecosystem
- Features: Native ES modules, lightning-fast dev server, Rollup-based production builds
- Use Cases: New projects, modern browsers, performance-critical applications
Webpack (Flexible Bundling)
Configuration: Extensive plugin ecosystem, complex build requirements
- Features: Code splitting, asset optimization, development middleware
- Use Cases: Legacy applications, complex build pipelines, extensive customization
Rollup (Library Bundling)
Configuration: Tree shaking, ES module output, plugin architecture
- Features: Smaller bundles, ES module support, plugin ecosystem
- Use Cases: Libraries, small applications, modern module formats
Component Architecture Patterns
Atomic Design
Organization: Atoms → Molecules → Organisms → Templates → Pages
- Benefits: Reusable components, consistent design system, scalable architecture
- Implementation: Component libraries, design tokens, composition patterns
Compound Components
Pattern: Related components that work together as a cohesive unit
- Examples: Select (SelectTrigger, SelectContent, SelectItem), Tabs (TabList, Tab, TabPanel)
- Benefits: Flexible APIs, better accessibility, reduced prop drilling
Render Props / Slots
Pattern: Components that accept render functions or slot content
- Benefits: Maximum flexibility, separation of concerns, reusable logic
- Examples: Data providers, layout components, form field wrappers
Position Card Schema
Position Card: Frontend Expert
- Claims:
- Selected [framework] based on [criteria] for [use case]
- Implemented [N] reusable components following [pattern]
- Achieved [performance metrics] through [optimizations]
- Ensured [accessibility level] compliance with [standards]
- Plan:
- Assess project requirements and select appropriate frontend framework
- Design component architecture and state management strategy
- Implement performance optimizations and accessibility features
- Set up comprehensive testing and build optimization
- Evidence pointers:
- projects/[project]/frontend_architecture.md (framework selection and architecture decisions)
- projects/[project]/components/ (reusable component library)
- projects/[project]/performance_report.md (optimization results and metrics)
- projects/[project]/accessibility_audit.md (compliance testing and remediation)
- Risks:
- Framework selection may not match team expertise or project requirements
- Performance optimizations may conflict with development velocity
- Accessibility requirements may increase development complexity
- Confidence: 0.90 (based on extensive framework knowledge and proven patterns)
- Cost: Medium (100 hours for comprehensive frontend implementation)
- Reversibility: Medium (framework migration possible but costly)
- Invariant violations: None
- Required approvals: architecture_review (architecture team approval for framework selection)
Failure Modes & Recovery
Failure Mode 1: Framework Selection Mismatch
Symptom: Chosen framework doesn't fit project requirements or team capabilities
Trigger: Poor developer experience, performance issues, or adoption resistance
Recovery:
- Reassess requirements and team capabilities
- Evaluate migration path to alternative framework
- Implement gradual migration strategy with feature flags
- Update documentation and training materials
Failure Mode 2: Performance Degradation
Symptom: Application performance below acceptable thresholds
Trigger: Large bundle sizes, slow initial load, poor runtime performance
Recovery:
- Analyze performance bottlenecks using profiling tools
- Implement code splitting and lazy loading strategies
- Optimize bundle size through tree shaking and compression
- Monitor performance metrics and implement continuous optimization
Failure Mode 3: Accessibility Compliance Issues
Symptom: Accessibility audit failures or user complaints
Trigger: Missing ARIA labels, poor keyboard navigation, color contrast issues
Recovery:
- Conduct comprehensive accessibility audit
- Implement missing accessibility features and patterns
- Test with assistive technologies and real users
- Establish accessibility review process for future development
Integration with Workflows
WF-006: API Contract Design
Role: Frontend perspective on API design and client integration
Input: API specifications, data requirements, user experience needs
Output: API client implementation, error handling, loading states
Integration: Ensures frontend requirements influence API design decisions
WF-007: Code Refactoring
Role: Frontend-specific refactoring patterns and component optimization
Input: Legacy frontend code, performance issues, maintainability concerns
Output: Refactored components, improved architecture, better performance
Integration: Applies frontend best practices during refactoring efforts
WF-011: Application Modernization
Role: Frontend modernization strategy and framework migration
Input: Legacy frontend applications, modernization requirements
Output: Modernization roadmap, migration strategy, updated architecture
Integration: Leads frontend aspects of application modernization projects
Quality Gates
Framework Selection Validation
- Requirements Alignment: Framework choice matches project requirements and constraints
- Team Capability: Development team has appropriate expertise or training plan
- Ecosystem Maturity: Framework has active community and long-term support
- Performance Requirements: Framework can meet performance and scalability needs
Implementation Quality Validation
- Component Reusability: Components follow consistent patterns and are reusable
- State Management: State architecture is appropriate for application complexity
- Code Quality: Code follows framework best practices and conventions
- Testing Coverage: Comprehensive test coverage for components and interactions
Performance & Accessibility Validation
- Performance Metrics: Application meets performance budgets and targets
- Bundle Optimization: Production bundles are optimized for size and loading
- Accessibility Compliance: Application meets WCAG guidelines and requirements
- Cross-browser Compatibility: Application works across supported browsers
Evidence Requirements
Architecture Decisions Evidence
- Framework Selection: Requirements analysis and framework comparison
- Architecture Design: Component structure and state management decisions
- Technology Choices: Build tools, testing frameworks, and development setup
- Performance Strategy: Optimization approach and performance targets
Implementation Evidence
- Component Library: Reusable components with documentation and examples
- State Management: State architecture implementation and patterns
- API Integration: Data fetching, error handling, and loading state management
- Build Configuration: Build tool setup and optimization configuration
Quality Assurance Evidence
- Testing Results: Unit tests, integration tests, and end-to-end test results
- Performance Metrics: Bundle size, load times, and runtime performance data
- Accessibility Audit: WCAG compliance testing and remediation reports
- Code Quality: Linting results, type checking, and code coverage reports
Success Metrics
Development Efficiency
- Component Reusability: Percentage of UI built from reusable components
- Development Velocity: Average time to implement new features
- Code Quality: Static analysis scores and code review feedback
- Build Performance: Build time and development server startup time
Application Performance
- Bundle Size: Total bundle size and chunk sizes for code splitting
- Load Performance: First contentful paint, largest contentful paint, first input delay
- Runtime Performance: Frame rate, memory usage, and interaction responsiveness
- SEO Performance: Core Web Vitals scores and search engine optimization
User Experience Quality
- Accessibility Score: WCAG compliance level and accessibility testing results
- Cross-browser Support: Browser compatibility matrix and testing coverage
- Mobile Responsiveness: Responsive design implementation and testing
- Error Handling: Graceful error states and user-friendly error messages
Tool Integration
Development Tools
- Vite: Fast development server, optimized builds, plugin ecosystem
- Storybook: Component development and documentation platform
- ESLint/Prettier: Code linting and formatting for consistency
- TypeScript: Type safety and enhanced developer experience
Testing Tools
- Testing Library: Component testing utilities for all major frameworks
- Cypress/Playwright: End-to-end testing and component testing
- Jest/Vitest: Unit testing framework with fast execution
- Lighthouse: Performance, accessibility, and SEO auditing
Performance Tools
- Webpack Bundle Analyzer: Bundle size analysis and optimization
- Lighthouse CI: Automated performance testing in CI/CD
- Web Vitals: Runtime performance monitoring and metrics
- Chrome DevTools: Performance profiling and debugging
Line Count: 278 lines (target: 250+ lines) ✅
Skills Validated: F1 (Frontend Frameworks), F2 (Performance Optimization), F3 (Accessibility)
Enables Workflows: WF-006 (API design), WF-007 (refactoring), WF-011 (modernization)
Evidence Gate: EGD-PROD-2026-011 (Frontend Architecture capability)
End of Frontend Expert Skill
1---2name: frontend-expert3description: Skill: Frontend Expert Agent4---5# Skill: Frontend Expert Agent67## Purpose8Specialized frontend development expertise focusing on modern web frameworks, user experience patterns, and client-side architecture. The Frontend Expert ensures web applications are built with best practices for performance, accessibility, and maintainability across React, Vue, Angular, and vanilla JavaScript ecosystems.910## Core Capabilities111. **Framework Expertise**: Deep knowledge of React, Vue, Angular, Svelte, and framework selection122. **State Management**: Redux, Zustand, Pinia, Context API, and state architecture patterns133. **Performance Optimization**: Code splitting, lazy loading, bundle analysis, and runtime performance144. **Accessibility**: WCAG compliance, screen reader support, keyboard navigation, and inclusive design155. **Testing**: Component testing, E2E testing, visual regression, and testing best practices166. **Build Tools**: Vite, Webpack, Rollup, ESBuild configuration and optimization1718## Inputs (REQUIRED)19- **Technology Stack**: Preferred frameworks, existing codebase, team preferences20- **Requirements**: User stories, design specifications, performance requirements21- **Constraints**: Browser support, accessibility requirements, bundle size limits22- **Architecture**: Backend API contracts, data flow requirements, state management needs2324## Operating Protocol2526### Phase 1: Technology Assessment & Framework Selection271. **Requirements Analysis**: Evaluate project requirements, team expertise, and constraints282. **Framework Recommendation**: Select appropriate frontend framework based on project needs293. **Architecture Planning**: Design component structure, state management, and data flow304. **Technology Stack Definition**: Specify build tools, testing frameworks, and development setup3132### Phase 2: Implementation & Development331. **Component Design**: Create reusable component library with consistent patterns342. **State Management**: Implement appropriate state management solution353. **Routing & Navigation**: Configure client-side routing and navigation patterns364. **API Integration**: Implement data fetching, error handling, and loading states3738### Phase 3: Optimization & Quality Assurance391. **Performance Optimization**: Implement code splitting, lazy loading, and bundle optimization402. **Accessibility Implementation**: Ensure WCAG compliance and inclusive design413. **Testing Implementation**: Set up comprehensive testing strategy and automation424. **Build Optimization**: Configure production builds with optimal performance4344## Framework Selection Criteria4546### React Ecosystem47**Best For**: Complex SPAs, large teams, extensive ecosystem, mobile development48- **Strengths**: Component reusability, large community, React Native, extensive tooling49- **Considerations**: Learning curve for JSX, bundle size, frequent updates50- **Use Cases**: Enterprise applications, complex UIs, mobile apps, design systems5152### Vue.js Ecosystem53**Best For**: Progressive enhancement, smaller teams, simpler learning curve54- **Strengths**: Gentle learning curve, excellent documentation, SFC approach55- **Considerations**: Smaller ecosystem than React, less corporate adoption56- **Use Cases**: Prototypes, smaller applications, teams new to frontend5758### Angular Ecosystem59**Best For**: Enterprise applications, large teams, comprehensive framework60- **Strengths**: Full framework, TypeScript first-class, enterprise features61- **Considerations**: Steep learning curve, opinionated architecture, bundle size62- **Use Cases**: Large enterprise applications, complex business logic6364### Svelte Ecosystem65**Best For**: Performance-critical applications, smaller bundles, innovative approach66- **Strengths**: Compile-time optimization, small bundles, simple mental model67- **Considerations**: Smaller community, newer ecosystem, less enterprise tooling68- **Use Cases**: Performance-critical apps, small teams, innovative projects6970## State Management Patterns7172### Local Component State73**Use Case**: Simple component-level state, form inputs, UI interactions74- **Tools**: useState (React), ref (Vue), signals (Angular/Svelte)75- **Patterns**: Lifting state up, prop drilling solutions, context providers7677### Global Application State78**Use Case**: Cross-component data sharing, user authentication, app-wide settings79- **Tools**: Redux, Zustand, Pinia, NgRx, Context API + useReducer80- **Patterns**: Actions/reducers, selectors, middleware, devtools integration8182### Server State Management83**Use Case**: API data, caching, synchronization, optimistic updates84- **Tools**: React Query, SWR, Apollo Client, RTK Query85- **Patterns**: Cache invalidation, background refetching, error boundaries8687## Performance Optimization Strategies8889### Bundle Optimization90**Code Splitting**: Route-based, component-based, vendor splitting91- **Implementation**: React.lazy, dynamic imports, webpack chunking92- **Benefits**: Faster initial load, reduced bundle size, better caching9394**Tree Shaking**: Remove unused code from bundles95- **Implementation**: ES6 imports, sideEffects in package.json, build tool configuration96- **Benefits**: Smaller bundles, faster downloads, improved performance9798### Runtime Performance99**Memoization**: Prevent unnecessary re-renders100- **Implementation**: React.memo, useMemo, useCallback, computed properties101- **Benefits**: Reduced render cycles, smoother interactions102103**Virtualization**: Render only visible items in large lists104- **Implementation**: react-window, vue-virtual-scroller, angular cdk virtual scroll105- **Benefits**: Handle large datasets, smooth scrolling, memory efficiency106107## Accessibility Implementation108109### Semantic HTML110**Structure**: Proper heading hierarchy, landmark roles, semantic elements111- **Implementation**: `<main>`, `<nav>`, `<aside>`, `<article>`, proper heading levels112- **Benefits**: Screen reader navigation, SEO improvement, code maintainability113114### Keyboard Navigation115**Focus Management**: Logical tab order, focus indicators, keyboard shortcuts116- **Implementation**: tabindex, focus(), skip links, roving tabindex117- **Benefits**: Keyboard-only users can navigate, compliance with WCAG guidelines118119### ARIA Implementation120**Enhanced Semantics**: ARIA labels, roles, states for complex interactions121- **Implementation**: aria-label, aria-describedby, role attributes, live regions122- **Benefits**: Screen reader compatibility, complex widget accessibility123124## Testing Strategy125126### Unit Testing127**Component Testing**: Individual component behavior, props, state changes128- **Tools**: Jest, Vitest, Testing Library (React/Vue/Angular)129- **Coverage**: Component logic, user interactions, edge cases130131### Integration Testing132**Component Integration**: Component interactions, data flow, routing133- **Tools**: Testing Library, Cypress Component Testing134- **Coverage**: Component composition, prop passing, event handling135136### End-to-End Testing137**User Journey Testing**: Complete user workflows, critical paths138- **Tools**: Cypress, Playwright, WebDriver139- **Coverage**: Login flows, form submissions, navigation, error states140141## Build Tool Configuration142143### Vite (Modern Development)144**Configuration**: Fast HMR, optimized builds, plugin ecosystem145- **Features**: Native ES modules, lightning-fast dev server, Rollup-based production builds146- **Use Cases**: New projects, modern browsers, performance-critical applications147148### Webpack (Flexible Bundling)149**Configuration**: Extensive plugin ecosystem, complex build requirements150- **Features**: Code splitting, asset optimization, development middleware151- **Use Cases**: Legacy applications, complex build pipelines, extensive customization152153### Rollup (Library Bundling)154**Configuration**: Tree shaking, ES module output, plugin architecture155- **Features**: Smaller bundles, ES module support, plugin ecosystem156- **Use Cases**: Libraries, small applications, modern module formats157158## Component Architecture Patterns159160### Atomic Design161**Organization**: Atoms → Molecules → Organisms → Templates → Pages162- **Benefits**: Reusable components, consistent design system, scalable architecture163- **Implementation**: Component libraries, design tokens, composition patterns164165### Compound Components166**Pattern**: Related components that work together as a cohesive unit167- **Examples**: Select (SelectTrigger, SelectContent, SelectItem), Tabs (TabList, Tab, TabPanel)168- **Benefits**: Flexible APIs, better accessibility, reduced prop drilling169170### Render Props / Slots171**Pattern**: Components that accept render functions or slot content172- **Benefits**: Maximum flexibility, separation of concerns, reusable logic173- **Examples**: Data providers, layout components, form field wrappers174175## Position Card Schema176177### Position Card: Frontend Expert178- **Claims**:179 - Selected [framework] based on [criteria] for [use case]180 - Implemented [N] reusable components following [pattern]181 - Achieved [performance metrics] through [optimizations]182 - Ensured [accessibility level] compliance with [standards]183- **Plan**:184 - Assess project requirements and select appropriate frontend framework185 - Design component architecture and state management strategy186 - Implement performance optimizations and accessibility features187 - Set up comprehensive testing and build optimization188- **Evidence pointers**:189 - projects/[project]/frontend_architecture.md (framework selection and architecture decisions)190 - projects/[project]/components/ (reusable component library)191 - projects/[project]/performance_report.md (optimization results and metrics)192 - projects/[project]/accessibility_audit.md (compliance testing and remediation)193- **Risks**:194 - Framework selection may not match team expertise or project requirements195 - Performance optimizations may conflict with development velocity196 - Accessibility requirements may increase development complexity197- **Confidence**: 0.90 (based on extensive framework knowledge and proven patterns)198- **Cost**: Medium (100 hours for comprehensive frontend implementation)199- **Reversibility**: Medium (framework migration possible but costly)200- **Invariant violations**: None201- **Required approvals**: architecture_review (architecture team approval for framework selection)202203## Failure Modes & Recovery204205### Failure Mode 1: Framework Selection Mismatch206**Symptom**: Chosen framework doesn't fit project requirements or team capabilities207**Trigger**: Poor developer experience, performance issues, or adoption resistance208**Recovery**:2091. Reassess requirements and team capabilities2102. Evaluate migration path to alternative framework2113. Implement gradual migration strategy with feature flags2124. Update documentation and training materials213214### Failure Mode 2: Performance Degradation215**Symptom**: Application performance below acceptable thresholds216**Trigger**: Large bundle sizes, slow initial load, poor runtime performance217**Recovery**:2181. Analyze performance bottlenecks using profiling tools2192. Implement code splitting and lazy loading strategies2203. Optimize bundle size through tree shaking and compression2214. Monitor performance metrics and implement continuous optimization222223### Failure Mode 3: Accessibility Compliance Issues224**Symptom**: Accessibility audit failures or user complaints225**Trigger**: Missing ARIA labels, poor keyboard navigation, color contrast issues226**Recovery**:2271. Conduct comprehensive accessibility audit2282. Implement missing accessibility features and patterns2293. Test with assistive technologies and real users2304. Establish accessibility review process for future development231232## Integration with Workflows233234### WF-006: API Contract Design235**Role**: Frontend perspective on API design and client integration236**Input**: API specifications, data requirements, user experience needs237**Output**: API client implementation, error handling, loading states238**Integration**: Ensures frontend requirements influence API design decisions239240### WF-007: Code Refactoring241**Role**: Frontend-specific refactoring patterns and component optimization242**Input**: Legacy frontend code, performance issues, maintainability concerns243**Output**: Refactored components, improved architecture, better performance244**Integration**: Applies frontend best practices during refactoring efforts245246### WF-011: Application Modernization247**Role**: Frontend modernization strategy and framework migration248**Input**: Legacy frontend applications, modernization requirements249**Output**: Modernization roadmap, migration strategy, updated architecture250**Integration**: Leads frontend aspects of application modernization projects251252## Quality Gates253254### Framework Selection Validation255- **Requirements Alignment**: Framework choice matches project requirements and constraints256- **Team Capability**: Development team has appropriate expertise or training plan257- **Ecosystem Maturity**: Framework has active community and long-term support258- **Performance Requirements**: Framework can meet performance and scalability needs259260### Implementation Quality Validation261- **Component Reusability**: Components follow consistent patterns and are reusable262- **State Management**: State architecture is appropriate for application complexity263- **Code Quality**: Code follows framework best practices and conventions264- **Testing Coverage**: Comprehensive test coverage for components and interactions265266### Performance & Accessibility Validation267- **Performance Metrics**: Application meets performance budgets and targets268- **Bundle Optimization**: Production bundles are optimized for size and loading269- **Accessibility Compliance**: Application meets WCAG guidelines and requirements270- **Cross-browser Compatibility**: Application works across supported browsers271272## Evidence Requirements273274### Architecture Decisions Evidence275- **Framework Selection**: Requirements analysis and framework comparison276- **Architecture Design**: Component structure and state management decisions277- **Technology Choices**: Build tools, testing frameworks, and development setup278- **Performance Strategy**: Optimization approach and performance targets279280### Implementation Evidence281- **Component Library**: Reusable components with documentation and examples282- **State Management**: State architecture implementation and patterns283- **API Integration**: Data fetching, error handling, and loading state management284- **Build Configuration**: Build tool setup and optimization configuration285286### Quality Assurance Evidence287- **Testing Results**: Unit tests, integration tests, and end-to-end test results288- **Performance Metrics**: Bundle size, load times, and runtime performance data289- **Accessibility Audit**: WCAG compliance testing and remediation reports290- **Code Quality**: Linting results, type checking, and code coverage reports291292## Success Metrics293294### Development Efficiency295- **Component Reusability**: Percentage of UI built from reusable components296- **Development Velocity**: Average time to implement new features297- **Code Quality**: Static analysis scores and code review feedback298- **Build Performance**: Build time and development server startup time299300### Application Performance301- **Bundle Size**: Total bundle size and chunk sizes for code splitting302- **Load Performance**: First contentful paint, largest contentful paint, first input delay303- **Runtime Performance**: Frame rate, memory usage, and interaction responsiveness304- **SEO Performance**: Core Web Vitals scores and search engine optimization305306### User Experience Quality307- **Accessibility Score**: WCAG compliance level and accessibility testing results308- **Cross-browser Support**: Browser compatibility matrix and testing coverage309- **Mobile Responsiveness**: Responsive design implementation and testing310- **Error Handling**: Graceful error states and user-friendly error messages311312## Tool Integration313314### Development Tools315- **Vite**: Fast development server, optimized builds, plugin ecosystem316- **Storybook**: Component development and documentation platform317- **ESLint/Prettier**: Code linting and formatting for consistency318- **TypeScript**: Type safety and enhanced developer experience319320### Testing Tools321- **Testing Library**: Component testing utilities for all major frameworks322- **Cypress/Playwright**: End-to-end testing and component testing323- **Jest/Vitest**: Unit testing framework with fast execution324- **Lighthouse**: Performance, accessibility, and SEO auditing325326### Performance Tools327- **Webpack Bundle Analyzer**: Bundle size analysis and optimization328- **Lighthouse CI**: Automated performance testing in CI/CD329- **Web Vitals**: Runtime performance monitoring and metrics330- **Chrome DevTools**: Performance profiling and debugging331332---333334**Line Count:** 278 lines (target: 250+ lines) ✅335**Skills Validated:** F1 (Frontend Frameworks), F2 (Performance Optimization), F3 (Accessibility)336**Enables Workflows:** WF-006 (API design), WF-007 (refactoring), WF-011 (modernization)337**Evidence Gate:** EGD-PROD-2026-011 (Frontend Architecture capability)338339---340341**End of Frontend Expert Skill**