Syncfusion React UI Builder
Overview
The Syncfusion React UI Builder skill is a frontend-only React component generator that orchestrates an AI agent through 8 stages to generate production-ready UI components powered by Syncfusion.
What This Skill Does
✅ Generates:
- React functional components (
.tsx/.jsx) with hooks
- CSS stylesheets (CSS Modules, Tailwind classes, inline styles)
- TypeScript interfaces for properties, state, and event handlers
- Syncfusion component integration with correct imports and properties
- Client-side form validation logic
- WCAG 2.1 AA accessibility markup (ARIA attributes, semantic HTML)
- Responsive CSS with mobile-first breakpoints
- Component index exports and barrel files
❌ Does NOT Generate:
- Backend code (API routes, server handlers, middleware)
- Database schemas or ORM models
- Authentication/authorization logic
- Server-side validation
- Routing configuration
- Environment secrets or infrastructure config
When to Use
✅ USE this Skill for:
- Full UI builds with 3+ Syncfusion components
- Design system decisions required (CSS framework, colors, spacing, typography)
- Complete pages or dashboards from scratch
- WCAG 2.1 AA validation for complex layouts
- Multi-stage workflows requiring design → code → validate
- Team collaboration on larger component projects
- Examples:
- Building a complete React admin dashboard
- Designing a multi-form wizard interface
- Creating a full data management portal with multiple sections
- Implementing a complex dashboard with multiple views and charts
❌ DO NOT USE this Skill for:
- ✋ Configuring a single component (use component skill directly)
- ✋ Quick implementation questions (use component skill directly)
- ✋ Component tutorials or how-tos (use component skill directly)
- ✋ Troubleshooting component issues (use component skill + diagnostic protocol)
- ✋ Backend/API code (out of scope)
- ✋ Non-Syncfusion React questions (use general React help)
Quick Start
Prerequisites
- Active React project (React 18+, Next.js 13+, Vite, or CRA)
- Node.js 18+ and npm/yarn/pnpm installed
- Syncfusion components library (auto-installed if missing):
npx skills add syncfusion/react-ui-components-skills -y
Basic Usage
Example 1: Generate a Login Form
User: "Create a login form with email, password, and remember me checkbox"
Skill executes:
→ Stage 1: Identifies login form component type
→ Stage 2: Detects project structure (React, TypeScript, etc.)
→ Stage 3-4: AI creates optimal component-mapping.json → maps to Syncfusion components
→ Stage 5: Generates LoginForm.tsx with validation
→ Stage 6: Installs dependencies
→ Stage 7: Validates WCAG 2.1 AA compliance
→ Stage 8: Inserts code into project
Output:
✓ components/LoginForm/LoginForm.tsx
✓ components/LoginForm/LoginForm.module.css
✓ components/LoginForm/index.ts
Example 2: Generate a Dashboard
User: "Build a dashboard with customer overview, recent orders table, and sales chart"
Output:
✓ components/Dashboard/Dashboard.tsx (main layout)
✓ components/CustomerOverview/CustomerOverview.tsx
✓ components/RecentOrders/RecentOrders.tsx (with Syncfusion DataGrid)
✓ components/SalesChart/SalesChart.tsx (with Syncfusion ChartComponent)
✓ Mock data included (useState with sample data)
✓ Responsive design (mobile-first, grid layout)
✓ Dark mode support with design tokens
✓ Full accessibility compliance (WCAG 2.1 AA)
How It Works: 8-Stage AI Orchestration (Stateless)
The skill orchestrates 8 stages of pure AI reasoning with two user decision points.
Key Architecture:
- Stateless design: Conversation history maintains state
- Pure AI reasoning: Each stage reads guidance docs, analyzes context, makes decisions
- 1 user decision gates: Stage 4 (theme confirmation)
- 7 fully automated stages: 1, 2, 3, 5, 6, 7, and final code insertion
- Dedicated theming stage: Stage 4 locks design system before code generation
User Request
↓
[Stage 1: Intent Analysis]
AI reads query → identifies component type & features
↓
[Stage 2: Project Detection]
AI scans project → detect framework, language, CSS strategy, preferences
↓
[Stage 3: Layout Analysis & Component Mapping]
AI analyzes requirements → creates optimal component-mapping.json
AI maps to specific Syncfusion components (3+ components)
↓
[Stage 4: Theming & Design System] ⭐ USER DECISION #1
AI locks CSS framework → Syncfusion theme mapping
AI selects color system (OKLCH, brand colors)
AI confirms spacing/typography scale (4pt grid, 1.25 ratio)
Design system decisions locked before code generation
User confirms theming decision
↓
[Stage 5: Code Generation]
AI generates .tsx, .css, TypeScript interfaces
Uses theming decisions from Stage 4
For complex UIs (4+ sections or 3+ component types), components MUST be split into modular subcomponents.
With accessibility + responsive design built-in
↓
[Stage 6: Dependencies]
AI detects required packages (Syncfusion + CSS framework)
Presents npm install command or runs it
Proceed to next stage
↓
[Stage 7: Validation]
AI validates WCAG 2.1 AA + security + performance + theming
Binary result: PASS ✓ or FAIL ✗
↓
[Stage 8: Code Insertion]
AI inserts files into project
Updates imports, verifies build
↓
✓ Complete
Stage Descriptions:
- Stage 1 (Intent Analysis): Parse user query, identify component type and features. Read:
references/stage-1-intent-analysis.md
- Stage 2 (Project Detection): Auto-detect framework, language, CSS strategy, component directory. Read:
references/stage-2-project-detection.md
- Stage 3 (Layout Analysis & Component Mapping): AI analyzes requirements, creates optimal component-mapping.json, maps to Syncfusion components. Read:
references/stage-3-layout-analysis.md
- Stage 4 (Theming & Design System): Lock CSS framework, Syncfusion theme, color system (OKLCH), spacing (4pt), typography (1.25 ratio). Read:
references/stage-4-theming-and-design-system.md
- Stage 5 (Code Generation): Generate React with design tokens from Stage 4 applied + accessibility + responsive design. Read:
references/stage-5-code-generation.md
- Stage 6 (Dependencies): Detect packages (Syncfusion + CSS framework), resolve conflicts, prepare install command. Read:
references/stage-6-dependencies.md
- Stage 7 (Validation): Validate WCAG 2.1 AA, security, performance, theming integration. Binary pass/fail. Read:
references/stage-7-validation.md + assets/validation-rules.md
- Stage 8 (Code Insertion): AI inserts files, updates imports, verifies build succeeds.
User Interaction Summary:
| Stage |
Interaction |
| 1 |
None (AI analyzes) |
| 2 |
None (AI analyzes) |
| 3 |
None (AI analyzes) |
| 4 |
Confirm theming decisions (CSS framework, colors, spacing, typography) |
| 5 |
None (AI generates) |
| 6 |
None (AI executes) |
| 7 |
None (AI analyzes) |
| 8 |
None (AI executes) |
Total user decision gates: 1 (Stage 4: theming decision). Rest fully automated with AI reasoning + guidance docs.
Agent Instructions
When User Requests UI Component Generation
- Validate scope: Confirm request is for frontend components (not backend/API)
- Load guidance: Read
stage-1-intent-analysis.md to understand Stage 1
- Execute 8-stage flow: Follow the orchestration flow shown above
- Progressive disclosure: Load stage guides on-demand; load support references only when needed
- Maintain conversation history: Each stage reads previous decisions from conversation context (stateless)
Stage Execution & Reference Loading
Stage 1: Intent Analysis
- Read:
references/stage-1-intent-analysis.md
- Task: Parse user query, identify component type, resolve ambiguities
- Output: Component type + modifiers + target directory
Stage 2: Project Detection
- Read:
references/stage-2-project-detection.md
- Task: Auto-detect React framework, language, CSS strategy, formatting rules
- Output: Project configuration
Stage 3: Layout Analysis & Component Mapping
- Read:
references/stage-3-layout-analysis.md
- Task: Analyze user requirements → create optimal component-mapping.json → map to Syncfusion components (3+ minimum)
- Output: component-mapping.json + Component mapping
Stage 4: Theming & Design System ⭐ USER DECISION #1
- Read:
references/stage-4-theming-and-design-system.md
- Task: Lock CSS framework, Syncfusion theme, color system (OKLCH), spacing (4pt grid), typography (1.25 ratio), responsive breakpoints
- Output: Design system decisions + User confirmation
Stage 5: Code Generation
- Read:
references/stage-5-code-generation.md
- Task: Generate React .tsx, CSS, TypeScript interfaces using theming from Stage 4
- Ensure: WCAG 2.1 AA accessibility, responsive design, token architecture applied
- Output: Generated files ready for review
Stage 6: Dependencies
- Read:
references/stage-6-dependencies.md
- Task: Detect required packages (Syncfusion + CSS framework), resolve version conflicts
- Output: Output installation command only; do not assume auto-install unless explicitly requested
Stage 7: Validation
- Read:
references/stage-7-validation.md + assets/validation-rules.md + references/web-standards.md
- Task: Validate against WCAG 2.1 AA, security, performance, theming integration standards
- Auto-apply fixes where possible
- Output: Binary result (PASS ✓ or FAIL ✗)
Stage 8: Code Insertion
- Task: Insert generated files into project, update imports, verify build
- Output: Success report with file paths
Boundary Rules (CRITICAL)
AI agents executing this skill MUST:
- Frontend only: Never generate backend code (API routes, database schemas, middleware)
- Mock data only: Use
useState with hardcoded samples; no fetch() to real APIs
- No secrets: Exception:
.env.local for SYNCFUSION_LICENSE_KEY when user provides
- React components only: Generate
.tsx/.jsx files in component directories
- Redirect backend requests: "This skill generates frontend UI only. Backend integration is your app's responsibility. Ready to generate the frontend?"
- Prioritize skill: Always prioritize Syncfusion component skill files as source of truth when available; do not rely on memory.
Error Handling
If any stage fails:
- Retry once with same approach
- If retry fails, attempt workaround or skip to next stage
- Notify user with error message from stage output
- Offer recovery: "Would you like to go back to Stage 3 and choose a different layout?"
If stage failure impacts correctness, halt and request user direction instead of proceeding with uncertain output
Resource Loading Strategy (Progressive Disclosure)
Load SKILL.md first (you're reading it now) ~400 lines
Load stage guides on-demand (each <200 lines):
stage-1-intent-analysis.md → During Stage 1
stage-2-project-detection.md → During Stage 2
stage-3-layout-analysis.md → During Stage 3
- etc.
Load support references only when needed:
web-standards.md → When validating in Stage 5
assets/validation-rules.md → When validating in Stage 5
Result: Initial load ~400 lines (SKILL.md only). Full spec available on-demand, never exceeding Agent Skills context limits.
Configuration & User Customization
Auto-Detected Settings
During Stage 2 (Project Detection), AI automatically detects:
- Framework: React, Next.js (App Router / Pages Router), Vite, Create React App
- Language: TypeScript (if
tsconfig.json exists) or JavaScript
- Styling: CSS Modules, Tailwind CSS, CSS-in-JS, or inline styles
- Formatting: Prettier/ESLint rules (indentation, quotes, semicolons)
- Component Directory:
src/components/, app/components/, or similar
User Override Options
In Stage 2, user can override any detected setting:
Detected Settings:
Framework: Next.js 14 (App Router)
Language: TypeScript
CSS: CSS Modules
Component Directory: app/components/
[Confirm] [Override Each] [Cancel]
Syncfusion License Configuration
The skill handles license key setup:
- Check for existing
SYNCFUSION_LICENSE_KEY in .env.local
- If missing, prompt user: "Get a free Community License at https://www.syncfusion.com/account/manage-trials"
- If provided, write to
.env.local + inject registerLicense() in app entry
- If skipped, proceed but warn that watermark will appear in preview
Code Generation Standards
All generated code includes:
Accessibility (WCAG 2.1 AA)
- ✅ Semantic HTML5 (
<form>, <label>, <input>, <button>)
- ✅ ARIA labels and descriptions
- ✅ Keyboard navigation (tab order, focus management)
- ✅ Color contrast ≥ 4.5:1
- ✅ Focus indicators on interactive elements
Responsive Design
- ✅ Mobile-first CSS (320px base, then scale up)
- ✅ Flexbox/Grid layouts (no fixed widths)
- ✅ Media queries at 768px, 1024px+ breakpoints
- ✅ Touch-friendly buttons (44x44px minimum)
Security
- ✅ Input validation and sanitization
- ✅ No
dangerouslySetInnerHTML without sanitization
- ✅ No hardcoded secrets
- ✅ No XSS vulnerabilities
Performance
- ✅ React.memo for stable components
- ✅ useCallback for event handlers
- ✅ Lazy loading for large components
- ✅ Optimized re-renders
TypeScript & Types
- ✅ Full type coverage (no
any types)
- ✅ Props interfaces with JSDoc
- ✅ Event handler signatures
- ✅ State type annotations
Supported Use Cases
- Login form: TextBox (email), TextBox (password), CheckBox (remember), Button (submit)
- Data table: DataGrid with sorting, filtering, pagination, row selection
- Dashboard: Multiple components orchestrated (header, sidebar, main content, footer)
- Registration wizard: Multi-step form with progress indicator and validation
Troubleshooting
Common Issues:
| Issue |
Solution |
| "Project type not detected" |
Ensure package.json exists with React dependency |
| "Syncfusion license banner appears" |
Add license key via Stage 2 prompt |
| "Build fails after insertion" |
Use Syncfusion component skills to resolve failures |
| "Component not rendering" |
Verify import paths and ensure parent component imports correctly |
Additional Resources
Quick Reference by Use Case
| Need |
Reference File |
| Understanding workflow |
This SKILL.md file |
| How Stage X works |
references/stage-X-*.md |
| Validation rules |
assets/validation-rules.md |
| Accessibility/security |
references/web-standards.md |
Support
For issues or questions:
- Check Syncfusion component skills for common problems
- Verify your project meets prerequisites (React 18+, Node.js 18+)
- Ensure Syncfusion license is valid and registered
- Review generated code compliance report for warnings
1---2name: syncfusion-react-ui-builder3description: Generates production-ready webpages powered by Syncfusion React Components. Orchestrates Orchestrates a structured workflow that handles design thinking, component picking, code generation, and validation with built-in WCAG 2.1 AA accessibility and responsive design. Use when the user asks to create web components, build UI pages, design interfaces, or generate frontend code for React applications.4---56# Syncfusion React UI Builder78## Overview910The **Syncfusion React UI Builder** skill is a frontend-only React component generator that orchestrates an AI agent through 8 stages to generate production-ready UI components powered by Syncfusion.1112## What This Skill Does1314**✅ Generates:**15- React functional components (`.tsx`/`.jsx`) with hooks16- CSS stylesheets (CSS Modules, Tailwind classes, inline styles)17- TypeScript interfaces for properties, state, and event handlers18- Syncfusion component integration with correct imports and properties19- Client-side form validation logic20- WCAG 2.1 AA accessibility markup (ARIA attributes, semantic HTML)21- Responsive CSS with mobile-first breakpoints22- Component index exports and barrel files2324**❌ Does NOT Generate:**25- Backend code (API routes, server handlers, middleware)26- Database schemas or ORM models27- Authentication/authorization logic28- Server-side validation29- Routing configuration30- Environment secrets or infrastructure config3132## When to Use3334### ✅ USE this Skill for:3536- **Full UI builds** with 3+ Syncfusion components37- **Design system decisions** required (CSS framework, colors, spacing, typography)38- **Complete pages or dashboards** from scratch39- **WCAG 2.1 AA validation** for complex layouts40- **Multi-stage workflows** requiring design → code → validate41- **Team collaboration** on larger component projects42- Examples:43 - Building a complete React admin dashboard44 - Designing a multi-form wizard interface45 - Creating a full data management portal with multiple sections46 - Implementing a complex dashboard with multiple views and charts4748### ❌ DO NOT USE this Skill for:4950- ✋ Configuring a single component (use component skill directly)51- ✋ Quick implementation questions (use component skill directly)52- ✋ Component tutorials or how-tos (use component skill directly)53- ✋ Troubleshooting component issues (use component skill + diagnostic protocol)54- ✋ Backend/API code (out of scope)55- ✋ Non-Syncfusion React questions (use general React help)5657## Quick Start5859### Prerequisites60611. **Active React project** (React 18+, Next.js 13+, Vite, or CRA)622. **Node.js 18+** and npm/yarn/pnpm installed634. **Syncfusion components library** (auto-installed if missing):64 ```bash65 npx skills add syncfusion/react-ui-components-skills -y66 ```6768### Basic Usage6970**Example 1: Generate a Login Form**7172```73User: "Create a login form with email, password, and remember me checkbox"7475Skill executes:76 → Stage 1: Identifies login form component type77 → Stage 2: Detects project structure (React, TypeScript, etc.)78 → Stage 3-4: AI creates optimal component-mapping.json → maps to Syncfusion components79 → Stage 5: Generates LoginForm.tsx with validation80 → Stage 6: Installs dependencies81 → Stage 7: Validates WCAG 2.1 AA compliance82 → Stage 8: Inserts code into project8384Output:85 ✓ components/LoginForm/LoginForm.tsx86 ✓ components/LoginForm/LoginForm.module.css87 ✓ components/LoginForm/index.ts88```8990**Example 2: Generate a Dashboard**9192```93User: "Build a dashboard with customer overview, recent orders table, and sales chart"9495Output:96 ✓ components/Dashboard/Dashboard.tsx (main layout)97 ✓ components/CustomerOverview/CustomerOverview.tsx98 ✓ components/RecentOrders/RecentOrders.tsx (with Syncfusion DataGrid)99 ✓ components/SalesChart/SalesChart.tsx (with Syncfusion ChartComponent)100 ✓ Mock data included (useState with sample data)101 ✓ Responsive design (mobile-first, grid layout)102 ✓ Dark mode support with design tokens103 ✓ Full accessibility compliance (WCAG 2.1 AA)104```105106## How It Works: 8-Stage AI Orchestration (Stateless)107108The skill orchestrates **8 stages of pure AI reasoning** with **two user decision points**.109110**Key Architecture:**111- **Stateless design**: Conversation history maintains state112- **Pure AI reasoning**: Each stage reads guidance docs, analyzes context, makes decisions113- **1 user decision gates**: Stage 4 (theme confirmation)114- **7 fully automated stages**: 1, 2, 3, 5, 6, 7, and final code insertion115- **Dedicated theming stage**: Stage 4 locks design system before code generation116117```118User Request119 ↓120[Stage 1: Intent Analysis] 121 AI reads query → identifies component type & features122 ↓123[Stage 2: Project Detection]124 AI scans project → detect framework, language, CSS strategy, preferences125 ↓126[Stage 3: Layout Analysis & Component Mapping] 127 AI analyzes requirements → creates optimal component-mapping.json128 AI maps to specific Syncfusion components (3+ components)129 ↓130[Stage 4: Theming & Design System] ⭐ USER DECISION #1131 AI locks CSS framework → Syncfusion theme mapping132 AI selects color system (OKLCH, brand colors)133 AI confirms spacing/typography scale (4pt grid, 1.25 ratio)134 Design system decisions locked before code generation135 User confirms theming decision136 ↓137[Stage 5: Code Generation]138 AI generates .tsx, .css, TypeScript interfaces139 Uses theming decisions from Stage 4140 For complex UIs (4+ sections or 3+ component types), components MUST be split into modular subcomponents.141 With accessibility + responsive design built-in142 ↓143[Stage 6: Dependencies]144 AI detects required packages (Syncfusion + CSS framework)145 Presents npm install command or runs it146 Proceed to next stage147 ↓148[Stage 7: Validation] 149 AI validates WCAG 2.1 AA + security + performance + theming150 Binary result: PASS ✓ or FAIL ✗151 ↓152[Stage 8: Code Insertion]153 AI inserts files into project154 Updates imports, verifies build155 ↓156✓ Complete157```158159**Stage Descriptions:**160161- **Stage 1 (Intent Analysis)**: Parse user query, identify component type and features. Read: `references/stage-1-intent-analysis.md`162- **Stage 2 (Project Detection)**: Auto-detect framework, language, CSS strategy, component directory. Read: `references/stage-2-project-detection.md`163- **Stage 3 (Layout Analysis & Component Mapping)**: AI analyzes requirements, creates optimal component-mapping.json, maps to Syncfusion components. Read: `references/stage-3-layout-analysis.md`164- **Stage 4 (Theming & Design System)**: Lock CSS framework, Syncfusion theme, color system (OKLCH), spacing (4pt), typography (1.25 ratio). Read: `references/stage-4-theming-and-design-system.md`165- **Stage 5 (Code Generation)**: Generate React with design tokens from Stage 4 applied + accessibility + responsive design. Read: `references/stage-5-code-generation.md`166- **Stage 6 (Dependencies)**: Detect packages (Syncfusion + CSS framework), resolve conflicts, prepare install command. Read: `references/stage-6-dependencies.md`167- **Stage 7 (Validation)**: Validate WCAG 2.1 AA, security, performance, theming integration. Binary pass/fail. Read: `references/stage-7-validation.md` + `assets/validation-rules.md`168- **Stage 8 (Code Insertion)**: AI inserts files, updates imports, verifies build succeeds.169170**User Interaction Summary:**171172| Stage | Interaction |173|-------|-------------|174| 1 | None (AI analyzes) |175| 2 | None (AI analyzes) |176| 3 | None (AI analyzes) |177| 4 | Confirm theming decisions (CSS framework, colors, spacing, typography) |178| 5 | None (AI generates) |179| 6 | None (AI executes) |180| 7 | None (AI analyzes) |181| 8 | None (AI executes) |182183**Total user decision gates: 1** (Stage 4: theming decision). Rest fully automated with AI reasoning + guidance docs.184185## Agent Instructions186187### When User Requests UI Component Generation1881891. **Validate scope**: Confirm request is for frontend components (not backend/API)1902. **Load guidance**: Read `stage-1-intent-analysis.md` to understand Stage 11913. **Execute 8-stage flow**: Follow the orchestration flow shown above1924. **Progressive disclosure**: Load stage guides on-demand; load support references only when needed1935. **Maintain conversation history**: Each stage reads previous decisions from conversation context (stateless)194195### Stage Execution & Reference Loading196197**Stage 1: Intent Analysis**198- Read: `references/stage-1-intent-analysis.md`199- Task: Parse user query, identify component type, resolve ambiguities200- Output: Component type + modifiers + target directory201202**Stage 2: Project Detection**203- Read: `references/stage-2-project-detection.md`204- Task: Auto-detect React framework, language, CSS strategy, formatting rules205- Output: Project configuration206207**Stage 3: Layout Analysis & Component Mapping**208- Read: `references/stage-3-layout-analysis.md`209- Task: Analyze user requirements → create optimal component-mapping.json → map to Syncfusion components (3+ minimum)210- Output: component-mapping.json + Component mapping211212**Stage 4: Theming & Design System** ⭐ USER DECISION #1213- Read: `references/stage-4-theming-and-design-system.md`214- Task: Lock CSS framework, Syncfusion theme, color system (OKLCH), spacing (4pt grid), typography (1.25 ratio), responsive breakpoints215- Output: Design system decisions + User confirmation216217**Stage 5: Code Generation**218- Read: `references/stage-5-code-generation.md`219- Task: Generate React .tsx, CSS, TypeScript interfaces using theming from Stage 4220- Ensure: WCAG 2.1 AA accessibility, responsive design, token architecture applied221- Output: Generated files ready for review222223**Stage 6: Dependencies**224- Read: `references/stage-6-dependencies.md`225- Task: Detect required packages (Syncfusion + CSS framework), resolve version conflicts226- Output: Output installation command only; do not assume auto-install unless explicitly requested227228**Stage 7: Validation**229- Read: `references/stage-7-validation.md` + `assets/validation-rules.md` + `references/web-standards.md`230- Task: Validate against WCAG 2.1 AA, security, performance, theming integration standards231- Auto-apply fixes where possible232- Output: Binary result (PASS ✓ or FAIL ✗)233234**Stage 8: Code Insertion**235- Task: Insert generated files into project, update imports, verify build236- Output: Success report with file paths237238### Boundary Rules (CRITICAL)239240**AI agents executing this skill MUST:**2412421. **Frontend only**: Never generate backend code (API routes, database schemas, middleware)2432. **Mock data only**: Use `useState` with hardcoded samples; no `fetch()` to real APIs2443. **No secrets**: Exception: `.env.local` for `SYNCFUSION_LICENSE_KEY` when user provides2454. **React components only**: Generate `.tsx`/`.jsx` files in component directories2465. **Redirect backend requests**: *"This skill generates frontend UI only. Backend integration is your app's responsibility. Ready to generate the frontend?"*2476. **Prioritize skill**: Always prioritize Syncfusion component skill files as source of truth when available; do not rely on memory.248249### Error Handling250251If any stage fails:2522531. **Retry once** with same approach2542. **If retry fails**, attempt workaround or skip to next stage2553. **Notify user** with error message from stage output2564. **Offer recovery**: *"Would you like to go back to Stage 3 and choose a different layout?"*257258If stage failure impacts correctness, halt and request user direction instead of proceeding with uncertain output259260### Resource Loading Strategy (Progressive Disclosure)261262**Load SKILL.md first** (you're reading it now) ~400 lines263264**Load stage guides on-demand** (each <200 lines):265- `stage-1-intent-analysis.md` → During Stage 1266- `stage-2-project-detection.md` → During Stage 2267- `stage-3-layout-analysis.md` → During Stage 3268- etc.269270**Load support references only when needed**:271- `web-standards.md` → When validating in Stage 5272- `assets/validation-rules.md` → When validating in Stage 5273274**Result**: Initial load ~400 lines (SKILL.md only). Full spec available on-demand, never exceeding Agent Skills context limits.275276## Configuration & User Customization277278### Auto-Detected Settings279280During **Stage 2 (Project Detection)**, AI automatically detects:281282- **Framework**: React, Next.js (App Router / Pages Router), Vite, Create React App283- **Language**: TypeScript (if `tsconfig.json` exists) or JavaScript284- **Styling**: CSS Modules, Tailwind CSS, CSS-in-JS, or inline styles285- **Formatting**: Prettier/ESLint rules (indentation, quotes, semicolons)286- **Component Directory**: `src/components/`, `app/components/`, or similar287288### User Override Options289290In **Stage 2**, user can override any detected setting:291292```293Detected Settings:294 Framework: Next.js 14 (App Router)295 Language: TypeScript296 CSS: CSS Modules297 Component Directory: app/components/298299[Confirm] [Override Each] [Cancel]300```301302### Syncfusion License Configuration303304The skill handles license key setup:3053061. **Check** for existing `SYNCFUSION_LICENSE_KEY` in `.env.local`3072. **If missing**, prompt user: *"Get a free Community License at https://www.syncfusion.com/account/manage-trials"*3083. **If provided**, write to `.env.local` + inject `registerLicense()` in app entry3094. **If skipped**, proceed but warn that watermark will appear in preview310311---312313## Code Generation Standards314315All generated code includes:316317### Accessibility (WCAG 2.1 AA)318- ✅ Semantic HTML5 (`<form>`, `<label>`, `<input>`, `<button>`)319- ✅ ARIA labels and descriptions320- ✅ Keyboard navigation (tab order, focus management)321- ✅ Color contrast ≥ 4.5:1322- ✅ Focus indicators on interactive elements323324### Responsive Design325- ✅ Mobile-first CSS (320px base, then scale up)326- ✅ Flexbox/Grid layouts (no fixed widths)327- ✅ Media queries at 768px, 1024px+ breakpoints328- ✅ Touch-friendly buttons (44x44px minimum)329330### Security331- ✅ Input validation and sanitization332- ✅ No `dangerouslySetInnerHTML` without sanitization333- ✅ No hardcoded secrets334- ✅ No XSS vulnerabilities335336### Performance337- ✅ React.memo for stable components338- ✅ useCallback for event handlers339- ✅ Lazy loading for large components340- ✅ Optimized re-renders341342### TypeScript & Types343- ✅ Full type coverage (no `any` types)344- ✅ Props interfaces with JSDoc345- ✅ Event handler signatures346- ✅ State type annotations347348## Supported Use Cases349350- **Login form**: TextBox (email), TextBox (password), CheckBox (remember), Button (submit)351- **Data table**: DataGrid with sorting, filtering, pagination, row selection352- **Dashboard**: Multiple components orchestrated (header, sidebar, main content, footer)353- **Registration wizard**: Multi-step form with progress indicator and validation354355## Troubleshooting356357**Common Issues:**358359| Issue | Solution |360|-------|----------|361| "Project type not detected" | Ensure `package.json` exists with React dependency |362| "Syncfusion license banner appears" | Add license key via Stage 2 prompt |363| "Build fails after insertion" | Use Syncfusion component skills to resolve failures |364| "Component not rendering" | Verify import paths and ensure parent component imports correctly |365366## Additional Resources367368### Quick Reference by Use Case369370| Need | Reference File |371|------|-----------------|372| Understanding workflow | This SKILL.md file |373| How Stage X works | `references/stage-X-*.md` |374| Validation rules | `assets/validation-rules.md` |375| Accessibility/security | `references/web-standards.md` |376377## Support378379For issues or questions:3801. Check Syncfusion component skills for common problems3812. Verify your project meets prerequisites (React 18+, Node.js 18+)3823. Ensure Syncfusion license is valid and registered3834. Review generated code compliance report for warnings384385---