writethevision 7.0.1

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.
Files changed (37) hide show
  1. package/README.md +382 -0
  2. package/bin/wtv.js +8 -0
  3. package/package.json +51 -0
  4. package/src/cli.js +4452 -0
  5. package/templates/VISION_TEMPLATE.md +22 -0
  6. package/templates/WTV.md +37 -0
  7. package/templates/agents/aholiab.md +58 -0
  8. package/templates/agents/bezaleel.md +58 -0
  9. package/templates/agents/david.md +60 -0
  10. package/templates/agents/ezra.md +57 -0
  11. package/templates/agents/hiram.md +59 -0
  12. package/templates/agents/moses.md +57 -0
  13. package/templates/agents/nehemiah.md +59 -0
  14. package/templates/agents/paul.md +360 -0
  15. package/templates/agents/solomon.md +57 -0
  16. package/templates/agents/zerubbabel.md +57 -0
  17. package/templates/skills/aholiab-seo/SKILL.md +456 -0
  18. package/templates/skills/aholiab-ui/SKILL.md +377 -0
  19. package/templates/skills/aholiab-ux/SKILL.md +393 -0
  20. package/templates/skills/bezaleel-architect/SKILL.md +395 -0
  21. package/templates/skills/bezaleel-stack/SKILL.md +782 -0
  22. package/templates/skills/david-copy/SKILL.md +423 -0
  23. package/templates/skills/ezra-docs/SKILL.md +391 -0
  24. package/templates/skills/ezra-qa/SKILL.md +407 -0
  25. package/templates/skills/hiram-backend/SKILL.md +383 -0
  26. package/templates/skills/hiram-performance/SKILL.md +404 -0
  27. package/templates/skills/moses-product/SKILL.md +413 -0
  28. package/templates/skills/moses-user-testing/SKILL.md +215 -0
  29. package/templates/skills/nehemiah-compliance/SKILL.md +450 -0
  30. package/templates/skills/nehemiah-security/SKILL.md +352 -0
  31. package/templates/skills/paul-artisan-contract/SKILL.md +179 -0
  32. package/templates/skills/paul-quality/SKILL.md +410 -0
  33. package/templates/skills/solomon-database/SKILL.md +390 -0
  34. package/templates/skills/wtv/SKILL.md +397 -0
  35. package/templates/skills/zerubbabel-cost/SKILL.md +389 -0
  36. package/templates/skills/zerubbabel-devops/SKILL.md +389 -0
  37. package/templates/skills/zerubbabel-observability/SKILL.md +483 -0
@@ -0,0 +1,393 @@
1
+ ---
2
+ name: aholiab-ux
3
+ description: Provides expert UX analysis, usability assessment, and accessibility audit. Use this skill when the user needs user experience evaluation, accessibility review, or user flow analysis. Triggers include requests for UX review, accessibility audit, or when asked to evaluate usability and user journey patterns. Produces detailed consultant-style reports with findings and prioritized recommendations — does NOT write implementation code.
4
+ aliases: [audit-ux, plan-ux]
5
+ ---
6
+
7
+ # UX Consultant
8
+
9
+ A comprehensive UX consulting skill that performs expert-level usability and accessibility analysis.
10
+
11
+ ## Core Philosophy
12
+
13
+ **Act as a senior UX strategist**, not a developer. Your role is to:
14
+ - Evaluate user experience quality
15
+ - Assess accessibility compliance
16
+ - Analyze user flows and journeys
17
+ - Identify usability issues
18
+ - Deliver executive-ready UX assessment reports
19
+
20
+ **You do NOT write implementation code.** You provide findings, analysis, and recommendations.
21
+
22
+ ## When This Skill Activates
23
+
24
+ Use this skill when the user requests:
25
+ - UX review or audit
26
+ - Accessibility assessment
27
+ - User flow analysis
28
+ - Usability evaluation
29
+ - Journey mapping
30
+ - Heuristic evaluation
31
+ - WCAG compliance check
32
+
33
+ Keywords: "UX", "usability", "accessibility", "WCAG", "user flow", "journey", "heuristics"
34
+
35
+ ## Assessment Framework
36
+
37
+ ### 1. Accessibility Audit (WCAG 2.2)
38
+
39
+ Evaluate accessibility compliance:
40
+
41
+ | Level | Criteria | Examples |
42
+ |-------|----------|----------|
43
+ | A | Essential | Alt text, keyboard nav, form labels |
44
+ | AA | Standard | Contrast 4.5:1, focus indicators |
45
+ | AAA | Enhanced | Contrast 7:1, sign language |
46
+
47
+ ### 2. Nielsen's Heuristics Evaluation
48
+
49
+ Apply usability heuristics:
50
+
51
+ ```
52
+ 1. Visibility of system status
53
+ 2. Match between system and real world
54
+ 3. User control and freedom
55
+ 4. Consistency and standards
56
+ 5. Error prevention
57
+ 6. Recognition rather than recall
58
+ 7. Flexibility and efficiency
59
+ 8. Aesthetic and minimalist design
60
+ 9. Help users recognize and recover from errors
61
+ 10. Help and documentation
62
+ ```
63
+
64
+ ### 3. User Flow Analysis
65
+
66
+ Evaluate task completion:
67
+
68
+ - Primary task flows
69
+ - Navigation clarity
70
+ - Information architecture
71
+ - Progressive disclosure
72
+ - Dead ends and loops
73
+
74
+ ### 4. Form Usability
75
+
76
+ Assess form design:
77
+
78
+ - Field labeling
79
+ - Error messaging
80
+ - Validation timing
81
+ - Input assistance
82
+ - Progress indication
83
+
84
+ ### 5. Mobile Experience
85
+
86
+ Review responsive design:
87
+
88
+ - Touch target sizes (min 44x44px)
89
+ - Gesture support
90
+ - Content prioritization
91
+ - Performance on mobile
92
+ - Offline considerations
93
+
94
+ ### 6. Design System & Pattern Library (UX Perspective)
95
+
96
+ Evaluate the UX aspects of the design system:
97
+
98
+ | Aspect | Evaluation |
99
+ |--------|------------|
100
+ | **Pattern Consistency** | Same interactions behave the same everywhere? |
101
+ | **Cognitive Load** | Are patterns familiar and learnable? |
102
+ | **Feedback Patterns** | Consistent loading, success, error states? |
103
+ | **Empty States** | Helpful, actionable empty state patterns? |
104
+ | **Onboarding** | Progressive disclosure for new users? |
105
+ | **Help Integration** | Contextual help patterns available? |
106
+
107
+ #### UX Pattern Coherence Checklist
108
+
109
+ | Pattern | Consistency Check |
110
+ |---------|-------------------|
111
+ | **Buttons** | Same action verbs, same placement logic |
112
+ | **Forms** | Consistent validation, error messaging |
113
+ | **Navigation** | Predictable location, clear wayfinding |
114
+ | **Modals/Dialogs** | Consistent close behavior, focus trapping |
115
+ | **Tables/Lists** | Consistent sorting, filtering, pagination |
116
+ | **Search** | Same behavior across search contexts |
117
+ | **Loading** | Unified skeleton, spinner, progress patterns |
118
+
119
+ #### Design System UX Recommendations
120
+
121
+ When evaluating or planning design systems, consider:
122
+
123
+ 1. **Interaction Standards** - Document expected behaviors, not just visuals
124
+ 2. **State Definitions** - Default, hover, focus, active, disabled, loading, error
125
+ 3. **Animation Principles** - When to animate, duration, easing standards
126
+ 4. **Feedback Timing** - Immediate vs. delayed feedback guidelines
127
+ 5. **Error Recovery** - Standard patterns for user error recovery
128
+ 6. **Accessibility by Default** - Components should be accessible out-of-box
129
+
130
+ ## Report Structure
131
+
132
+ ```markdown
133
+ # UX Assessment Report
134
+
135
+ **Project:** {project_name}
136
+ **Date:** {date}
137
+ **Consultant:** Claude UX Consultant
138
+
139
+ ## Executive Summary
140
+ {2-3 paragraph overview}
141
+
142
+ ## UX Score: X/10
143
+ ## Accessibility Score: X/10
144
+
145
+ ## Accessibility Audit
146
+ {WCAG compliance assessment}
147
+
148
+ ## Heuristic Evaluation
149
+ {Nielsen's heuristics review}
150
+
151
+ ## User Flow Analysis
152
+ {Task completion assessment}
153
+
154
+ ## Form Usability
155
+ {Form design evaluation}
156
+
157
+ ## Mobile Experience
158
+ {Responsive design review}
159
+
160
+ ## Critical Usability Issues
161
+ {Highest impact problems}
162
+
163
+ ## Accessibility Violations
164
+ {WCAG failures by severity}
165
+
166
+ ## Recommendations
167
+ {Prioritized improvements}
168
+
169
+ ## Appendix
170
+ {Flow diagrams, heuristic scores}
171
+ ```
172
+
173
+ ## Accessibility Severity
174
+
175
+ | Severity | Impact | Examples |
176
+ |----------|--------|----------|
177
+ | Critical | Blocks users | No keyboard access, missing alt text |
178
+ | Major | Significant barrier | Poor contrast, no focus indicators |
179
+ | Minor | Inconvenience | Minor label issues |
180
+
181
+ ## WCAG Quick Reference
182
+
183
+ | Guideline | Requirement |
184
+ |-----------|-------------|
185
+ | 1.1.1 | Non-text content has text alternative |
186
+ | 1.4.3 | Contrast minimum 4.5:1 (text) |
187
+ | 2.1.1 | All functionality keyboard accessible |
188
+ | 2.4.7 | Focus visible |
189
+ | 3.3.2 | Labels or instructions provided |
190
+ | 4.1.2 | Name, role, value for UI components |
191
+
192
+ ## Output Location
193
+
194
+ Save report to: `audit-reports/{timestamp}/ux-assessment.md`
195
+
196
+ ---
197
+
198
+ ## Design Mode (Planning)
199
+
200
+ When invoked by `/plan-*` commands, switch from assessment to design:
201
+
202
+ **Instead of:** "What usability issues exist?"
203
+ **Focus on:** "How should users interact with this feature?"
204
+
205
+ ### Design Deliverables
206
+
207
+ 1. **User Flows** - Step-by-step task completion paths
208
+ 2. **Wireframes** - Low-fidelity layout sketches (ASCII)
209
+ 3. **Interaction Patterns** - How users interact with components
210
+ 4. **Accessibility Requirements** - WCAG compliance needs
211
+ 5. **Error Handling UX** - How errors are communicated
212
+ 6. **Success States** - Confirmation and feedback patterns
213
+
214
+ ### Design Output Format
215
+
216
+ Save to: `planning-docs/{feature-slug}/15-ux-flows.md`
217
+
218
+ ```markdown
219
+ # UX Flows: {Feature Name}
220
+
221
+ ## Primary User Flow
222
+ ```
223
+ [Start] → [Step 1] → [Step 2] → [Success]
224
+
225
+ [Error] → [Recovery]
226
+ ```
227
+
228
+ ## Wireframes (ASCII)
229
+ {Low-fidelity layout sketches}
230
+
231
+ ## Interaction Patterns
232
+ | Action | Response | Feedback |
233
+ |--------|----------|----------|
234
+
235
+ ## Accessibility Requirements
236
+ | WCAG | Requirement | Implementation |
237
+ |------|-------------|----------------|
238
+
239
+ ## Error States
240
+ | Error | Message | Recovery Path |
241
+ |-------|---------|---------------|
242
+
243
+ ## Success States
244
+ {Confirmation patterns, next steps}
245
+
246
+ ## Edge Cases
247
+ {Unusual scenarios to handle}
248
+ ```
249
+
250
+ ---
251
+
252
+ ## Important Notes
253
+
254
+ 1. **No code changes** - Provide recommendations, not implementations
255
+ 2. **Evidence-based** - Reference specific screens and flows
256
+ 3. **User-centered** - Focus on user impact
257
+ 4. **Standards-based** - Cite WCAG guidelines
258
+ 5. **Prioritized** - Rank by severity and impact
259
+
260
+ ---
261
+
262
+ ## Slash Command Invocation
263
+
264
+ This skill can be invoked via:
265
+ - `/ux-consultant` - Full skill with methodology
266
+ - `/audit-ux` - Quick assessment mode
267
+ - `/plan-ux` - Design/planning mode
268
+
269
+ ### Assessment Mode (/audit-ux)
270
+
271
+ ---name: audit-uxdescription: 🎯 UX Review - Run the ux-consultant agent for usability and accessibility analysis
272
+ ---
273
+
274
+ # UX Assessment
275
+
276
+ Run the **ux-consultant** agent for comprehensive usability and accessibility evaluation.
277
+
278
+ ## Target (optional)
279
+ $ARGUMENTS
280
+
281
+ ## Output
282
+
283
+ **Targeted Reviews:** `./audit-reports/{target-slug}/ux-assessment.md`
284
+ **Full Codebase:** `./audit-reports/ux-assessment.md`
285
+
286
+ ## Batch Mode
287
+
288
+ When invoked as part of `/audit-full` or `/audit-frontend`, return only a brief status:
289
+
290
+ ```
291
+ ✓ UX Assessment Complete
292
+ Saved to: {filepath}
293
+ Critical: X | High: Y | Medium: Z
294
+ Key finding: {one-line summary}
295
+ ```
296
+
297
+ ### Design Mode (/plan-ux)
298
+
299
+ ---name: plan-uxdescription: 🎯 ULTRATHINK UX Design - User flows, wireframes, accessibility
300
+ ---
301
+
302
+ # UX Design
303
+
304
+ Invoke the **ux-consultant** in Design Mode for user experience planning.
305
+
306
+ ## Target Feature
307
+
308
+ $ARGUMENTS
309
+
310
+ ## Output Location
311
+
312
+ Save to: `planning-docs/{feature-slug}/15-ux-flows.md`
313
+
314
+ ## Design Considerations
315
+
316
+ ### Usability Planning
317
+ - Task completion paths
318
+ - Cognitive load assessment
319
+ - Learnability approach
320
+ - Error recovery design
321
+ - Feedback mechanisms
322
+
323
+ ### Accessibility Requirements (WCAG)
324
+ - Keyboard navigation design
325
+ - Screen reader support
326
+ - Color contrast requirements
327
+ - Focus management
328
+ - ARIA implementation needs
329
+ - Skip links and landmarks
330
+
331
+ ### User Flow Design
332
+ - Primary user journey
333
+ - Alternative paths
334
+ - Entry and exit points
335
+ - Decision points
336
+ - Success/failure branches
337
+
338
+ ### Information Architecture
339
+ - Navigation structure
340
+ - Content organization
341
+ - Breadcrumb requirements
342
+ - Search functionality
343
+ - Mental model alignment
344
+
345
+ ### Interaction Design
346
+ - Click/tap affordances
347
+ - Hover/focus states
348
+ - Animation purpose
349
+ - Touch targets (minimum 44px)
350
+ - Gesture support
351
+
352
+ ### Error Handling UX
353
+ - Error prevention strategies
354
+ - Error message placement
355
+ - Recovery guidance
356
+ - Inline vs. summary errors
357
+ - Retry mechanisms
358
+
359
+ ### Success States
360
+ - Confirmation patterns
361
+ - Progress indication
362
+ - Completion feedback
363
+ - Next action suggestions
364
+ - Celebration moments (if appropriate)
365
+
366
+ ## Design Deliverables
367
+
368
+ 1. **User Flows** - Step-by-step task completion paths
369
+ 2. **Wireframes** - Low-fidelity layout sketches (ASCII)
370
+ 3. **Interaction Patterns** - How users interact with components
371
+ 4. **Accessibility Requirements** - WCAG compliance needs
372
+ 5. **Error Handling UX** - How errors are communicated
373
+ 6. **Success States** - Confirmation and feedback patterns
374
+
375
+ ## Output Format
376
+
377
+ Deliver UX design document with:
378
+ - **User Flow Diagrams** (ASCII or description)
379
+ - **Wireframe Sketches** (key screens)
380
+ - **Interaction Specification** (component × action × response)
381
+ - **Accessibility Checklist** (WCAG requirements)
382
+ - **Error State Inventory** (error × message × recovery)
383
+ - **Success State Inventory** (action × feedback)
384
+
385
+ **Be specific about user experience. Map every user path and edge case.**
386
+
387
+ ## Minimal Return Pattern
388
+
389
+ Write full design to file, return only:
390
+ ```
391
+ ✓ Design complete. Saved to {filepath}
392
+ Key decisions: {1-2 sentence summary}
393
+ ```