You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugin/skills/elaborate-wireframes/SKILL.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
description: (Internal) Autonomous wireframe generation for AI-DLC elaboration frontend units
2
+
description: (Internal) Autonomous wireframe generation for AI-DLC elaboration frontend and design units
3
3
context: fork
4
4
agent: general-purpose
5
5
user-invocable: false
@@ -27,7 +27,7 @@ allowed-tools:
27
27
28
28
# Elaborate: Wireframe Generation
29
29
30
-
Autonomous wireframe generation for AI-DLC elaboration frontend units. This skill runs as a forked subagent — it reads a brief file from disk, generates low-fidelity HTML wireframes, and writes results to disk.
30
+
Autonomous wireframe generation for AI-DLC elaboration frontend and design units. This skill runs as a forked subagent — it reads a brief file from disk, generates low-fidelity HTML wireframes, and writes results to disk.
31
31
32
32
**You have NO access to `AskUserQuestion`.** All work is fully autonomous. The main elaboration skill will present wireframes to product for review.
33
33
@@ -47,7 +47,7 @@ design_provider_type: figma # or empty
47
47
```
48
48
49
49
The markdown body contains:
50
-
- **Frontend Units**: List of frontend units with their file paths, descriptions, domain entities, and technical specs
50
+
- **Frontend & Design Units**: List of frontend and design units with their file paths, descriptions, domain entities, and technical specs
51
51
- **Design Context**: Design analysis findings from discovery.md (if any)
52
52
- **Domain Model Reference**: Abbreviated domain model for context
53
53
@@ -57,7 +57,7 @@ The markdown body contains:
57
57
cd "{worktree_path}"
58
58
```
59
59
60
-
**If no frontend units are listed in the brief**, write results with `status: skipped` and exit immediately.
60
+
**If no frontend or design units are listed in the brief**, write results with `status: skipped` and exit immediately.
**CRITICAL: If your output only shows the unit title or frontmatter without the body sections (Description, Technical Specification, Success Criteria, etc.), you have truncated the output. Go back and display the full file.**
1090
1090
1091
-
**Step C — If the unit has `discipline: frontend`, open its wireframe in the browser** so the user can review the visual alongside the spec:
1091
+
**Step C — If the unit has `discipline: frontend` or `discipline: design`, open its wireframe in the browser** so the user can review the visual alongside the spec:
1092
1092
1093
1093
```bash
1094
-
# Only for frontend units — open the wireframe if it exists
1094
+
# Only for frontend or design units — open the wireframe if it exists
**Skip this phase entirely if no units have `discipline: frontend` in their frontmatter.**
1163
+
**Skip this phase entirely if no units have `discipline: frontend`or `discipline: design`in their frontmatter.**
1164
1164
1165
-
Wireframe generation runs in a forked subagent. The subagent generates low-fidelity HTML wireframes for all frontend units, updates unit frontmatter, and commits the artifacts.
1165
+
Wireframe generation runs in a forked subagent. The subagent generates low-fidelity HTML wireframes for all frontend and design units, updates unit frontmatter, and commits the artifacts.
1166
1166
1167
-
### Step 1: Identify frontend units
1167
+
### Step 1: Identify frontend and design units
1168
1168
1169
-
Scan all `unit-*.md` files in `.ai-dlc/{intent-slug}/`. Collect units where frontmatter contains `discipline: frontend`.
1169
+
Scan all `unit-*.md` files in `.ai-dlc/{intent-slug}/`. Collect units where frontmatter contains `discipline: frontend` or `discipline: design`.
1170
1170
1171
-
If no frontend units exist, skip to Phase 6.5.
1171
+
If no frontend or design units exist, skip to Phase 6.5.
1172
1172
1173
1173
### Step 2: Load design provider config
1174
1174
@@ -1190,9 +1190,9 @@ intent_title: {Intent Title from intent.md}
git commit -m "elaborate(${INTENT_SLUG}): generate frontend and design wireframes"
1241
1241
```
1242
1242
1243
1243
### Step 6: Product review gate
@@ -1247,7 +1247,7 @@ Present all generated wireframes to product for review using `AskUserQuestion`:
1247
1247
```json
1248
1248
{
1249
1249
"questions": [{
1250
-
"question": "I've generated low-fidelity wireframes for the frontend units. Please open them in a browser to review screen structure, flow, and placeholder copy. How do they look?",
1250
+
"question": "I've generated low-fidelity wireframes for the frontend and design units. Please open them in a browser to review screen structure, flow, and placeholder copy. How do they look?",
1251
1251
"header": "Wireframes",
1252
1252
"options": [
1253
1253
{"label": "Approved", "description": "Wireframes accurately capture the intended screens, flows, and copy"},
0 commit comments