qualia-framework 2.1.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.
Files changed (261) hide show
  1. package/README.md +50 -0
  2. package/bin/cli.js +519 -0
  3. package/framework/agents/architecture-strategist.md +53 -0
  4. package/framework/agents/backend-agent.md +150 -0
  5. package/framework/agents/code-simplicity-reviewer.md +86 -0
  6. package/framework/agents/frontend-agent.md +111 -0
  7. package/framework/agents/kieran-typescript-reviewer.md +96 -0
  8. package/framework/agents/performance-oracle.md +111 -0
  9. package/framework/agents/qualia-codebase-mapper.md +760 -0
  10. package/framework/agents/qualia-debugger.md +1203 -0
  11. package/framework/agents/qualia-executor.md +881 -0
  12. package/framework/agents/qualia-integration-checker.md +423 -0
  13. package/framework/agents/qualia-phase-researcher.md +453 -0
  14. package/framework/agents/qualia-plan-checker.md +699 -0
  15. package/framework/agents/qualia-planner.md +1241 -0
  16. package/framework/agents/qualia-project-researcher.md +602 -0
  17. package/framework/agents/qualia-research-synthesizer.md +236 -0
  18. package/framework/agents/qualia-roadmapper.md +605 -0
  19. package/framework/agents/qualia-verifier.md +685 -0
  20. package/framework/agents/team-orchestrator.md +228 -0
  21. package/framework/agents/teams/full-stack-team.md +48 -0
  22. package/framework/agents/teams/optimize-team.md +53 -0
  23. package/framework/agents/teams/review-team.md +62 -0
  24. package/framework/agents/teams/ship-team.md +86 -0
  25. package/framework/agents/test-agent.md +182 -0
  26. package/framework/askpass.sh +2 -0
  27. package/framework/commands/design.md +53 -0
  28. package/framework/commands/quick-db.md +22 -0
  29. package/framework/config/retention.json +35 -0
  30. package/framework/core/PRINCIPLES.md +77 -0
  31. package/framework/hooks/auto-format.sh +45 -0
  32. package/framework/hooks/block-env-edit.sh +42 -0
  33. package/framework/hooks/branch-guard.sh +46 -0
  34. package/framework/hooks/confirm-delete.sh +56 -0
  35. package/framework/hooks/migration-validate.sh +68 -0
  36. package/framework/hooks/notification-speak.sh +15 -0
  37. package/framework/hooks/pre-commit.sh +80 -0
  38. package/framework/hooks/pre-compact.sh +55 -0
  39. package/framework/hooks/pre-deploy-gate.sh +151 -0
  40. package/framework/hooks/qualia-colors.sh +32 -0
  41. package/framework/hooks/retention-cleanup.sh +43 -0
  42. package/framework/hooks/save-session-state.sh +153 -0
  43. package/framework/hooks/session-context-loader.sh +28 -0
  44. package/framework/hooks/session-learn.sh +30 -0
  45. package/framework/knowledge/claudecode-bible.md +1384 -0
  46. package/framework/knowledge/client-prefs.md +22 -0
  47. package/framework/knowledge/common-fixes.md +25 -0
  48. package/framework/knowledge/deployment-map.md +35 -0
  49. package/framework/knowledge/email-signature.html +1 -0
  50. package/framework/knowledge/employees.md +8 -0
  51. package/framework/knowledge/learned-patterns.md +51 -0
  52. package/framework/knowledge/optimization-research-2026.md +137 -0
  53. package/framework/knowledge/qualia-context.md +67 -0
  54. package/framework/knowledge/supabase-patterns.md +50 -0
  55. package/framework/knowledge/voice-agent-patterns.md +46 -0
  56. package/framework/qualia-engine/VERSION +1 -0
  57. package/framework/qualia-engine/bin/qualia-tools.js +2160 -0
  58. package/framework/qualia-engine/bin/qualia-tools.test.js +1054 -0
  59. package/framework/qualia-engine/references/checkpoints.md +775 -0
  60. package/framework/qualia-engine/references/continuation-format.md +249 -0
  61. package/framework/qualia-engine/references/decimal-phase-calculation.md +65 -0
  62. package/framework/qualia-engine/references/design-quality.md +56 -0
  63. package/framework/qualia-engine/references/git-integration.md +254 -0
  64. package/framework/qualia-engine/references/git-planning-commit.md +50 -0
  65. package/framework/qualia-engine/references/model-profile-resolution.md +32 -0
  66. package/framework/qualia-engine/references/model-profiles.md +73 -0
  67. package/framework/qualia-engine/references/phase-argument-parsing.md +61 -0
  68. package/framework/qualia-engine/references/planning-config.md +195 -0
  69. package/framework/qualia-engine/references/questioning.md +141 -0
  70. package/framework/qualia-engine/references/tdd.md +263 -0
  71. package/framework/qualia-engine/references/ui-brand.md +160 -0
  72. package/framework/qualia-engine/references/verification-patterns.md +612 -0
  73. package/framework/qualia-engine/templates/DEBUG.md +159 -0
  74. package/framework/qualia-engine/templates/DESIGN.md +81 -0
  75. package/framework/qualia-engine/templates/UAT.md +247 -0
  76. package/framework/qualia-engine/templates/codebase/architecture.md +255 -0
  77. package/framework/qualia-engine/templates/codebase/concerns.md +310 -0
  78. package/framework/qualia-engine/templates/codebase/conventions.md +307 -0
  79. package/framework/qualia-engine/templates/codebase/integrations.md +280 -0
  80. package/framework/qualia-engine/templates/codebase/stack.md +186 -0
  81. package/framework/qualia-engine/templates/codebase/structure.md +285 -0
  82. package/framework/qualia-engine/templates/codebase/testing.md +480 -0
  83. package/framework/qualia-engine/templates/config.json +35 -0
  84. package/framework/qualia-engine/templates/context.md +283 -0
  85. package/framework/qualia-engine/templates/continue-here.md +78 -0
  86. package/framework/qualia-engine/templates/debug-subagent-prompt.md +91 -0
  87. package/framework/qualia-engine/templates/discovery.md +146 -0
  88. package/framework/qualia-engine/templates/milestone-archive.md +123 -0
  89. package/framework/qualia-engine/templates/milestone.md +115 -0
  90. package/framework/qualia-engine/templates/phase-prompt.md +567 -0
  91. package/framework/qualia-engine/templates/planner-subagent-prompt.md +117 -0
  92. package/framework/qualia-engine/templates/project.md +184 -0
  93. package/framework/qualia-engine/templates/projects/ai-agent.md +156 -0
  94. package/framework/qualia-engine/templates/projects/mobile-app.md +181 -0
  95. package/framework/qualia-engine/templates/projects/voice-agent.md +134 -0
  96. package/framework/qualia-engine/templates/projects/website.md +137 -0
  97. package/framework/qualia-engine/templates/requirements.md +231 -0
  98. package/framework/qualia-engine/templates/research-project/ARCHITECTURE.md +204 -0
  99. package/framework/qualia-engine/templates/research-project/FEATURES.md +147 -0
  100. package/framework/qualia-engine/templates/research-project/PITFALLS.md +200 -0
  101. package/framework/qualia-engine/templates/research-project/STACK.md +120 -0
  102. package/framework/qualia-engine/templates/research-project/SUMMARY.md +170 -0
  103. package/framework/qualia-engine/templates/research.md +552 -0
  104. package/framework/qualia-engine/templates/roadmap.md +202 -0
  105. package/framework/qualia-engine/templates/state.md +176 -0
  106. package/framework/qualia-engine/templates/summary-complex.md +59 -0
  107. package/framework/qualia-engine/templates/summary-minimal.md +41 -0
  108. package/framework/qualia-engine/templates/summary-standard.md +48 -0
  109. package/framework/qualia-engine/templates/summary.md +246 -0
  110. package/framework/qualia-engine/templates/user-setup.md +311 -0
  111. package/framework/qualia-engine/templates/verification-report.md +322 -0
  112. package/framework/qualia-engine/workflows/add-phase.md +179 -0
  113. package/framework/qualia-engine/workflows/add-todo.md +157 -0
  114. package/framework/qualia-engine/workflows/audit-milestone.md +241 -0
  115. package/framework/qualia-engine/workflows/check-todos.md +176 -0
  116. package/framework/qualia-engine/workflows/complete-milestone.md +858 -0
  117. package/framework/qualia-engine/workflows/diagnose-issues.md +219 -0
  118. package/framework/qualia-engine/workflows/discovery-phase.md +289 -0
  119. package/framework/qualia-engine/workflows/discuss-phase.md +534 -0
  120. package/framework/qualia-engine/workflows/execute-phase.md +559 -0
  121. package/framework/qualia-engine/workflows/execute-plan.md +438 -0
  122. package/framework/qualia-engine/workflows/help.md +470 -0
  123. package/framework/qualia-engine/workflows/insert-phase.md +220 -0
  124. package/framework/qualia-engine/workflows/list-phase-assumptions.md +178 -0
  125. package/framework/qualia-engine/workflows/map-codebase.md +327 -0
  126. package/framework/qualia-engine/workflows/new-milestone.md +363 -0
  127. package/framework/qualia-engine/workflows/new-project.md +1037 -0
  128. package/framework/qualia-engine/workflows/pause-work.md +122 -0
  129. package/framework/qualia-engine/workflows/plan-milestone-gaps.md +256 -0
  130. package/framework/qualia-engine/workflows/plan-phase.md +422 -0
  131. package/framework/qualia-engine/workflows/progress.md +354 -0
  132. package/framework/qualia-engine/workflows/quick.md +252 -0
  133. package/framework/qualia-engine/workflows/remove-phase.md +326 -0
  134. package/framework/qualia-engine/workflows/research-phase.md +74 -0
  135. package/framework/qualia-engine/workflows/resume-project.md +306 -0
  136. package/framework/qualia-engine/workflows/set-profile.md +80 -0
  137. package/framework/qualia-engine/workflows/settings.md +145 -0
  138. package/framework/qualia-engine/workflows/transition.md +556 -0
  139. package/framework/qualia-engine/workflows/update.md +197 -0
  140. package/framework/qualia-engine/workflows/verify-phase.md +195 -0
  141. package/framework/qualia-engine/workflows/verify-work.md +625 -0
  142. package/framework/rules/context7.md +11 -0
  143. package/framework/rules/deployment.md +29 -0
  144. package/framework/rules/frontend.md +33 -0
  145. package/framework/rules/security.md +12 -0
  146. package/framework/rules/speed.md +20 -0
  147. package/framework/scripts/__pycache__/say.cpython-314.pyc +0 -0
  148. package/framework/scripts/apply-retention.sh +120 -0
  149. package/framework/scripts/bootstrap-pop-os.sh +354 -0
  150. package/framework/scripts/claude-voice +13 -0
  151. package/framework/scripts/cleanup.sh +131 -0
  152. package/framework/scripts/cowork-mode.sh +141 -0
  153. package/framework/scripts/generate-project-claude-md.sh +153 -0
  154. package/framework/scripts/load-test-webhook.js +172 -0
  155. package/framework/scripts/say.py +236 -0
  156. package/framework/scripts/showcase-video-recorder/ffmpeg-builder.js +167 -0
  157. package/framework/scripts/showcase-video-recorder/playwright-helpers.js +216 -0
  158. package/framework/scripts/speak.py +55 -0
  159. package/framework/scripts/speak.sh +18 -0
  160. package/framework/scripts/status.sh +138 -0
  161. package/framework/scripts/sync-to-framework.sh +65 -0
  162. package/framework/scripts/voice-hotkey.py +227 -0
  163. package/framework/scripts/voice-input.sh +51 -0
  164. package/framework/skills/animate/SKILL.md +202 -0
  165. package/framework/skills/bolder/SKILL.md +144 -0
  166. package/framework/skills/browser-qa/SKILL.md +536 -0
  167. package/framework/skills/clarify/SKILL.md +179 -0
  168. package/framework/skills/colorize/SKILL.md +170 -0
  169. package/framework/skills/critique/SKILL.md +126 -0
  170. package/framework/skills/deep-research/SKILL.md +271 -0
  171. package/framework/skills/delight/SKILL.md +329 -0
  172. package/framework/skills/deploy/SKILL.md +261 -0
  173. package/framework/skills/deploy-verify/SKILL.md +377 -0
  174. package/framework/skills/deploy-verify/scripts/canary-check.sh +206 -0
  175. package/framework/skills/deploy-verify/scripts/check-console-errors.js +147 -0
  176. package/framework/skills/deploy-verify/scripts/check-cwv.js +139 -0
  177. package/framework/skills/deploy-verify/scripts/project-detect.sh +84 -0
  178. package/framework/skills/deploy-verify/scripts/verify.sh +548 -0
  179. package/framework/skills/design-quieter/SKILL.md +130 -0
  180. package/framework/skills/distill/SKILL.md +149 -0
  181. package/framework/skills/docs-lookup/SKILL.md +78 -0
  182. package/framework/skills/fcm-notifications/SKILL.md +125 -0
  183. package/framework/skills/financial-ledger/SKILL.md +1039 -0
  184. package/framework/skills/frontend-master/NOTICE.md +4 -0
  185. package/framework/skills/frontend-master/SKILL.md +127 -0
  186. package/framework/skills/frontend-master/reference/color-and-contrast.md +132 -0
  187. package/framework/skills/frontend-master/reference/interaction-design.md +123 -0
  188. package/framework/skills/frontend-master/reference/motion-design.md +99 -0
  189. package/framework/skills/frontend-master/reference/responsive-design.md +114 -0
  190. package/framework/skills/frontend-master/reference/spatial-design.md +100 -0
  191. package/framework/skills/frontend-master/reference/typography.md +131 -0
  192. package/framework/skills/frontend-master/reference/ux-writing.md +107 -0
  193. package/framework/skills/harden/SKILL.md +357 -0
  194. package/framework/skills/i18n-rtl/SKILL.md +752 -0
  195. package/framework/skills/learn/SKILL.md +71 -0
  196. package/framework/skills/memory/SKILL.md +50 -0
  197. package/framework/skills/mobile-expo/SKILL.md +864 -0
  198. package/framework/skills/mobile-expo/references/store-checklist.md +550 -0
  199. package/framework/skills/nestjs-backend/README.md +73 -0
  200. package/framework/skills/nestjs-backend/SKILL.md +446 -0
  201. package/framework/skills/nestjs-backend/references/templates.md +1173 -0
  202. package/framework/skills/normalize/SKILL.md +79 -0
  203. package/framework/skills/onboard/SKILL.md +242 -0
  204. package/framework/skills/polish/SKILL.md +209 -0
  205. package/framework/skills/pr/SKILL.md +66 -0
  206. package/framework/skills/qualia/SKILL.md +153 -0
  207. package/framework/skills/qualia-add-todo/SKILL.md +68 -0
  208. package/framework/skills/qualia-audit-milestone/SKILL.md +92 -0
  209. package/framework/skills/qualia-check-todos/SKILL.md +55 -0
  210. package/framework/skills/qualia-complete-milestone/SKILL.md +108 -0
  211. package/framework/skills/qualia-debug/SKILL.md +149 -0
  212. package/framework/skills/qualia-design/SKILL.md +203 -0
  213. package/framework/skills/qualia-discuss-phase/SKILL.md +72 -0
  214. package/framework/skills/qualia-execute-phase/SKILL.md +86 -0
  215. package/framework/skills/qualia-help/SKILL.md +67 -0
  216. package/framework/skills/qualia-idk/SKILL.md +352 -0
  217. package/framework/skills/qualia-list-phase-assumptions/SKILL.md +67 -0
  218. package/framework/skills/qualia-new-milestone/SKILL.md +72 -0
  219. package/framework/skills/qualia-new-project/SKILL.md +92 -0
  220. package/framework/skills/qualia-optimize/SKILL.md +417 -0
  221. package/framework/skills/qualia-pause-work/SKILL.md +96 -0
  222. package/framework/skills/qualia-plan-milestone-gaps/SKILL.md +57 -0
  223. package/framework/skills/qualia-plan-phase/SKILL.md +101 -0
  224. package/framework/skills/qualia-progress/SKILL.md +53 -0
  225. package/framework/skills/qualia-quick/SKILL.md +89 -0
  226. package/framework/skills/qualia-research-phase/SKILL.md +88 -0
  227. package/framework/skills/qualia-resume-work/SKILL.md +62 -0
  228. package/framework/skills/qualia-review/SKILL.md +263 -0
  229. package/framework/skills/qualia-start/SKILL.md +182 -0
  230. package/framework/skills/qualia-verify-work/SKILL.md +105 -0
  231. package/framework/skills/qualia-workflow/SKILL.md +130 -0
  232. package/framework/skills/rag/SKILL.md +750 -0
  233. package/framework/skills/responsive/SKILL.md +231 -0
  234. package/framework/skills/retro/SKILL.md +284 -0
  235. package/framework/skills/sakani-conventions/SKILL.md +136 -0
  236. package/framework/skills/sakani-conventions/evals/evals.json +23 -0
  237. package/framework/skills/sakani-conventions/references/entities.md +365 -0
  238. package/framework/skills/sakani-conventions/references/error-codes.md +95 -0
  239. package/framework/skills/seo-master/SKILL.md +490 -0
  240. package/framework/skills/seo-master/references/checklist.md +199 -0
  241. package/framework/skills/seo-master/references/structured-data.md +609 -0
  242. package/framework/skills/ship/SKILL.md +202 -0
  243. package/framework/skills/stack-researcher/SKILL.md +215 -0
  244. package/framework/skills/status/SKILL.md +154 -0
  245. package/framework/skills/status/scripts/health-check.sh +562 -0
  246. package/framework/skills/subscription-payments/SKILL.md +250 -0
  247. package/framework/skills/supabase/SKILL.md +973 -0
  248. package/framework/skills/supabase/references/templates.md +159 -0
  249. package/framework/skills/team/SKILL.md +67 -0
  250. package/framework/skills/test-runner/SKILL.md +202 -0
  251. package/framework/skills/voice-agent/SKILL.md +407 -0
  252. package/framework/skills/zoho-workflow/SKILL.md +51 -0
  253. package/framework/statusline-command.sh +117 -0
  254. package/package.json +24 -0
  255. package/profiles/fawzi.json +16 -0
  256. package/profiles/hasan.json +16 -0
  257. package/profiles/moayad.json +16 -0
  258. package/templates/CLAUDE-owner.md +52 -0
  259. package/templates/CLAUDE.md.hbs +58 -0
  260. package/templates/env.claude.template +12 -0
  261. package/templates/settings.json +141 -0
@@ -0,0 +1,179 @@
1
+ ---
2
+ name: clarify
3
+ description: Improve unclear UX copy, error messages, microcopy, labels, and instructions. Makes interfaces easier to understand and use.
4
+ user-invokable: true
5
+ args:
6
+ - name: target
7
+ description: The feature or component with unclear copy (optional)
8
+ required: false
9
+ ---
10
+
11
+ Identify and improve unclear, confusing, or poorly written interface text to make the product easier to understand and use.
12
+
13
+ ## Assess Current Copy
14
+
15
+ Identify what makes the text unclear or ineffective:
16
+
17
+ 1. **Find clarity problems**:
18
+ - **Jargon**: Technical terms users won't understand
19
+ - **Ambiguity**: Multiple interpretations possible
20
+ - **Passive voice**: "Your file has been uploaded" vs "We uploaded your file"
21
+ - **Length**: Too wordy or too terse
22
+ - **Assumptions**: Assuming user knowledge they don't have
23
+ - **Missing context**: Users don't know what to do or why
24
+ - **Tone mismatch**: Too formal, too casual, or inappropriate for situation
25
+
26
+ 2. **Understand the context**:
27
+ - Who's the audience? (Technical? General? First-time users?)
28
+ - What's the user's mental state? (Stressed during error? Confident during success?)
29
+ - What's the action? (What do we want users to do?)
30
+ - What's the constraint? (Character limits? Space limitations?)
31
+
32
+ **CRITICAL**: Clear copy helps users succeed. Unclear copy creates frustration, errors, and support tickets.
33
+
34
+ ## Plan Copy Improvements
35
+
36
+ Create a strategy for clearer communication:
37
+
38
+ - **Primary message**: What's the ONE thing users need to know?
39
+ - **Action needed**: What should users do next (if anything)?
40
+ - **Tone**: How should this feel? (Helpful? Apologetic? Encouraging?)
41
+ - **Constraints**: Length limits, brand voice, localization considerations
42
+
43
+ **IMPORTANT**: Good UX writing is invisible. Users should understand immediately without noticing the words.
44
+
45
+ ## Improve Copy Systematically
46
+
47
+ Refine text across these common areas:
48
+
49
+ ### Error Messages
50
+ **Bad**: "Error 403: Forbidden"
51
+ **Good**: "You don't have permission to view this page. Contact your admin for access."
52
+
53
+ **Bad**: "Invalid input"
54
+ **Good**: "Email addresses need an @ symbol. Try: name@example.com"
55
+
56
+ **Principles**:
57
+ - Explain what went wrong in plain language
58
+ - Suggest how to fix it
59
+ - Don't blame the user
60
+ - Include examples when helpful
61
+ - Link to help/support if applicable
62
+
63
+ ### Form Labels & Instructions
64
+ **Bad**: "DOB (MM/DD/YYYY)"
65
+ **Good**: "Date of birth" (with placeholder showing format)
66
+
67
+ **Bad**: "Enter value here"
68
+ **Good**: "Your email address" or "Company name"
69
+
70
+ **Principles**:
71
+ - Use clear, specific labels (not generic placeholders)
72
+ - Show format expectations with examples
73
+ - Explain why you're asking (when not obvious)
74
+ - Put instructions before the field, not after
75
+ - Keep required field indicators clear
76
+
77
+ ### Button & CTA Text
78
+ **Bad**: "Click here" | "Submit" | "OK"
79
+ **Good**: "Create account" | "Save changes" | "Got it, thanks"
80
+
81
+ **Principles**:
82
+ - Describe the action specifically
83
+ - Use active voice (verb + noun)
84
+ - Match user's mental model
85
+ - Be specific ("Save" is better than "OK")
86
+
87
+ ### Help Text & Tooltips
88
+ **Bad**: "This is the username field"
89
+ **Good**: "Choose a username. You can change this later in Settings."
90
+
91
+ **Principles**:
92
+ - Add value (don't just repeat the label)
93
+ - Answer the implicit question ("What is this?" or "Why do you need this?")
94
+ - Keep it brief but complete
95
+ - Link to detailed docs if needed
96
+
97
+ ### Empty States
98
+ **Bad**: "No items"
99
+ **Good**: "No projects yet. Create your first project to get started."
100
+
101
+ **Principles**:
102
+ - Explain why it's empty (if not obvious)
103
+ - Show next action clearly
104
+ - Make it welcoming, not dead-end
105
+
106
+ ### Success Messages
107
+ **Bad**: "Success"
108
+ **Good**: "Settings saved! Your changes will take effect immediately."
109
+
110
+ **Principles**:
111
+ - Confirm what happened
112
+ - Explain what happens next (if relevant)
113
+ - Be brief but complete
114
+ - Match the user's emotional moment (celebrate big wins)
115
+
116
+ ### Loading States
117
+ **Bad**: "Loading..." (for 30+ seconds)
118
+ **Good**: "Analyzing your data... this usually takes 30-60 seconds"
119
+
120
+ **Principles**:
121
+ - Set expectations (how long?)
122
+ - Explain what's happening (when it's not obvious)
123
+ - Show progress when possible
124
+ - Offer escape hatch if appropriate ("Cancel")
125
+
126
+ ### Confirmation Dialogs
127
+ **Bad**: "Are you sure?"
128
+ **Good**: "Delete 'Project Alpha'? This can't be undone."
129
+
130
+ **Principles**:
131
+ - State the specific action
132
+ - Explain consequences (especially for destructive actions)
133
+ - Use clear button labels ("Delete project" not "Yes")
134
+ - Don't overuse confirmations (only for risky actions)
135
+
136
+ ### Navigation & Wayfinding
137
+ **Bad**: Generic labels like "Items" | "Things" | "Stuff"
138
+ **Good**: Specific labels like "Your projects" | "Team members" | "Settings"
139
+
140
+ **Principles**:
141
+ - Be specific and descriptive
142
+ - Use language users understand (not internal jargon)
143
+ - Make hierarchy clear
144
+ - Consider information scent (breadcrumbs, current location)
145
+
146
+ ## Apply Clarity Principles
147
+
148
+ Every piece of copy should follow these rules:
149
+
150
+ 1. **Be specific**: "Enter email" not "Enter value"
151
+ 2. **Be concise**: Cut unnecessary words (but don't sacrifice clarity)
152
+ 3. **Be active**: "Save changes" not "Changes will be saved"
153
+ 4. **Be human**: "Oops, something went wrong" not "System error encountered"
154
+ 5. **Be helpful**: Tell users what to do, not just what happened
155
+ 6. **Be consistent**: Use same terms throughout (don't vary for variety)
156
+
157
+ **NEVER**:
158
+ - Use jargon without explanation
159
+ - Blame users ("You made an error" → "This field is required")
160
+ - Be vague ("Something went wrong" without explanation)
161
+ - Use passive voice unnecessarily
162
+ - Write overly long explanations (be concise)
163
+ - Use humor for errors (be empathetic instead)
164
+ - Assume technical knowledge
165
+ - Vary terminology (pick one term and stick with it)
166
+ - Repeat information (headers restating intros, redundant explanations)
167
+ - Use placeholders as the only labels (they disappear when users type)
168
+
169
+ ## Verify Improvements
170
+
171
+ Test that copy improvements work:
172
+
173
+ - **Comprehension**: Can users understand without context?
174
+ - **Actionability**: Do users know what to do next?
175
+ - **Brevity**: Is it as short as possible while remaining clear?
176
+ - **Consistency**: Does it match terminology elsewhere?
177
+ - **Tone**: Is it appropriate for the situation?
178
+
179
+ Remember: You're a clarity expert with excellent communication skills. Write like you're explaining to a smart friend who's unfamiliar with the product. Be clear, be helpful, be human.
@@ -0,0 +1,170 @@
1
+ ---
2
+ name: colorize
3
+ description: Add strategic color to features that are too monochromatic or lack visual interest. Makes interfaces more engaging and expressive.
4
+ user-invokable: true
5
+ args:
6
+ - name: target
7
+ description: The feature or component to colorize (optional)
8
+ required: false
9
+ ---
10
+
11
+ Strategically introduce color to designs that are too monochromatic, gray, or lacking in visual warmth and personality.
12
+
13
+ ## MANDATORY PREPARATION
14
+
15
+ ### Read DESIGN.md (Authoritative Source)
16
+
17
+ Before any context gathering, check for the project's design decisions file:
18
+
19
+ ```bash
20
+ cat .planning/DESIGN.md 2>/dev/null
21
+ ```
22
+
23
+ **If DESIGN.md exists:** This is the authoritative source for all design decisions in this project. Use its palette, typography, spacing, component, and motion decisions as your foundation. Do NOT override these decisions unless the user explicitly asks. Reference specific DESIGN.md decisions in your output (e.g., "Per DESIGN.md, the primary color is...").
24
+
25
+ **If DESIGN.md does not exist:** Proceed with normal context gathering below. Consider suggesting the user run `/qualia:discuss-phase` to establish design decisions.
26
+
27
+ ### Context Gathering (Do This First)
28
+
29
+ You cannot do a great job without having necessary context, such as target audience (critical), desired use-cases (critical), brand personality/tone, and especially existing brand colors.
30
+
31
+ Attempt to gather these from the current thread or codebase.
32
+
33
+ 1. If you don't find *exact* information and have to infer from existing design and functionality, you MUST STOP and STOP and call the AskUserQuestionTool to clarify. whether you got it right.
34
+ 2. Otherwise, if you can't fully infer or your level of confidence is medium or lower, you MUST STOP and call the AskUserQuestionTool to clarify. clarifying questions first to complete your context.
35
+
36
+ Do NOT proceed until you have answers. Guessing leads to generic AI slop colors.
37
+
38
+ ### Use frontend-master skill
39
+
40
+ Use the frontend-master skill for design principles and anti-patterns. Do NOT proceed until it has executed and you know all DO's and DON'Ts.
41
+
42
+ ---
43
+
44
+ ## Assess Color Opportunity
45
+
46
+ Analyze the current state and identify opportunities:
47
+
48
+ 1. **Understand current state**:
49
+ - **Color absence**: Pure grayscale? Limited neutrals? One timid accent?
50
+ - **Missed opportunities**: Where could color add meaning, hierarchy, or delight?
51
+ - **Context**: What's appropriate for this domain and audience?
52
+ - **Brand**: Are there existing brand colors we should use?
53
+
54
+ 2. **Identify where color adds value**:
55
+ - **Semantic meaning**: Success (green), error (red), warning (yellow/orange), info (blue)
56
+ - **Hierarchy**: Drawing attention to important elements
57
+ - **Categorization**: Different sections, types, or states
58
+ - **Emotional tone**: Warmth, energy, trust, creativity
59
+ - **Wayfinding**: Helping users navigate and understand structure
60
+ - **Delight**: Moments of visual interest and personality
61
+
62
+ If any of these are unclear from the codebase, STOP and call the AskUserQuestionTool to clarify.
63
+
64
+ **CRITICAL**: More color ≠ better. Strategic color beats rainbow vomit every time. Every color should have a purpose.
65
+
66
+ ## Plan Color Strategy
67
+
68
+ Create a purposeful color introduction plan:
69
+
70
+ - **Color palette**: What colors match the brand/context? (Choose 2-4 colors max beyond neutrals)
71
+ - **Dominant color**: Which color owns 60% of colored elements?
72
+ - **Accent colors**: Which colors provide contrast and highlights? (30% and 10%)
73
+ - **Application strategy**: Where does each color appear and why?
74
+
75
+ **IMPORTANT**: Color should enhance hierarchy and meaning, not create chaos. Less is more when it matters more.
76
+
77
+ ## Introduce Color Strategically
78
+
79
+ Add color systematically across these dimensions:
80
+
81
+ ### Semantic Color
82
+ - **State indicators**:
83
+ - Success: Green tones (emerald, forest, mint)
84
+ - Error: Red/pink tones (rose, crimson, coral)
85
+ - Warning: Orange/amber tones
86
+ - Info: Blue tones (sky, ocean, indigo)
87
+ - Neutral: Gray/slate for inactive states
88
+
89
+ - **Status badges**: Colored backgrounds or borders for states (active, pending, completed, etc.)
90
+ - **Progress indicators**: Colored bars, rings, or charts showing completion or health
91
+
92
+ ### Accent Color Application
93
+ - **Primary actions**: Color the most important buttons/CTAs
94
+ - **Links**: Add color to clickable text (maintain accessibility)
95
+ - **Icons**: Colorize key icons for recognition and personality
96
+ - **Headers/titles**: Add color to section headers or key labels
97
+ - **Hover states**: Introduce color on interaction
98
+
99
+ ### Background & Surfaces
100
+ - **Tinted backgrounds**: Replace pure gray (`#f5f5f5`) with warm neutrals (`oklch(97% 0.01 60)`) or cool tints (`oklch(97% 0.01 250)`)
101
+ - **Colored sections**: Use subtle background colors to separate areas
102
+ - **Gradient backgrounds**: Add depth with subtle, intentional gradients (not generic purple-blue)
103
+ - **Cards & surfaces**: Tint cards or surfaces slightly for warmth
104
+
105
+ **Use OKLCH for color**: It's perceptually uniform, meaning equal steps in lightness *look* equal. Great for generating harmonious scales.
106
+
107
+ ### Data Visualization
108
+ - **Charts & graphs**: Use color to encode categories or values
109
+ - **Heatmaps**: Color intensity shows density or importance
110
+ - **Comparison**: Color coding for different datasets or timeframes
111
+
112
+ ### Borders & Accents
113
+ - **Accent borders**: Add colored left/top borders to cards or sections
114
+ - **Underlines**: Color underlines for emphasis or active states
115
+ - **Dividers**: Subtle colored dividers instead of gray lines
116
+ - **Focus rings**: Colored focus indicators matching brand
117
+
118
+ ### Typography Color
119
+ - **Colored headings**: Use brand colors for section headings (maintain contrast)
120
+ - **Highlight text**: Color for emphasis or categories
121
+ - **Labels & tags**: Small colored labels for metadata or categories
122
+
123
+ ### Decorative Elements
124
+ - **Illustrations**: Add colored illustrations or icons
125
+ - **Shapes**: Geometric shapes in brand colors as background elements
126
+ - **Gradients**: Colorful gradient overlays or mesh backgrounds
127
+ - **Blobs/organic shapes**: Soft colored shapes for visual interest
128
+
129
+ ## Balance & Refinement
130
+
131
+ Ensure color addition improves rather than overwhelms:
132
+
133
+ ### Maintain Hierarchy
134
+ - **Dominant color** (60%): Primary brand color or most used accent
135
+ - **Secondary color** (30%): Supporting color for variety
136
+ - **Accent color** (10%): High contrast for key moments
137
+ - **Neutrals** (remaining): Gray/black/white for structure
138
+
139
+ ### Accessibility
140
+ - **Contrast ratios**: Ensure WCAG compliance (4.5:1 for text, 3:1 for UI components)
141
+ - **Don't rely on color alone**: Use icons, labels, or patterns alongside color
142
+ - **Test for color blindness**: Verify red/green combinations work for all users
143
+
144
+ ### Cohesion
145
+ - **Consistent palette**: Use colors from defined palette, not arbitrary choices
146
+ - **Systematic application**: Same color meanings throughout (green always = success)
147
+ - **Temperature consistency**: Warm palette stays warm, cool stays cool
148
+
149
+ **NEVER**:
150
+ - Use every color in the rainbow (choose 2-4 colors beyond neutrals)
151
+ - Apply color randomly without semantic meaning
152
+ - Put gray text on colored backgrounds—it looks washed out; use a darker shade of the background color or transparency instead
153
+ - Use pure gray for neutrals—add subtle color tint (warm or cool) for sophistication
154
+ - Use pure black (`#000`) or pure white (`#fff`) for large areas
155
+ - Violate WCAG contrast requirements
156
+ - Use color as the only indicator (accessibility issue)
157
+ - Make everything colorful (defeats the purpose)
158
+ - Default to purple-blue gradients (AI slop aesthetic)
159
+
160
+ ## Verify Color Addition
161
+
162
+ Test that colorization improves the experience:
163
+
164
+ - **Better hierarchy**: Does color guide attention appropriately?
165
+ - **Clearer meaning**: Does color help users understand states/categories?
166
+ - **More engaging**: Does the interface feel warmer and more inviting?
167
+ - **Still accessible**: Do all color combinations meet WCAG standards?
168
+ - **Not overwhelming**: Is color balanced and purposeful?
169
+
170
+ Remember: Color is emotional and powerful. Use it to create warmth, guide attention, communicate meaning, and express personality. But restraint and strategy matter more than saturation and variety. Be colorful, but be intentional.
@@ -0,0 +1,126 @@
1
+ ---
2
+ name: critique
3
+ description: Evaluate design effectiveness from a UX perspective. Assesses visual hierarchy, information architecture, emotional resonance, and overall design quality with actionable feedback.
4
+ user-invokable: true
5
+ args:
6
+ - name: area
7
+ description: The feature or area to critique (optional)
8
+ required: false
9
+ ---
10
+
11
+ Conduct a holistic design critique, evaluating whether the interface actually works—not just technically, but as a designed experience. Think like a design director giving feedback.
12
+
13
+ **First**: Use the frontend-master skill for design principles and anti-patterns.
14
+
15
+ **Then**: Read the project's design decisions:
16
+
17
+ ```bash
18
+ cat .planning/DESIGN.md 2>/dev/null
19
+ ```
20
+
21
+ If DESIGN.md exists, use it as the authoritative source for this project's design direction. Reference its decisions when evaluating the interface (e.g., "DESIGN.md specifies warm palette — this blue accent is inconsistent"). If DESIGN.md does not exist, proceed with general design principles from frontend-master.
22
+
23
+ ## Design Critique
24
+
25
+ Evaluate the interface across these dimensions:
26
+
27
+ ### 1. AI Slop Detection (CRITICAL)
28
+
29
+ **This is the most important check.** Does this look like every other AI-generated interface from 2024-2025?
30
+
31
+ Review the design against ALL the **DON'T** guidelines in the frontend-master skill—they are the fingerprints of AI-generated work. Check for the AI color palette, gradient text, dark mode with glowing accents, glassmorphism, hero metric layouts, identical card grids, generic fonts, and all other tells.
32
+
33
+ **The test**: If you showed this to someone and said "AI made this," would they believe you immediately? If yes, that's the problem.
34
+
35
+ ### 2. Visual Hierarchy
36
+ - Does the eye flow to the most important element first?
37
+ - Is there a clear primary action? Can you spot it in 2 seconds?
38
+ - Do size, color, and position communicate importance correctly?
39
+ - Is there visual competition between elements that should have different weights?
40
+
41
+ ### 3. Information Architecture
42
+ - Is the structure intuitive? Would a new user understand the organization?
43
+ - Is related content grouped logically?
44
+ - Are there too many choices at once? (cognitive overload)
45
+ - Is the navigation clear and predictable?
46
+
47
+ ### 4. Emotional Resonance
48
+ - What emotion does this interface evoke? Is that intentional?
49
+ - Does it match the brand personality?
50
+ - Does it feel trustworthy, approachable, premium, playful—whatever it should feel?
51
+ - Would the target user feel "this is for me"?
52
+
53
+ ### 5. Discoverability & Affordance
54
+ - Are interactive elements obviously interactive?
55
+ - Would a user know what to do without instructions?
56
+ - Are hover/focus states providing useful feedback?
57
+ - Are there hidden features that should be more visible?
58
+
59
+ ### 6. Composition & Balance
60
+ - Does the layout feel balanced or uncomfortably weighted?
61
+ - Is whitespace used intentionally or just leftover?
62
+ - Is there visual rhythm in spacing and repetition?
63
+ - Does asymmetry feel designed or accidental?
64
+
65
+ ### 7. Typography as Communication
66
+ - Does the type hierarchy clearly signal what to read first, second, third?
67
+ - Is body text comfortable to read? (line length, spacing, size)
68
+ - Do font choices reinforce the brand/tone?
69
+ - Is there enough contrast between heading levels?
70
+
71
+ ### 8. Color with Purpose
72
+ - Is color used to communicate, not just decorate?
73
+ - Does the palette feel cohesive?
74
+ - Are accent colors drawing attention to the right things?
75
+ - Does it work for colorblind users? (not just technically—does meaning still come through?)
76
+
77
+ ### 9. States & Edge Cases
78
+ - Empty states: Do they guide users toward action, or just say "nothing here"?
79
+ - Loading states: Do they reduce perceived wait time?
80
+ - Error states: Are they helpful and non-blaming?
81
+ - Success states: Do they confirm and guide next steps?
82
+
83
+ ### 10. Microcopy & Voice
84
+ - Is the writing clear and concise?
85
+ - Does it sound like a human (the right human for this brand)?
86
+ - Are labels and buttons unambiguous?
87
+ - Does error copy help users fix the problem?
88
+
89
+ ## Generate Critique Report
90
+
91
+ Structure your feedback as a design director would:
92
+
93
+ ### Anti-Patterns Verdict
94
+ **Start here.** Pass/fail: Does this look AI-generated? List specific tells from the skill's Anti-Patterns section. Be brutally honest.
95
+
96
+ ### Overall Impression
97
+ A brief gut reaction—what works, what doesn't, and the single biggest opportunity.
98
+
99
+ ### What's Working
100
+ Highlight 2-3 things done well. Be specific about why they work.
101
+
102
+ ### Priority Issues
103
+ The 3-5 most impactful design problems, ordered by importance:
104
+
105
+ For each issue:
106
+ - **What**: Name the problem clearly
107
+ - **Why it matters**: How this hurts users or undermines goals
108
+ - **Fix**: What to do about it (be concrete)
109
+ - **Command**: Which command to use (prefer: /animate, /design-quieter, /clarify, /distill, /delight, /onboard, /normalize, /responsive, /harden, /polish, /bolder, /colorize)
110
+
111
+ ### Minor Observations
112
+ Quick notes on smaller issues worth addressing.
113
+
114
+ ### Questions to Consider
115
+ Provocative questions that might unlock better solutions:
116
+ - "What if the primary action were more prominent?"
117
+ - "Does this need to feel this complex?"
118
+ - "What would a confident version of this look like?"
119
+
120
+ **Remember**:
121
+ - Be direct—vague feedback wastes everyone's time
122
+ - Be specific—"the submit button" not "some elements"
123
+ - Say what's wrong AND why it matters to users
124
+ - Give concrete suggestions, not just "consider exploring..."
125
+ - Prioritize ruthlessly—if everything is important, nothing is
126
+ - Don't soften criticism—developers need honest feedback to ship great design