@champpaba/claude-agent-kit 3.5.2 → 3.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/.claude/CHANGELOG.md +0 -0
  2. package/.claude/CLAUDE.md +103 -45
  3. package/.claude/agents/01-integration.md +0 -0
  4. package/.claude/agents/02-uxui-frontend.md +1 -1
  5. package/.claude/agents/03-test-debug.md +0 -0
  6. package/.claude/agents/04-frontend.md +0 -0
  7. package/.claude/agents/05-backend.md +0 -0
  8. package/.claude/agents/06-database.md +0 -0
  9. package/.claude/agents/07-ux-tester.md +18 -12
  10. package/.claude/agents/CLAUDE.md +18 -0
  11. package/.claude/agents/_shared/CLAUDE.md +11 -0
  12. package/.claude/agents/_shared/README.md +0 -0
  13. package/.claude/agents/_shared/agent-boundaries.md +0 -0
  14. package/.claude/agents/_shared/documentation-policy.md +0 -0
  15. package/.claude/agents/_shared/package-manager.md +0 -0
  16. package/.claude/agents/_shared/pre-work-checklist.md +45 -2
  17. package/.claude/commands/CLAUDE.md +20 -0
  18. package/.claude/commands/cdev.md +2 -2
  19. package/.claude/commands/csetup.md +0 -0
  20. package/.claude/commands/cstatus.md +0 -0
  21. package/.claude/commands/cview.md +0 -0
  22. package/.claude/commands/designsetup.md +0 -0
  23. package/.claude/commands/extract.md +22 -20
  24. package/.claude/commands/pageplan.md +0 -0
  25. package/.claude/commands/pstatus.md +0 -0
  26. package/.claude/contexts/_core/CLAUDE.md +11 -0
  27. package/.claude/contexts/_core/README.md +33 -0
  28. package/.claude/contexts/{patterns → _core}/code-standards.md +0 -0
  29. package/.claude/contexts/{patterns → _core}/development-principles.md +0 -0
  30. package/.claude/contexts/design/CLAUDE.md +17 -0
  31. package/.claude/contexts/design/accessibility.md +2 -2
  32. package/.claude/contexts/design/box-thinking.md +0 -0
  33. package/.claude/contexts/design/color-theory.md +2 -2
  34. package/.claude/contexts/design/index.md +0 -0
  35. package/.claude/contexts/design/layout.md +0 -0
  36. package/.claude/contexts/design/responsive.md +0 -0
  37. package/.claude/contexts/design/shadows.md +0 -0
  38. package/.claude/contexts/design/spacing.md +0 -0
  39. package/.claude/contexts/design/typography.md +0 -0
  40. package/.claude/contexts/domain/README.md +0 -0
  41. package/.claude/contexts/patterns/CLAUDE.md +13 -0
  42. package/.claude/contexts/patterns/agent-coordination.md +0 -0
  43. package/.claude/contexts/patterns/agent-discovery.md +0 -0
  44. package/.claude/contexts/patterns/animation-patterns.md +0 -0
  45. package/.claude/contexts/patterns/change-workflow.md +1 -1
  46. package/.claude/contexts/patterns/error-handling.md +0 -0
  47. package/.claude/contexts/patterns/error-recovery.md +0 -0
  48. package/.claude/contexts/patterns/frontend-component-strategy.md +0 -0
  49. package/.claude/contexts/patterns/git-workflow.md +0 -0
  50. package/.claude/contexts/patterns/logging.md +0 -0
  51. package/.claude/contexts/patterns/performance-optimization.md +1 -1
  52. package/.claude/contexts/patterns/task-breakdown.md +0 -0
  53. package/.claude/contexts/patterns/task-classification.md +0 -0
  54. package/.claude/contexts/patterns/tdd-classification.md +0 -0
  55. package/.claude/contexts/patterns/testing.md +0 -0
  56. package/.claude/contexts/patterns/ui-component-consistency.md +0 -0
  57. package/.claude/contexts/patterns/validation-framework.md +0 -0
  58. package/.claude/lib/CLAUDE.md +19 -0
  59. package/.claude/lib/README.md +1 -1
  60. package/.claude/lib/agent-executor.md +1 -1
  61. package/.claude/lib/agent-router.md +0 -0
  62. package/.claude/lib/context-loading-protocol.md +0 -0
  63. package/.claude/lib/design-validator.md +8 -8
  64. package/.claude/lib/detailed-guides/agent-system.md +0 -0
  65. package/.claude/lib/detailed-guides/best-practices-system.md +0 -0
  66. package/.claude/lib/detailed-guides/context-optimization.md +0 -0
  67. package/.claude/lib/detailed-guides/design-system.md +0 -0
  68. package/.claude/lib/detailed-guides/incremental-testing.md +0 -0
  69. package/.claude/lib/detailed-guides/page-planning.md +0 -0
  70. package/.claude/lib/detailed-guides/taskmaster-analysis.md +0 -0
  71. package/.claude/lib/document-loader.md +0 -0
  72. package/.claude/lib/feature-best-practices.md +0 -0
  73. package/.claude/lib/flags-updater.md +0 -0
  74. package/.claude/lib/handoff-protocol.md +0 -0
  75. package/.claude/lib/task-analyzer.md +2 -2
  76. package/.claude/lib/tdd-workflow.md +0 -0
  77. package/.claude/lib/validation-gates.md +0 -0
  78. package/.claude/settings.local.json +0 -0
  79. package/.claude/templates/PROJECT_STATUS.template.yml +0 -0
  80. package/.claude/templates/STYLE_GUIDE.template.md +0 -0
  81. package/.claude/templates/context-template.md +0 -0
  82. package/.claude/templates/design-context-template.md +0 -0
  83. package/.claude/templates/flags-template.json +0 -0
  84. package/.claude/templates/page-plan-example.md +0 -0
  85. package/.claude/templates/phases-sections/CLAUDE.md +13 -0
  86. package/.claude/templates/phases-sections/accessibility-test.md +0 -0
  87. package/.claude/templates/phases-sections/api-design.md +0 -0
  88. package/.claude/templates/phases-sections/backend-tests.md +0 -0
  89. package/.claude/templates/phases-sections/backend.md +0 -0
  90. package/.claude/templates/phases-sections/business-logic-validation.md +0 -0
  91. package/.claude/templates/phases-sections/component-tests.md +0 -0
  92. package/.claude/templates/phases-sections/contract-backend.md +0 -0
  93. package/.claude/templates/phases-sections/contract-frontend.md +0 -0
  94. package/.claude/templates/phases-sections/database.md +0 -0
  95. package/.claude/templates/phases-sections/e2e-tests.md +0 -0
  96. package/.claude/templates/phases-sections/fix-implementation.md +0 -0
  97. package/.claude/templates/phases-sections/frontend-integration.md +0 -0
  98. package/.claude/templates/phases-sections/frontend-mockup.md +0 -0
  99. package/.claude/templates/phases-sections/manual-flow-test.md +0 -0
  100. package/.claude/templates/phases-sections/manual-ux-test.md +0 -0
  101. package/.claude/templates/phases-sections/refactor-implementation.md +0 -0
  102. package/.claude/templates/phases-sections/refactor.md +0 -0
  103. package/.claude/templates/phases-sections/regression-tests.md +0 -0
  104. package/.claude/templates/phases-sections/responsive-test.md +0 -0
  105. package/.claude/templates/phases-sections/script-implementation.md +0 -0
  106. package/.claude/templates/phases-sections/test-coverage.md +0 -0
  107. package/.claude/templates/phases-sections/user-approval.md +0 -0
  108. package/.claude/templates/phases-sections/ux-testing.md +2 -2
  109. package/LICENSE +0 -0
  110. package/README.md +0 -0
  111. package/bin/CLAUDE.md +11 -0
  112. package/bin/cli.js +0 -0
  113. package/lib/CLAUDE.md +11 -0
  114. package/lib/helpers.js +0 -0
  115. package/lib/init.js +0 -0
  116. package/lib/update.js +0 -0
  117. package/package.json +3 -2
  118. package/skills/design-extract/CLAUDE.md +12 -0
  119. package/skills/design-extract/SKILL.md +76 -0
  120. package/skills/design-extract/references/CLAUDE.md +16 -0
  121. package/skills/design-extract/references/error-handling.md +161 -0
  122. package/skills/design-extract/references/extraction-steps.md +183 -0
  123. package/skills/design-extract/references/output-format.md +250 -0
  124. package/skills/design-extract/references/style-detection.md +137 -0
  125. package/skills/design-extract/templates/CLAUDE.md +11 -0
  126. package/skills/design-extract/templates/data.yaml.template +95 -0
  127. package/skills/design-setup/CLAUDE.md +11 -0
  128. package/skills/design-setup/SKILL.md +104 -0
  129. package/skills/design-setup/references/CLAUDE.md +11 -0
  130. package/skills/design-setup/references/data-yaml-schema.md +205 -0
  131. package/skills/design-setup/references/error-handling.md +157 -0
  132. package/skills/design-setup/references/generation-steps.md +192 -0
  133. package/skills/design-setup/references/interactive-workflow.md +151 -0
  134. package/skills/page-planner/CLAUDE.md +11 -0
  135. package/skills/page-planner/SKILL.md +112 -0
  136. package/skills/page-planner/references/CLAUDE.md +11 -0
  137. package/skills/page-planner/references/animation-patterns.md +169 -0
  138. package/skills/page-planner/references/generation-steps.md +166 -0
  139. package/skills/page-planner/references/wireframe-patterns.md +182 -0
  140. package/skills/page-planner/templates/CLAUDE.md +11 -0
  141. package/skills/page-planner/templates/page-plan.md +303 -0
@@ -0,0 +1,137 @@
1
+ # Style Detection
2
+
3
+ Guide for classifying design styles during extraction.
4
+
5
+ ---
6
+
7
+ ## Common Design Styles
8
+
9
+ ### Neo-Brutalism
10
+
11
+ **Characteristics:**
12
+ - Bold, chunky borders (2-4px)
13
+ - High contrast colors
14
+ - Offset shadows (no blur)
15
+ - Raw, intentionally "unpolished" look
16
+ - Thick black outlines
17
+
18
+ **Example sites:** Gumroad, Figma marketing pages
19
+
20
+ ### Minimalist
21
+
22
+ **Characteristics:**
23
+ - Maximum whitespace
24
+ - Limited color palette (2-3 colors)
25
+ - Thin or no borders
26
+ - Subtle shadows or none
27
+ - Typography-focused
28
+
29
+ **Example sites:** Apple, Notion
30
+
31
+ ### Glassmorphism
32
+
33
+ **Characteristics:**
34
+ - Frosted glass effect (backdrop-filter: blur)
35
+ - Semi-transparent backgrounds
36
+ - Subtle borders (1px white/light)
37
+ - Layered depth
38
+ - Gradient backgrounds
39
+
40
+ **Example sites:** macOS Big Sur UI, many fintech apps
41
+
42
+ ### Modern SaaS
43
+
44
+ **Characteristics:**
45
+ - Clean, professional aesthetic
46
+ - Subtle gradients
47
+ - Soft shadows
48
+ - Rounded corners (8-16px)
49
+ - Clear visual hierarchy
50
+
51
+ **Example sites:** Linear, Stripe, Vercel
52
+
53
+ ### Corporate/Enterprise
54
+
55
+ **Characteristics:**
56
+ - Conservative color choices
57
+ - Traditional typography
58
+ - Structured grid layouts
59
+ - Formal tone
60
+ - Accessibility-focused
61
+
62
+ **Example sites:** IBM, Microsoft, Salesforce
63
+
64
+ ### Playful/Creative
65
+
66
+ **Characteristics:**
67
+ - Bright, saturated colors
68
+ - Illustrated elements
69
+ - Curved shapes
70
+ - Animation-heavy
71
+ - Informal typography
72
+
73
+ **Example sites:** Slack, Mailchimp, Dropbox
74
+
75
+ ### Dark Mode Native
76
+
77
+ **Characteristics:**
78
+ - Dark backgrounds (#0a0a0a to #1a1a1a)
79
+ - High contrast text
80
+ - Glowing accents
81
+ - Subtle borders for separation
82
+ - Reduced eye strain focus
83
+
84
+ **Example sites:** Discord, GitHub (dark), VS Code
85
+
86
+ ---
87
+
88
+ ## Detection Criteria
89
+
90
+ ### Border Analysis
91
+
92
+ | Pattern | Style Indicator |
93
+ |---------|-----------------|
94
+ | 2-4px solid black borders | Neo-Brutalism |
95
+ | 1px subtle borders | Minimalist/Modern SaaS |
96
+ | 1px white/translucent borders | Glassmorphism |
97
+ | No borders | Minimalist |
98
+
99
+ ### Shadow Analysis
100
+
101
+ | Pattern | Style Indicator |
102
+ |---------|-----------------|
103
+ | Offset shadows (4px 4px, no blur) | Neo-Brutalism |
104
+ | Soft blur shadows (0 4px 16px) | Modern SaaS |
105
+ | No shadows | Minimalist |
106
+ | Inner glow effects | Glassmorphism |
107
+
108
+ ### Color Analysis
109
+
110
+ | Pattern | Style Indicator |
111
+ |---------|-----------------|
112
+ | High contrast, saturated | Neo-Brutalism / Playful |
113
+ | Muted, desaturated | Minimalist / Corporate |
114
+ | Gradients with transparency | Glassmorphism |
115
+ | Dark backgrounds | Dark Mode Native |
116
+
117
+ ### Typography Analysis
118
+
119
+ | Pattern | Style Indicator |
120
+ |---------|-----------------|
121
+ | Extra bold weights (800-900) | Neo-Brutalism |
122
+ | Variable weights, modern sans | Modern SaaS |
123
+ | Serif fonts | Corporate / Editorial |
124
+ | Rounded, friendly fonts | Playful |
125
+
126
+ ---
127
+
128
+ ## Psychology Mapping
129
+
130
+ | Style | Primary Emotions | Best For |
131
+ |-------|------------------|----------|
132
+ | Neo-Brutalism | Bold, Rebellious, Confident | Creative tools, indie brands |
133
+ | Minimalist | Calm, Focused, Premium | Luxury, productivity |
134
+ | Glassmorphism | Modern, Futuristic, Sleek | Tech products, dashboards |
135
+ | Modern SaaS | Professional, Trustworthy | B2B, enterprise |
136
+ | Playful | Fun, Approachable, Friendly | Consumer apps, social |
137
+ | Dark Mode | Sophisticated, Technical | Developer tools, gaming |
@@ -0,0 +1,11 @@
1
+ <claude-mem-context>
2
+ # Recent Activity
3
+
4
+ <!-- This section is auto-generated by claude-mem. Edit content outside the tags. -->
5
+
6
+ ### Feb 3, 2026
7
+
8
+ | ID | Time | T | Title | Read |
9
+ |----|------|---|-------|------|
10
+ | #252 | 11:38 PM | 🔵 | Git status reveals extensive refactoring with skills migration and core context reorganization | ~682 |
11
+ </claude-mem-context>
@@ -0,0 +1,95 @@
1
+ # Design Extraction: {siteName}
2
+ # Extracted: {timestamp}
3
+ # URL: {url}
4
+
5
+ meta:
6
+ site_name: "{siteName}"
7
+ url: "{url}"
8
+ extracted_at: "{timestamp}"
9
+ extractor_version: "2.1.0"
10
+ coverage:
11
+ total_sections: 17
12
+ detected_sections: {detectedCount}
13
+ percentage: {coveragePercent}
14
+
15
+ psychology:
16
+ style_classification: "{styleClassification}"
17
+
18
+ emotions_evoked:
19
+ - emotion: "{emotion1}"
20
+ reason: "{reason1}"
21
+
22
+ target_audience:
23
+ primary:
24
+ description: "{audienceDescription}"
25
+ age_range: "{ageRange}"
26
+ tech_savvy: "{techSavvy}"
27
+
28
+ visual_principles:
29
+ - name: "{principle1}"
30
+ description: "{principleDesc1}"
31
+
32
+ why_it_works:
33
+ - "{whyItWorks1}"
34
+
35
+ design_philosophy:
36
+ core_belief: "{coreBelief}"
37
+ key_principles:
38
+ - "{keyPrinciple1}"
39
+
40
+ sections:
41
+ overview:
42
+ detected: true
43
+ style: "{styleClassification}"
44
+
45
+ color_palette:
46
+ detected: {hasColors}
47
+ primary:
48
+ # Extracted background colors
49
+ text_colors:
50
+ # Extracted text colors
51
+ border_colors:
52
+ # Extracted border colors
53
+
54
+ typography:
55
+ detected: {hasTypography}
56
+ fonts: []
57
+ weights: []
58
+ sizes: []
59
+
60
+ spacing_system:
61
+ detected: {hasSpacing}
62
+ grid_base: {gridBase}
63
+ common_values: []
64
+
65
+ component_styles:
66
+ detected: {hasComponents}
67
+ buttons: []
68
+ cards: []
69
+ inputs: []
70
+
71
+ shadows_elevation:
72
+ detected: {hasShadows}
73
+ values: []
74
+
75
+ animations_transitions:
76
+ detected: {hasAnimations}
77
+ keyframes: []
78
+ transitions: []
79
+
80
+ border_radius:
81
+ detected: {hasBorderRadius}
82
+ values: []
83
+
84
+ border_styles:
85
+ detected: {hasBorders}
86
+ widths: []
87
+
88
+ layout_patterns:
89
+ detected: {hasLayout}
90
+ container_width: "1280px"
91
+ grid_columns: 12
92
+
93
+ # Detailed animation states
94
+ animations:
95
+ # Component animation states go here
@@ -0,0 +1,11 @@
1
+ <claude-mem-context>
2
+ # Recent Activity
3
+
4
+ <!-- This section is auto-generated by claude-mem. Edit content outside the tags. -->
5
+
6
+ ### Feb 3, 2026
7
+
8
+ | ID | Time | T | Title | Read |
9
+ |----|------|---|-------|------|
10
+ | #252 | 11:38 PM | 🔵 | Git status reveals extensive refactoring with skills migration and core context reorganization | ~682 |
11
+ </claude-mem-context>
@@ -0,0 +1,104 @@
1
+ # Design Setup Skill
2
+
3
+ Interactive design system setup with theme selection and AI recommendations.
4
+
5
+ ## Triggers
6
+
7
+ - "/designsetup [@context-files...]"
8
+ - "setup design system"
9
+ - "create design system from extracted sites"
10
+ - "สร้าง design system"
11
+
12
+ ## Prerequisites
13
+
14
+ Must have extracted at least 1 site first:
15
+ ```bash
16
+ /extract https://airbnb.com
17
+ ```
18
+
19
+ ## Quick Usage
20
+
21
+ ```bash
22
+ # With context files
23
+ /designsetup @prd.md @project.md
24
+
25
+ # Without context (interactive mode)
26
+ /designsetup
27
+ ```
28
+
29
+ ## Output Files
30
+
31
+ | File | Purpose | Audience |
32
+ |------|---------|----------|
33
+ | `design-system/data.yaml` | Design tokens (~300 lines) | Agents |
34
+ | `design-system/README.md` | Human-readable guide (~100 lines) | Humans |
35
+ | `design-system/patterns/*.md` | Code patterns | Agents |
36
+
37
+ ## 3-Round Interactive Process
38
+
39
+ ```
40
+ Round 1: Style Selection
41
+ ├── Present extracted styles with Match Scores
42
+ ├── User selects (or "Mix/Custom" for adjustments)
43
+ └── AI calculates fit based on brand personality
44
+
45
+ Round 2: Animation Selection
46
+ ├── Show all available animations from references
47
+ ├── User multi-selects desired patterns
48
+ └── Include scroll animations, hover effects
49
+
50
+ Round 3: Theme & Decorative Direction
51
+ ├── AI recommends 3-4 themes based on project
52
+ ├── Each theme has USE and AVOID elements
53
+ └── User selects or creates custom theme
54
+
55
+ Confirmation → Generate Files
56
+ ```
57
+
58
+ ## What Gets Generated
59
+
60
+ ### data.yaml (For Agents)
61
+ - Style classification + feel
62
+ - Colors (primary, secondary, semantic)
63
+ - Typography (fonts, weights, sizes)
64
+ - Spacing (grid base, scale)
65
+ - Animations (durations, easing, patterns)
66
+ - Theme direction (use/avoid elements)
67
+ - Psychology (emotions, target audience)
68
+
69
+ ### README.md (For Humans)
70
+ - Overview and characteristics
71
+ - Color palette guide
72
+ - Typography guide
73
+ - Spacing system
74
+ - Theme direction
75
+ - Critical rules
76
+
77
+ ### patterns/*.md (For Agents)
78
+ - `buttons.md` - Button variants and sizes
79
+ - `cards.md` - Card variants
80
+ - `forms.md` - Form elements
81
+ - `scroll-animations.md` - Scroll patterns
82
+ - `decorations.md` - Decorative elements
83
+
84
+ ## Detailed Documentation
85
+
86
+ | Reference | Use When |
87
+ |-----------|----------|
88
+ | [references/interactive-workflow.md](references/interactive-workflow.md) | Understanding the 3-round loop |
89
+ | [references/generation-steps.md](references/generation-steps.md) | File generation process |
90
+ | [references/data-yaml-schema.md](references/data-yaml-schema.md) | data.yaml structure |
91
+ | [references/error-handling.md](references/error-handling.md) | Handling failures |
92
+
93
+ ## Next Steps After Setup
94
+
95
+ ```bash
96
+ # Plan pages (reads data.yaml)
97
+ /pageplan @prd.md
98
+
99
+ # Setup development workflow
100
+ /csetup {change-id}
101
+
102
+ # Start development (agents read data.yaml)
103
+ /cdev {change-id}
104
+ ```
@@ -0,0 +1,11 @@
1
+ <claude-mem-context>
2
+ # Recent Activity
3
+
4
+ <!-- This section is auto-generated by claude-mem. Edit content outside the tags. -->
5
+
6
+ ### Feb 3, 2026
7
+
8
+ | ID | Time | T | Title | Read |
9
+ |----|------|---|-------|------|
10
+ | #252 | 11:38 PM | 🔵 | Git status reveals extensive refactoring with skills migration and core context reorganization | ~682 |
11
+ </claude-mem-context>
@@ -0,0 +1,205 @@
1
+ # data.yaml Schema
2
+
3
+ Complete schema for the generated design system file.
4
+
5
+ ---
6
+
7
+ ## File Location
8
+
9
+ ```
10
+ design-system/data.yaml
11
+ ```
12
+
13
+ ---
14
+
15
+ ## Complete Schema
16
+
17
+ ```yaml
18
+ # Design System
19
+ # Generated by: /designsetup
20
+ # Source: {site}
21
+ # Style: {style}
22
+
23
+ meta:
24
+ generated_at: "2026-02-03T15:30:00Z"
25
+ source_site: "airbnb"
26
+ style: "Modern SaaS"
27
+ theme: "Travel & Adventure"
28
+
29
+ psychology:
30
+ style_classification: "Modern SaaS"
31
+
32
+ emotions_evoked:
33
+ - emotion: "Trust"
34
+ reason: "Clean typography and ample whitespace"
35
+ - emotion: "Excitement"
36
+ reason: "Vibrant accent colors"
37
+
38
+ target_audience:
39
+ primary:
40
+ description: "Young professionals"
41
+ age_range: "25-40"
42
+ tech_savvy: "high"
43
+ secondary:
44
+ description: "Families"
45
+ age_range: "30-50"
46
+
47
+ visual_principles:
48
+ - name: "Hierarchy"
49
+ description: "Clear visual hierarchy"
50
+ - name: "Whitespace"
51
+ description: "Generous padding"
52
+
53
+ why_it_works:
54
+ - "Large hero images create emotional connection"
55
+ - "Simple navigation reduces cognitive load"
56
+
57
+ design_philosophy:
58
+ core_belief: "Design should feel human"
59
+ key_principles:
60
+ - "Simplicity over complexity"
61
+ - "Content-first approach"
62
+
63
+ style:
64
+ detected: "Modern SaaS"
65
+ characteristics:
66
+ - "Clean lines"
67
+ - "Soft shadows"
68
+ - "Rounded corners"
69
+ feel: "Professional yet approachable"
70
+
71
+ colors:
72
+ primary:
73
+ DEFAULT: "#FF5A5F"
74
+ foreground: "#ffffff"
75
+ hover: "#E04E52"
76
+ secondary:
77
+ DEFAULT: "#00A699"
78
+ foreground: "#ffffff"
79
+ hover: "#008F84"
80
+ background:
81
+ DEFAULT: "#ffffff"
82
+ muted: "#f1f5f9"
83
+ subtle: "#f8fafc"
84
+ foreground:
85
+ DEFAULT: "#0a0a0a"
86
+ muted: "#64748b"
87
+ subtle: "#94a3b8"
88
+ accent:
89
+ DEFAULT: "#f97316"
90
+ foreground: "#ffffff"
91
+ semantic:
92
+ success: "#10b981"
93
+ warning: "#f59e0b"
94
+ error: "#ef4444"
95
+ info: "#3b82f6"
96
+
97
+ typography:
98
+ font_family:
99
+ sans: "'Inter', sans-serif"
100
+ heading: "'Inter', sans-serif"
101
+ mono: "'Fira Code', monospace"
102
+ weights:
103
+ - "400"
104
+ - "500"
105
+ - "600"
106
+ - "700"
107
+ sizes:
108
+ xs: "12px"
109
+ sm: "14px"
110
+ base: "16px"
111
+ lg: "18px"
112
+ xl: "20px"
113
+ 2xl: "24px"
114
+ 3xl: "30px"
115
+ 4xl: "36px"
116
+ 5xl: "48px"
117
+
118
+ spacing:
119
+ base: "8px"
120
+ scale:
121
+ - 4
122
+ - 8
123
+ - 12
124
+ - 16
125
+ - 24
126
+ - 32
127
+ - 48
128
+ - 64
129
+ - 96
130
+
131
+ border_radius:
132
+ sm: "4px"
133
+ md: "8px"
134
+ lg: "12px"
135
+ full: "9999px"
136
+
137
+ shadows:
138
+ sm: "0 1px 2px rgba(0, 0, 0, 0.05)"
139
+ md: "0 4px 6px rgba(0, 0, 0, 0.1)"
140
+ lg: "0 10px 15px rgba(0, 0, 0, 0.1)"
141
+
142
+ animations:
143
+ durations:
144
+ fast: "150ms"
145
+ normal: "200ms"
146
+ slow: "300ms"
147
+ easing:
148
+ default: "ease-in-out"
149
+ bounce: "cubic-bezier(0.68, -0.55, 0.265, 1.55)"
150
+ component_animations:
151
+ button_hover: "scale + shadow"
152
+ card_hover: "translateY + shadow"
153
+ scroll_animations:
154
+ enabled: true
155
+ patterns:
156
+ - "fade-in"
157
+ - "parallax"
158
+ - "stacking-cards"
159
+
160
+ theme:
161
+ name: "Travel & Adventure"
162
+ decorative_elements:
163
+ - "world maps"
164
+ - "compass icons"
165
+ - "destination pins"
166
+ avoid_elements:
167
+ - "corporate icons"
168
+ - "generic stock photos"
169
+ ```
170
+
171
+ ---
172
+
173
+ ## Section Descriptions
174
+
175
+ | Section | Purpose |
176
+ |---------|---------|
177
+ | `meta` | File metadata (generated date, source) |
178
+ | `psychology` | UX/UI psychology analysis from extraction |
179
+ | `style` | Design style classification |
180
+ | `colors` | Color tokens with variants |
181
+ | `typography` | Font families, weights, sizes |
182
+ | `spacing` | Grid system and scale |
183
+ | `border_radius` | Radius values |
184
+ | `shadows` | Shadow levels |
185
+ | `animations` | Animation settings |
186
+ | `theme` | Decorative direction |
187
+
188
+ ---
189
+
190
+ ## Usage by Agents
191
+
192
+ ```markdown
193
+ # In agent workflow
194
+
195
+ ## STEP 0.5: Load Design System
196
+
197
+ Read: design-system/data.yaml
198
+
199
+ Extract:
200
+ - colors.primary.DEFAULT → For buttons, links
201
+ - typography.font_family.sans → For all text
202
+ - spacing.scale → For padding/margin values
203
+ - animations.durations → For transitions
204
+ - theme.decorative_elements → For landing pages
205
+ ```