design-protocol 1.0.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.
- package/LICENSE +21 -0
- package/README.md +225 -0
- package/agents/dp-researcher.md +239 -0
- package/agents/dp-verifier.md +207 -0
- package/bin/install.js +464 -0
- package/commands/dp-back.md +221 -0
- package/commands/dp-discuss.md +257 -0
- package/commands/dp-execute.md +513 -0
- package/commands/dp-journey.md +85 -0
- package/commands/dp-progress.md +178 -0
- package/commands/dp-roadmap.md +83 -0
- package/commands/dp-skip.md +186 -0
- package/commands/dp-start.md +510 -0
- package/commands/dp-storytell.md +94 -0
- package/commands/dp-verify.md +207 -0
- package/package.json +59 -0
- package/skills/dp-color/SKILL.md +214 -0
- package/skills/dp-color/export_tokens.py +297 -0
- package/skills/dp-color/references/apca-contrast.md +87 -0
- package/skills/dp-color/references/hue-emotions.md +109 -0
- package/skills/dp-color/references/oklch-gamut.md +79 -0
- package/skills/dp-color/references/pitfalls.md +171 -0
- package/skills/dp-color/references/scale-patterns.md +206 -0
- package/skills/dp-color/references/tool-workflows.md +200 -0
- package/skills/dp-discovery/SKILL.md +480 -0
- package/skills/dp-eng_review/SKILL.md +471 -0
- package/skills/dp-eng_review/references/code-review-checklist.md +385 -0
- package/skills/dp-eng_review/references/react-patterns.md +512 -0
- package/skills/dp-eng_review/references/shadcn-patterns.md +510 -0
- package/skills/dp-eng_review/references/tailwind-conventions.md +351 -0
- package/skills/dp-journey/SKILL.md +682 -0
- package/skills/dp-journey/references/journey-types.md +97 -0
- package/skills/dp-journey/references/map-structures.md +177 -0
- package/skills/dp-journey/references/omnichannel-patterns.md +208 -0
- package/skills/dp-journey/references/research-methods.md +125 -0
- package/skills/dp-prd/SKILL.md +201 -0
- package/skills/dp-prd/references/claude-code-spec.md +107 -0
- package/skills/dp-prd/references/interview-questions.md +158 -0
- package/skills/dp-prd/references/section-templates.md +231 -0
- package/skills/dp-research/SKILL.md +540 -0
- package/skills/dp-research/references/facilitation-guide.md +291 -0
- package/skills/dp-research/references/interview-guide-template.md +190 -0
- package/skills/dp-research/references/method-selection.md +195 -0
- package/skills/dp-research/references/question-writing.md +244 -0
- package/skills/dp-research/references/research-report-template.md +363 -0
- package/skills/dp-research/references/synthesis-methods.md +289 -0
- package/skills/dp-research/references/usability-test-template.md +260 -0
- package/skills/dp-roadmap/SKILL.md +648 -0
- package/skills/dp-roadmap/references/prioritization-frameworks.md +312 -0
- package/skills/dp-roadmap/references/roadmap-structures.md +179 -0
- package/skills/dp-roadmap/references/roadmap-workshops.md +264 -0
- package/skills/dp-roadmap/references/theme-development.md +168 -0
- package/skills/dp-storytell/SKILL.md +645 -0
- package/skills/dp-storytell/references/audience-playbooks.md +260 -0
- package/skills/dp-storytell/references/content-type-templates.md +310 -0
- package/skills/dp-storytell/references/delivery-tactics.md +228 -0
- package/skills/dp-storytell/references/narrative-frameworks.md +259 -0
- package/skills/dp-ui/SKILL.md +503 -0
- package/skills/dp-ui/references/b2b-enterprise-patterns.md +319 -0
- package/skills/dp-ui/references/data-visualization.md +304 -0
- package/skills/dp-ui/references/visual-design-principles.md +237 -0
- package/skills/dp-ux/SKILL.md +414 -0
- package/skills/dp-ux/references/accessibility-checklist.md +128 -0
- package/skills/dp-ux/references/product-excellence.md +149 -0
- package/skills/dp-ux/references/usability-principles.md +140 -0
- package/skills/dp-ux/references/ux-patterns.md +221 -0
- package/templates/config.json +55 -0
- package/templates/context.md +96 -0
- package/templates/project.md +83 -0
- package/templates/requirements.md +137 -0
- package/templates/roadmap.md +168 -0
- package/templates/state.md +107 -0
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# Phase Context: [PHASE_NAME]
|
|
2
|
+
|
|
3
|
+
> Captured: [TIMESTAMP]
|
|
4
|
+
> Phase: [PHASE_NUMBER] — [PHASE_NAME]
|
|
5
|
+
|
|
6
|
+
## Pre-Phase Discussion
|
|
7
|
+
|
|
8
|
+
> Decisions and context captured before running the phase skill
|
|
9
|
+
|
|
10
|
+
### What We're Working On
|
|
11
|
+
> Brief description of the focus for this phase
|
|
12
|
+
|
|
13
|
+
### Gray Areas Resolved
|
|
14
|
+
|
|
15
|
+
> Questions that were unclear before starting, now answered
|
|
16
|
+
|
|
17
|
+
| Question | Answer | Decided By |
|
|
18
|
+
|----------|--------|------------|
|
|
19
|
+
| | | |
|
|
20
|
+
|
|
21
|
+
### Assumptions Made
|
|
22
|
+
|
|
23
|
+
> Things we're assuming to be true for this phase
|
|
24
|
+
|
|
25
|
+
1.
|
|
26
|
+
2.
|
|
27
|
+
3.
|
|
28
|
+
|
|
29
|
+
### Constraints Acknowledged
|
|
30
|
+
|
|
31
|
+
> Limitations we're working within
|
|
32
|
+
|
|
33
|
+
-
|
|
34
|
+
-
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Design Direction
|
|
39
|
+
|
|
40
|
+
### Preferred Approach
|
|
41
|
+
> If multiple approaches exist, which direction are we taking?
|
|
42
|
+
|
|
43
|
+
### Rejected Alternatives
|
|
44
|
+
> What did we consider but decide against, and why?
|
|
45
|
+
|
|
46
|
+
| Alternative | Why Rejected |
|
|
47
|
+
|-------------|--------------|
|
|
48
|
+
| | |
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Inputs for This Phase
|
|
53
|
+
|
|
54
|
+
### From Previous Phase
|
|
55
|
+
> Key context carried forward
|
|
56
|
+
|
|
57
|
+
-
|
|
58
|
+
|
|
59
|
+
### New Information
|
|
60
|
+
> Anything new since the last phase
|
|
61
|
+
|
|
62
|
+
-
|
|
63
|
+
|
|
64
|
+
### User/Stakeholder Input
|
|
65
|
+
> Relevant feedback or requests
|
|
66
|
+
|
|
67
|
+
-
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## Expected Outputs
|
|
72
|
+
|
|
73
|
+
### Must Produce
|
|
74
|
+
- [ ]
|
|
75
|
+
|
|
76
|
+
### Should Produce
|
|
77
|
+
- [ ]
|
|
78
|
+
|
|
79
|
+
### Nice to Have
|
|
80
|
+
- [ ]
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## Open Questions
|
|
85
|
+
|
|
86
|
+
> Questions that remain unanswered going into this phase
|
|
87
|
+
|
|
88
|
+
1.
|
|
89
|
+
2.
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## Notes
|
|
94
|
+
|
|
95
|
+
> Any additional context that might be helpful
|
|
96
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# Design Project: [PROJECT_NAME]
|
|
2
|
+
|
|
3
|
+
> Created: [DATE]
|
|
4
|
+
> Status: [not_started | in_progress | complete]
|
|
5
|
+
|
|
6
|
+
## Design Vision
|
|
7
|
+
|
|
8
|
+
**One-liner:** [What is this and why does it matter?]
|
|
9
|
+
|
|
10
|
+
**Core Value Proposition:**
|
|
11
|
+
> What unique value does this design deliver to users?
|
|
12
|
+
|
|
13
|
+
## Target Users
|
|
14
|
+
|
|
15
|
+
### Primary User
|
|
16
|
+
| Attribute | Description |
|
|
17
|
+
|-----------|-------------|
|
|
18
|
+
| Role | |
|
|
19
|
+
| Goals | |
|
|
20
|
+
| Pain Points | |
|
|
21
|
+
| Expertise Level | |
|
|
22
|
+
| Usage Context | |
|
|
23
|
+
|
|
24
|
+
### Secondary Users
|
|
25
|
+
| Role | Relationship to Primary | Key Needs |
|
|
26
|
+
|------|------------------------|-----------|
|
|
27
|
+
| | | |
|
|
28
|
+
|
|
29
|
+
## Design Principles
|
|
30
|
+
|
|
31
|
+
> What principles guide design decisions for this project?
|
|
32
|
+
|
|
33
|
+
1. **[Principle 1]** — [Brief explanation]
|
|
34
|
+
2. **[Principle 2]** — [Brief explanation]
|
|
35
|
+
3. **[Principle 3]** — [Brief explanation]
|
|
36
|
+
|
|
37
|
+
## Constraints
|
|
38
|
+
|
|
39
|
+
### Technical Constraints
|
|
40
|
+
-
|
|
41
|
+
|
|
42
|
+
### Brand/Visual Constraints
|
|
43
|
+
-
|
|
44
|
+
|
|
45
|
+
### Timeline Constraints
|
|
46
|
+
-
|
|
47
|
+
|
|
48
|
+
### Business Constraints
|
|
49
|
+
-
|
|
50
|
+
|
|
51
|
+
## Success Criteria
|
|
52
|
+
|
|
53
|
+
| Metric | Current | Target | How Measured |
|
|
54
|
+
|--------|---------|--------|--------------|
|
|
55
|
+
| | | | |
|
|
56
|
+
|
|
57
|
+
## Key Decisions
|
|
58
|
+
|
|
59
|
+
> Log major design decisions here as they're made
|
|
60
|
+
|
|
61
|
+
| Date | Phase | Decision | Rationale | Decided By |
|
|
62
|
+
|------|-------|----------|-----------|------------|
|
|
63
|
+
| | | | | |
|
|
64
|
+
|
|
65
|
+
## References
|
|
66
|
+
|
|
67
|
+
- [Link to existing designs]
|
|
68
|
+
- [Link to brand guidelines]
|
|
69
|
+
- [Link to competitor examples]
|
|
70
|
+
- [Link to inspiration]
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## Scope
|
|
75
|
+
|
|
76
|
+
### In Scope
|
|
77
|
+
-
|
|
78
|
+
|
|
79
|
+
### Out of Scope
|
|
80
|
+
-
|
|
81
|
+
|
|
82
|
+
### Future Considerations
|
|
83
|
+
-
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# Design Requirements: [PROJECT_NAME]
|
|
2
|
+
|
|
3
|
+
> Created: [DATE]
|
|
4
|
+
> Last Updated: [DATE]
|
|
5
|
+
|
|
6
|
+
## Requirements Overview
|
|
7
|
+
|
|
8
|
+
| Category | Total | Complete | Verified |
|
|
9
|
+
|----------|-------|----------|----------|
|
|
10
|
+
| Usability | 0 | 0 | 0 |
|
|
11
|
+
| Accessibility | 0 | 0 | 0 |
|
|
12
|
+
| Visual | 0 | 0 | 0 |
|
|
13
|
+
| Technical | 0 | 0 | 0 |
|
|
14
|
+
| **Total** | **0** | **0** | **0** |
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Usability Requirements
|
|
19
|
+
|
|
20
|
+
> Requirements for intuitive, efficient user experience
|
|
21
|
+
|
|
22
|
+
| ID | Requirement | Priority | Phase | Status | Verified |
|
|
23
|
+
|----|-------------|----------|-------|--------|----------|
|
|
24
|
+
| UX-01 | | must | | pending | |
|
|
25
|
+
| UX-02 | | should | | pending | |
|
|
26
|
+
|
|
27
|
+
### Usability Principles Applied
|
|
28
|
+
- [ ] Clarity over cleverness
|
|
29
|
+
- [ ] Cognitive load managed
|
|
30
|
+
- [ ] Feedback for all actions
|
|
31
|
+
- [ ] Error prevention > error messages
|
|
32
|
+
- [ ] Consistency maintained
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Accessibility Requirements
|
|
37
|
+
|
|
38
|
+
> WCAG 2.1 AA compliance requirements
|
|
39
|
+
|
|
40
|
+
| ID | Requirement | WCAG | Priority | Phase | Status | Verified |
|
|
41
|
+
|----|-------------|------|----------|-------|--------|----------|
|
|
42
|
+
| A11Y-01 | All images have alt text | 1.1.1 | must | ui | pending | |
|
|
43
|
+
| A11Y-02 | All interactive elements keyboard accessible | 2.1.1 | must | ux | pending | |
|
|
44
|
+
| A11Y-03 | Color is not only indicator | 1.4.1 | must | ui | pending | |
|
|
45
|
+
| A11Y-04 | Focus states visible | 2.4.7 | must | ui | pending | |
|
|
46
|
+
| A11Y-05 | Touch targets ≥44x44px | 2.5.5 | should | ui | pending | |
|
|
47
|
+
| A11Y-06 | Form inputs have labels | 1.3.1 | must | ux | pending | |
|
|
48
|
+
|
|
49
|
+
### Accessibility Checklist
|
|
50
|
+
- [ ] Screen reader compatible
|
|
51
|
+
- [ ] Keyboard navigation complete
|
|
52
|
+
- [ ] Sufficient color contrast
|
|
53
|
+
- [ ] Focus management proper
|
|
54
|
+
- [ ] Error messages accessible
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## Visual Requirements
|
|
59
|
+
|
|
60
|
+
> Requirements for visual design and consistency
|
|
61
|
+
|
|
62
|
+
| ID | Requirement | Priority | Phase | Status | Verified |
|
|
63
|
+
|----|-------------|----------|-------|--------|----------|
|
|
64
|
+
| VIS-01 | Follows 8px grid system | must | ui | pending | |
|
|
65
|
+
| VIS-02 | Clear visual hierarchy | must | ui | pending | |
|
|
66
|
+
| VIS-03 | Consistent spacing | must | ui | pending | |
|
|
67
|
+
| VIS-04 | Design tokens used | should | ui | pending | |
|
|
68
|
+
|
|
69
|
+
### Visual Principles Applied
|
|
70
|
+
- [ ] Visual hierarchy established
|
|
71
|
+
- [ ] Gestalt principles applied
|
|
72
|
+
- [ ] Whitespace effective
|
|
73
|
+
- [ ] Grid system consistent
|
|
74
|
+
- [ ] Typography scale applied
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## Technical Requirements
|
|
79
|
+
|
|
80
|
+
> Requirements that impact implementation
|
|
81
|
+
|
|
82
|
+
| ID | Requirement | Priority | Phase | Status | Verified |
|
|
83
|
+
|----|-------------|----------|-------|--------|----------|
|
|
84
|
+
| TECH-01 | | must | | pending | |
|
|
85
|
+
| TECH-02 | | should | | pending | |
|
|
86
|
+
|
|
87
|
+
### Implementation Notes
|
|
88
|
+
- Framework: [React/Next.js/etc.]
|
|
89
|
+
- Component Library: [shadcn/ui/etc.]
|
|
90
|
+
- Styling: [Tailwind/etc.]
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## State Coverage Requirements
|
|
95
|
+
|
|
96
|
+
> All required UI states
|
|
97
|
+
|
|
98
|
+
| Component | Default | Hover | Focus | Active | Disabled | Loading | Error | Empty | Success |
|
|
99
|
+
|-----------|---------|-------|-------|--------|----------|---------|-------|-------|---------|
|
|
100
|
+
| | ▢ | ▢ | ▢ | ▢ | ▢ | ▢ | ▢ | ▢ | ▢ |
|
|
101
|
+
|
|
102
|
+
**Legend:** ▢ = not specified, ◐ = partial, ● = complete
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## Traceability Matrix
|
|
107
|
+
|
|
108
|
+
> Track which requirements are addressed by which phase outputs
|
|
109
|
+
|
|
110
|
+
| Requirement | Discovery | UX | UI | Review |
|
|
111
|
+
|-------------|-----------|----|----|--------|
|
|
112
|
+
| UX-01 | | | | |
|
|
113
|
+
| A11Y-01 | | | | |
|
|
114
|
+
| VIS-01 | | | | |
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
## Verification Status
|
|
119
|
+
|
|
120
|
+
### Discovery Phase
|
|
121
|
+
- [ ] Requirements captured in DISCOVERY.md
|
|
122
|
+
- [ ] Success metrics defined
|
|
123
|
+
|
|
124
|
+
### UX Phase
|
|
125
|
+
- [ ] User flows address all UX requirements
|
|
126
|
+
- [ ] All states specified
|
|
127
|
+
- [ ] Accessibility requirements planned
|
|
128
|
+
|
|
129
|
+
### UI Phase
|
|
130
|
+
- [ ] Visual requirements met
|
|
131
|
+
- [ ] Accessibility visuals specified
|
|
132
|
+
- [ ] Design tokens documented
|
|
133
|
+
|
|
134
|
+
### Review Phase
|
|
135
|
+
- [ ] All requirements verified in implementation
|
|
136
|
+
- [ ] Quality score meets threshold
|
|
137
|
+
- [ ] No critical issues remaining
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
# Design Roadmap: [PROJECT_NAME]
|
|
2
|
+
|
|
3
|
+
> Created: [DATE]
|
|
4
|
+
> Target Completion: [DATE]
|
|
5
|
+
|
|
6
|
+
## Overview
|
|
7
|
+
|
|
8
|
+
```
|
|
9
|
+
Discovery ──► UX ──► UI ──► Review
|
|
10
|
+
│
|
|
11
|
+
└──► Research (optional branch)
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Phase 1: Discovery
|
|
17
|
+
|
|
18
|
+
**Goal:** Transform vague requirements into a bulletproof design brief
|
|
19
|
+
|
|
20
|
+
**Skill:** `/dp:discovery`
|
|
21
|
+
|
|
22
|
+
**Inputs:**
|
|
23
|
+
- Initial requirements or feature request
|
|
24
|
+
- Stakeholder context
|
|
25
|
+
- Existing research (if any)
|
|
26
|
+
|
|
27
|
+
**Outputs:**
|
|
28
|
+
- Problem statement
|
|
29
|
+
- User personas and journey
|
|
30
|
+
- Requirements (must/should/could/must-not)
|
|
31
|
+
- Constraints documented
|
|
32
|
+
- Success metrics defined
|
|
33
|
+
|
|
34
|
+
**Success Criteria:**
|
|
35
|
+
- [ ] Problem is clearly articulated
|
|
36
|
+
- [ ] Primary user is well-defined
|
|
37
|
+
- [ ] Requirements are prioritized
|
|
38
|
+
- [ ] Constraints are documented
|
|
39
|
+
- [ ] Success metrics are measurable
|
|
40
|
+
|
|
41
|
+
**Dependencies:** None (starting phase)
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## Phase 2: UX
|
|
46
|
+
|
|
47
|
+
**Goal:** Apply usability principles to create intuitive user flows and interactions
|
|
48
|
+
|
|
49
|
+
**Skill:** `/dp:ux`
|
|
50
|
+
|
|
51
|
+
**Inputs:**
|
|
52
|
+
- Discovery brief (DISCOVERY.md)
|
|
53
|
+
- Design requirements
|
|
54
|
+
|
|
55
|
+
**Outputs:**
|
|
56
|
+
- User flow diagrams
|
|
57
|
+
- Component behaviors defined
|
|
58
|
+
- All states specified (empty, loading, error, success, etc.)
|
|
59
|
+
- Accessibility requirements
|
|
60
|
+
- Usability patterns applied
|
|
61
|
+
|
|
62
|
+
**Success Criteria:**
|
|
63
|
+
- [ ] User flow is complete end-to-end
|
|
64
|
+
- [ ] All interactive states are defined
|
|
65
|
+
- [ ] Accessibility requirements documented
|
|
66
|
+
- [ ] Usability principles applied with rationale
|
|
67
|
+
- [ ] Component behaviors specified
|
|
68
|
+
|
|
69
|
+
**Dependencies:** Discovery complete
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## Phase 3: UI
|
|
74
|
+
|
|
75
|
+
**Goal:** Apply visual design principles to create polished, professional interface specs
|
|
76
|
+
|
|
77
|
+
**Skill:** `/dp:ui`
|
|
78
|
+
|
|
79
|
+
**Inputs:**
|
|
80
|
+
- Discovery brief (DISCOVERY.md)
|
|
81
|
+
- UX decisions (UX-DECISIONS.md)
|
|
82
|
+
|
|
83
|
+
**Outputs:**
|
|
84
|
+
- Visual hierarchy definitions
|
|
85
|
+
- Grid and spacing specifications
|
|
86
|
+
- Component visual specs with tokens
|
|
87
|
+
- Color and typography usage
|
|
88
|
+
- Animation guidelines
|
|
89
|
+
|
|
90
|
+
**Success Criteria:**
|
|
91
|
+
- [ ] Visual hierarchy is clear (squint test)
|
|
92
|
+
- [ ] 8px grid system applied
|
|
93
|
+
- [ ] Design tokens specified
|
|
94
|
+
- [ ] Components are fully specified
|
|
95
|
+
- [ ] Responsive considerations documented
|
|
96
|
+
|
|
97
|
+
**Dependencies:** UX complete
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## Phase 4: Review
|
|
102
|
+
|
|
103
|
+
**Goal:** Audit implementation for quality, accessibility, and spec alignment
|
|
104
|
+
|
|
105
|
+
**Skill:** `/dp:eng_review`
|
|
106
|
+
|
|
107
|
+
**Inputs:**
|
|
108
|
+
- All previous phase documents
|
|
109
|
+
- Implemented code to review
|
|
110
|
+
|
|
111
|
+
**Outputs:**
|
|
112
|
+
- Quality score (0-100)
|
|
113
|
+
- Issues by severity (critical/serious/moderate)
|
|
114
|
+
- Spec alignment report
|
|
115
|
+
- Recommended fixes
|
|
116
|
+
|
|
117
|
+
**Success Criteria:**
|
|
118
|
+
- [ ] No critical accessibility issues
|
|
119
|
+
- [ ] Quality score meets threshold
|
|
120
|
+
- [ ] Spec alignment verified
|
|
121
|
+
- [ ] All issues have recommended fixes
|
|
122
|
+
|
|
123
|
+
**Dependencies:** UI complete, code implemented
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## Optional: Research
|
|
128
|
+
|
|
129
|
+
**Goal:** Validate assumptions and gather user insights
|
|
130
|
+
|
|
131
|
+
**Skill:** `/dp:research`
|
|
132
|
+
|
|
133
|
+
**When to Include:**
|
|
134
|
+
- Significant unknowns in discovery
|
|
135
|
+
- High-risk design decisions
|
|
136
|
+
- Need user validation before building
|
|
137
|
+
- Existing research is outdated
|
|
138
|
+
|
|
139
|
+
**Inputs:**
|
|
140
|
+
- Research questions (from Discovery "Research Needed" section)
|
|
141
|
+
- Access to target users
|
|
142
|
+
|
|
143
|
+
**Outputs:**
|
|
144
|
+
- Research plan
|
|
145
|
+
- Interview/test materials
|
|
146
|
+
- Research findings
|
|
147
|
+
- Updated design brief (if findings change assumptions)
|
|
148
|
+
|
|
149
|
+
**Can Branch From:** Discovery (most common) or any phase
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
## Milestones
|
|
154
|
+
|
|
155
|
+
| Milestone | Phase | Deliverable | Target Date |
|
|
156
|
+
|-----------|-------|-------------|-------------|
|
|
157
|
+
| Brief Complete | Discovery | DISCOVERY.md | |
|
|
158
|
+
| Flows Complete | UX | UX-DECISIONS.md | |
|
|
159
|
+
| Spec Complete | UI | UI-SPEC.md | |
|
|
160
|
+
| Ready to Ship | Review | REVIEW.md + Score | |
|
|
161
|
+
|
|
162
|
+
---
|
|
163
|
+
|
|
164
|
+
## Risk Register
|
|
165
|
+
|
|
166
|
+
| Risk | Phase | Likelihood | Impact | Mitigation |
|
|
167
|
+
|------|-------|------------|--------|------------|
|
|
168
|
+
| | | | | |
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# DP Workflow State
|
|
2
|
+
|
|
3
|
+
> Last Updated: [TIMESTAMP]
|
|
4
|
+
|
|
5
|
+
## Current Position
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
Phase: [0-4] of 4 ([phase_name])
|
|
9
|
+
Status: [not_started | ready | in_progress | completed | blocked]
|
|
10
|
+
Progress: [░░░░░░░░░░] 0%
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Phase Status
|
|
14
|
+
|
|
15
|
+
| # | Phase | Status | Completed | Output |
|
|
16
|
+
|---|-------|--------|-----------|--------|
|
|
17
|
+
| 1 | Discovery | pending | — | DISCOVERY.md |
|
|
18
|
+
| 2 | UX | pending | — | UX-DECISIONS.md |
|
|
19
|
+
| 2a | Execute | pending | — | Wireframe components |
|
|
20
|
+
| 3 | UI | pending | — | UI-SPEC.md |
|
|
21
|
+
| 3a | Execute | pending | — | Polished components |
|
|
22
|
+
| 4 | Review | pending | — | REVIEW.md |
|
|
23
|
+
|
|
24
|
+
**Optional:**
|
|
25
|
+
| Phase | Status | Output |
|
|
26
|
+
|-------|--------|--------|
|
|
27
|
+
| Research | not_enabled | research/*.md |
|
|
28
|
+
|
|
29
|
+
## Execution Status
|
|
30
|
+
|
|
31
|
+
| Mode | Status | Output Location | Preview URL |
|
|
32
|
+
|------|--------|-----------------|-------------|
|
|
33
|
+
| Wireframe | pending | — | — |
|
|
34
|
+
| Polished | pending | — | — |
|
|
35
|
+
|
|
36
|
+
## Session Continuity
|
|
37
|
+
|
|
38
|
+
### Last Activity
|
|
39
|
+
- **Date:** [TIMESTAMP]
|
|
40
|
+
- **Action:** [What was done]
|
|
41
|
+
- **Phase:** [Which phase]
|
|
42
|
+
- **User:** [Who was working]
|
|
43
|
+
|
|
44
|
+
### What Happened
|
|
45
|
+
> Brief summary of the last session's progress
|
|
46
|
+
|
|
47
|
+
### Where We Left Off
|
|
48
|
+
> Specific next action or decision point
|
|
49
|
+
|
|
50
|
+
## Accumulated Context
|
|
51
|
+
|
|
52
|
+
### Problem Summary
|
|
53
|
+
> One-paragraph summary of the problem being solved (from Discovery)
|
|
54
|
+
|
|
55
|
+
### Primary User
|
|
56
|
+
> Brief description of the primary user (from Discovery)
|
|
57
|
+
|
|
58
|
+
### Key Requirements
|
|
59
|
+
> Top 3-5 requirements that must be met
|
|
60
|
+
|
|
61
|
+
1.
|
|
62
|
+
2.
|
|
63
|
+
3.
|
|
64
|
+
|
|
65
|
+
### Major Decisions Made
|
|
66
|
+
> Key decisions from each completed phase
|
|
67
|
+
|
|
68
|
+
| Phase | Decision | Impact |
|
|
69
|
+
|-------|----------|--------|
|
|
70
|
+
| | | |
|
|
71
|
+
|
|
72
|
+
## Current Blockers
|
|
73
|
+
|
|
74
|
+
> Anything preventing progress
|
|
75
|
+
|
|
76
|
+
| Blocker | Phase | Resolution Needed |
|
|
77
|
+
|---------|-------|-------------------|
|
|
78
|
+
| | | |
|
|
79
|
+
|
|
80
|
+
## Next Actions
|
|
81
|
+
|
|
82
|
+
> What needs to happen next
|
|
83
|
+
|
|
84
|
+
1. [ ]
|
|
85
|
+
2. [ ]
|
|
86
|
+
3. [ ]
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## Quick Commands
|
|
91
|
+
|
|
92
|
+
- `/dp:progress` — View this state summary
|
|
93
|
+
- `/dp:execute` — Generate implementation (wireframe or polished)
|
|
94
|
+
- `/dp:discuss` — Capture decisions before running a phase
|
|
95
|
+
- `/dp:skip` — Skip current phase
|
|
96
|
+
- `/dp:back` — Go back to previous phase
|
|
97
|
+
- `/dp:verify` — Check deliverables
|
|
98
|
+
|
|
99
|
+
## Phase Commands
|
|
100
|
+
|
|
101
|
+
- `/dp:discovery` — Run discovery (Phase 1)
|
|
102
|
+
- `/dp:ux` — Run usability (Phase 2)
|
|
103
|
+
- `/dp:execute` — Generate wireframe (after Phase 2)
|
|
104
|
+
- `/dp:ui` — Run visual design (Phase 3)
|
|
105
|
+
- `/dp:execute` — Generate polished (after Phase 3)
|
|
106
|
+
- `/dp:eng_review` — Run review (Phase 4)
|
|
107
|
+
- `/dp:research` — Run research (optional)
|