Skip to content

Commit ef67955

Browse files
jwaldripclaude
andcommitted
feat(elaborate): add design-specific unit template sections
Design units (discipline: design) now get a template with Design Deliverables, States to Cover, Constraints, and Design Tokens Reference instead of dev-focused sections. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c0349b7 commit ef67955

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
@@ -1022,12 +1022,74 @@ misinterpret what to build.}
10221022
{Implementation hints, context, pitfalls to avoid}
10231023
```
10241024

1025+
> **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).
1026+
1027+
#### Design unit file template:
1028+
1029+
When a unit has `discipline: design`, use this template instead of the standard one above:
1030+
1031+
```markdown
1032+
---
1033+
status: pending
1034+
depends_on: []
1035+
branch: ai-dlc/{intent-slug}/NN-{unit-slug}
1036+
discipline: design
1037+
pass: "" # Which pass this unit belongs to (design, product, dev) — empty for single-pass intents
1038+
workflow: "" # Per-unit workflow override (optional — omit or leave empty to use intent-level workflow)
1039+
ticket: "" # Ticketing provider ticket key (auto-populated if ticketing provider configured)
1040+
# git: # Optional: per-unit VCS override (only include when unit has an override)
1041+
# change_strategy: "" # Overrides intent-level strategy for this unit (e.g., "unit" for foundational units)
1042+
---
1043+
1044+
# unit-NN-{slug}
1045+
1046+
## Description
1047+
{What screens, components, or flows to design}
1048+
1049+
## Discipline
1050+
design - This unit will be executed by design-focused agents.
1051+
1052+
## Design Deliverables
1053+
- {Screen layouts, component specs, interaction flows, responsive rules}
1054+
- {List each deliverable expected from this unit}
1055+
1056+
## States to Cover
1057+
- Default (happy path)
1058+
- Empty state
1059+
- Loading state
1060+
- Error state
1061+
- {Other states relevant to this unit}
1062+
1063+
## Constraints
1064+
- {Design system to follow (e.g., specific tokens, component library)}
1065+
- {Accessibility requirements (WCAG level, contrast ratios, touch targets)}
1066+
- {Brand guidelines or visual boundaries}
1067+
- {Responsive breakpoints to support}
1068+
1069+
## Design Tokens Reference
1070+
- {Color tokens, spacing scale, typography scale from the design system}
1071+
- {Reference to design system documentation if available}
1072+
1073+
## Success Criteria
1074+
- [ ] {Design-focused criteria — visual approval, responsive coverage, state coverage}
1075+
1076+
## Risks
1077+
- **{Risk}**: {impact}. Mitigation: {how to address it}.
1078+
1079+
## Boundaries
1080+
{What this unit does NOT handle. Reference which other units own related concerns.}
1081+
1082+
## Notes
1083+
{Implementation hints, context, pitfalls to avoid}
1084+
```
1085+
10251086
**Discipline determines which specialized agents execute the unit:**
10261087
- `frontend``do-frontend-development` agents
10271088
- `backend` → backend-focused agents
10281089
- `api` → API development agents
10291090
- `documentation``do-technical-documentation` agents
10301091
- `devops` → infrastructure/deployment agents
1092+
- `design` → design-focused agents
10311093

10321094
#### Per-unit review loop:
10331095

0 commit comments

Comments
 (0)