Skip to content

Commit 8b1e653

Browse files
authored
Merge pull request TheBushidoCollective#19 from TheBushidoCollective/hampton/design-unit-template
feat(elaborate): add design-specific unit template sections
2 parents 3a1a6f7 + ef67955 commit 8b1e653

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed

plugin/skills/elaborate/SKILL.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1181,12 +1181,74 @@ misinterpret what to build.}
11811181
{Implementation hints, context, pitfalls to avoid}
11821182
```
11831183

1184+
> **Template selection by discipline:** For `discipline: design` units, use the design template below (Design Deliverables, States to Cover, Constraints, Design Tokens Reference). For all other disciplines (`frontend`, `backend`, `api`, `documentation`, `devops`, etc.), use the standard template above (Domain Entities, Data Sources, Technical Specification).
1185+
1186+
#### Design unit file template:
1187+
1188+
When a unit has `discipline: design`, use this template instead of the standard one above:
1189+
1190+
```markdown
1191+
---
1192+
status: pending
1193+
depends_on: []
1194+
branch: ai-dlc/{intent-slug}/NN-{unit-slug}
1195+
discipline: design
1196+
pass: "" # Which pass this unit belongs to (design, product, dev) — empty for single-pass intents
1197+
workflow: "" # Per-unit workflow override (optional — omit or leave empty to use intent-level workflow)
1198+
ticket: "" # Ticketing provider ticket key (auto-populated if ticketing provider configured)
1199+
# git: # Optional: per-unit VCS override (only include when unit has an override)
1200+
# change_strategy: "" # Overrides intent-level strategy for this unit (e.g., "unit" for foundational units)
1201+
---
1202+
1203+
# unit-NN-{slug}
1204+
1205+
## Description
1206+
{What screens, components, or flows to design}
1207+
1208+
## Discipline
1209+
design - This unit will be executed by design-focused agents.
1210+
1211+
## Design Deliverables
1212+
- {Screen layouts, component specs, interaction flows, responsive rules}
1213+
- {List each deliverable expected from this unit}
1214+
1215+
## States to Cover
1216+
- Default (happy path)
1217+
- Empty state
1218+
- Loading state
1219+
- Error state
1220+
- {Other states relevant to this unit}
1221+
1222+
## Constraints
1223+
- {Design system to follow (e.g., specific tokens, component library)}
1224+
- {Accessibility requirements (WCAG level, contrast ratios, touch targets)}
1225+
- {Brand guidelines or visual boundaries}
1226+
- {Responsive breakpoints to support}
1227+
1228+
## Design Tokens Reference
1229+
- {Color tokens, spacing scale, typography scale from the design system}
1230+
- {Reference to design system documentation if available}
1231+
1232+
## Success Criteria
1233+
- [ ] {Design-focused criteria — visual approval, responsive coverage, state coverage}
1234+
1235+
## Risks
1236+
- **{Risk}**: {impact}. Mitigation: {how to address it}.
1237+
1238+
## Boundaries
1239+
{What this unit does NOT handle. Reference which other units own related concerns.}
1240+
1241+
## Notes
1242+
{Implementation hints, context, pitfalls to avoid}
1243+
```
1244+
11841245
**Discipline determines which specialized agents execute the unit:**
11851246
- `frontend``do-frontend-development` agents
11861247
- `backend` → backend-focused agents
11871248
- `api` → API development agents
11881249
- `documentation``do-technical-documentation` agents
11891250
- `devops` → infrastructure/deployment agents
1251+
- `design` → design-focused agents
11901252

11911253
#### Per-unit review loop:
11921254

0 commit comments

Comments
 (0)