File contents Design
⚠️ CRITICAL RULES - READ FIRST
CHECK EXISTING DESIGNS : Always check docs/reference/frontend/designs/ first
READ DESIGN SYSTEM : Must read docs/reference/frontend/design-system.md before designing
READ CONSTRAINTS : Must read docs/reference/frontend/constraints.md for tech stack
SAVE TO CORRECT PATH : docs/reference/frontend/designs/{name}.md
Language Configuration
Before generating any content, check aico.json in project root for language field to determine the output language. If not set, default to English.
Process
Read design system : Load docs/reference/frontend/design-system.md
Read constraints : Load docs/reference/frontend/constraints.md
Read PRD/story : Load the source document from docs/reference/pm/
For each page/feature :
Define user flow (entry → actions → outcome)
Create ASCII layout
List all components with variants and props
Write content/copy
Document all interactions
Generate frontend prompt
Save output : ALWAYS write to docs/reference/frontend/designs/{name}.md
Design File Template
# [Name] Design Spec
> Project: [project-name]
> Created: YYYY-MM-DD
> Last Updated: YYYY-MM-DD
## User Flow
1. User enters from [entry point]
2. User sees [initial state]
3. User can [actions]
4. Success: [outcome]
## Layout (ASCII)
┌─────────────────────────────────────┐
│ Header │
├─────────────────────────────────────┤
│ Content │
└─────────────────────────────────────┘
## Sections
### 1. [Section Name]
- **Purpose**: What this section achieves
- **Components**: List of UI components used
- **Content**: Actual text/copy
- **Design notes**: Specific styling details
## Component List
| Component | Variants | Props | Notes |
| --------- | ------------------ | -------------- | ------------ |
| Button | primary, secondary | size, disabled | Use for CTAs |
## Responsive
- **Desktop**: [layout notes]
- **Tablet**: [layout notes]
- **Mobile**: [layout notes]
## Interactions
| Trigger | Action | Feedback |
| --------- | ----------- | ---------------------------- |
| Click CTA | Submit form | Show loading → success toast |
---
## Frontend Prompt
<context>
You are implementing [page/component name] for [project].
</context>
<constraints>
Read and follow:
- Design system: docs/reference/frontend/design-system.md
- Frontend constraints: docs/reference/frontend/constraints.md
</constraints>
<requirements>
1. Follow the design system tokens exactly
2. Implement all sections as specified
3. Handle all responsive breakpoints
4. Implement all interactions listed
</requirements>
Key Rules
ALWAYS define user flow with entry point and success state
MUST list specific props and variants for each component
ALWAYS document all triggers and feedback for interactions
Reference design system, don't duplicate it
Common Mistakes
❌ Skip user flow → ✅ Always define entry point and success state
❌ Vague component specs → ✅ List specific props and variants
❌ Forget interactions → ✅ Document all triggers and feedback
❌ Duplicate design system → ✅ Reference it, don't copy
1 --- 2 name: aico-frontend-design 3 description: Aico Frontend Design 4 --- 5
6 # Design
7
8 ## ⚠️ CRITICAL RULES - READ FIRST
9
10 1. **CHECK EXISTING DESIGNS**: Always check `docs/reference/frontend/designs/` first
11 2. **READ DESIGN SYSTEM**: Must read `docs/reference/frontend/design-system.md` before designing
12 3. **READ CONSTRAINTS**: Must read `docs/reference/frontend/constraints.md` for tech stack
13 4. **SAVE TO CORRECT PATH**: `docs/reference/frontend/designs/{name}.md`
14
15 ## Language Configuration
16
17 Before generating any content, check `aico.json` in project root for `language` field to determine the output language. If not set, default to English.
18
19 ## Process
20
21 1. **Read design system**: Load `docs/reference/frontend/design-system.md`
22 2. **Read constraints**: Load `docs/reference/frontend/constraints.md`
23 3. **Read PRD/story**: Load the source document from `docs/reference/pm/`
24 4. **For each page/feature**:
25 - Define user flow (entry → actions → outcome)
26 - Create ASCII layout
27 - List all components with variants and props
28 - Write content/copy
29 - Document all interactions
30 - Generate frontend prompt
31 5. **Save output**: ALWAYS write to `docs/reference/frontend/designs/{name}.md`
32
33 ## Design File Template
34
35 ```markdown
36 # [Name] Design Spec
37
38 > Project: [project-name]
39 > Created: YYYY-MM-DD
40 > Last Updated: YYYY-MM-DD
41
42 ## User Flow
43
44 1. User enters from [entry point]
45 2. User sees [initial state]
46 3. User can [actions]
47 4. Success: [outcome]
48
49 ## Layout (ASCII)
50
51 ┌─────────────────────────────────────┐
52 │ Header │
53 ├─────────────────────────────────────┤
54 │ Content │
55 └─────────────────────────────────────┘
56
57 ## Sections
58
59 ### 1. [Section Name]
60
61 - **Purpose**: What this section achieves
62 - **Components**: List of UI components used
63 - **Content**: Actual text/copy
64 - **Design notes**: Specific styling details
65
66 ## Component List
67
68 | Component | Variants | Props | Notes |
69 | --------- | ------------------ | -------------- | ------------ |
70 | Button | primary, secondary | size, disabled | Use for CTAs |
71
72 ## Responsive
73
74 - **Desktop**: [layout notes]
75 - **Tablet**: [layout notes]
76 - **Mobile**: [layout notes]
77
78 ## Interactions
79
80 | Trigger | Action | Feedback |
81 | --------- | ----------- | ---------------------------- |
82 | Click CTA | Submit form | Show loading → success toast |
83
84 ---
85
86 ## Frontend Prompt
87
88 <context>
89 You are implementing [page/component name] for [project].
90 </context>
91
92 <constraints>
93 Read and follow:
94 - Design system: docs/reference/frontend/design-system.md
95 - Frontend constraints: docs/reference/frontend/constraints.md
96 </constraints>
97
98 <requirements>
99 1. Follow the design system tokens exactly
100 2. Implement all sections as specified
101 3. Handle all responsive breakpoints
102 4. Implement all interactions listed
103 </requirements>
104 ```
105
106 ## Key Rules
107
108 - ALWAYS define user flow with entry point and success state
109 - MUST list specific props and variants for each component
110 - ALWAYS document all triggers and feedback for interactions
111 - Reference design system, don't duplicate it
112
113 ## Common Mistakes
114
115 - ❌ Skip user flow → ✅ Always define entry point and success state
116 - ❌ Vague component specs → ✅ List specific props and variants
117 - ❌ Forget interactions → ✅ Document all triggers and feedback
118 - ❌ Duplicate design system → ✅ Reference it, don't copy
majiayu000/claude-skill-registry-data/tree/main/data/aico-frontend-design commit 7b7d7c1f8d
Frequently asked questions How do I install the Aico Frontend Design skill? Run npx skillmds add majiayu000/aico-frontend-design in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Aico Frontend Design skill do? Aico Frontend Design It is listed under Web & Frontend on SkillMD.
Is Aico Frontend Design safe to use? This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Aico Frontend Design? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Aico Frontend Design free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Aico Frontend Design? majiayu000 (@majiayu000) published this skill. Their other Agent Skills are listed on their SkillMD profile.