@theproductguy/create-mission-control 1.0.15 → 1.0.25

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 (51) hide show
  1. package/package.json +1 -1
  2. package/src/template/agent-os/WORKFLOW.md +139 -0
  3. package/src/template/agent-os/commands/adapt/adapt.md +189 -0
  4. package/src/template/agent-os/commands/animate/animate.md +184 -0
  5. package/src/template/agent-os/commands/audit/audit.md +123 -0
  6. package/src/template/agent-os/commands/bolder/bolder.md +126 -0
  7. package/src/template/agent-os/commands/clarify/clarify.md +173 -0
  8. package/src/template/agent-os/commands/colorize/colorize.md +152 -0
  9. package/src/template/agent-os/commands/critique/critique.md +112 -0
  10. package/src/template/agent-os/commands/delight/delight.md +311 -0
  11. package/src/template/agent-os/commands/design-screen/design-screen.md +5 -0
  12. package/src/template/agent-os/commands/design-shell/design-shell.md +5 -0
  13. package/src/template/agent-os/commands/design-tokens/design-tokens.md +5 -0
  14. package/src/template/agent-os/commands/extract/extract.md +88 -0
  15. package/src/template/agent-os/commands/harden/harden.md +351 -0
  16. package/src/template/agent-os/commands/impeccable/impeccable.md +163 -0
  17. package/src/template/agent-os/commands/normalize/normalize.md +61 -0
  18. package/src/template/agent-os/commands/onboard/onboard.md +236 -0
  19. package/src/template/agent-os/commands/optimize/optimize.md +262 -0
  20. package/src/template/agent-os/commands/plan-product/3-create-roadmap.md +7 -3
  21. package/src/template/agent-os/commands/polish/polish.md +196 -0
  22. package/src/template/agent-os/commands/quieter/quieter.md +112 -0
  23. package/src/template/agent-os/commands/simplify/simplify.md +131 -0
  24. package/src/template/agent-os/commands/teach-impeccable/teach-impeccable.md +67 -0
  25. package/src/template/control-center/backend/index.js +1 -1
  26. package/src/template/control-center/frontend/src/App.tsx +250 -943
  27. package/src/template/control-center/frontend/src/components/DesignOSOverlay.tsx +38 -0
  28. package/src/template/control-center/frontend/src/components/Guidance.tsx +56 -0
  29. package/src/template/control-center/frontend/src/components/NextStepCard.tsx +115 -0
  30. package/src/template/control-center/frontend/src/components/PromptButton.tsx +43 -0
  31. package/src/template/control-center/frontend/src/components/StatusItem.tsx +38 -0
  32. package/src/template/control-center/frontend/src/components/modals/CreateSpecModal.tsx +73 -0
  33. package/src/template/control-center/frontend/src/components/modals/DeleteSpecModal.tsx +42 -0
  34. package/src/template/control-center/frontend/src/components/modals/FileEditorModal.tsx +87 -0
  35. package/src/template/control-center/frontend/src/components/modals/SettingsModal.tsx +46 -0
  36. package/src/template/control-center/frontend/src/components/ui/ToastContext.tsx +1 -1
  37. package/src/template/control-center/frontend/src/contexts/IdeContext.tsx +6 -0
  38. package/src/template/control-center/frontend/src/hooks/useFileEditor.ts +42 -0
  39. package/src/template/control-center/frontend/src/hooks/useProjectState.ts +45 -0
  40. package/src/template/control-center/frontend/src/index.css +26 -0
  41. package/src/template/control-center/frontend/src/types.ts +65 -0
  42. package/src/template/control-center/frontend/tailwind.config.js +15 -3
  43. package/src/template/control-center/product/design-system/QA/audit-report.md +34 -0
  44. package/src/template/control-center/product/mission.md +38 -0
  45. package/src/template/control-center/product/roadmap.md +10 -0
  46. package/src/template/design-system/src/lib/product-loader.ts +6 -0
  47. package/src/template/package-lock.json +2756 -134
  48. package/src/template/package.json +2 -2
  49. package/src/template/agent-os-ui/_package.json +0 -54
  50. package/src/template/agent-os-ui/package.json +0 -54
  51. package/src/template/control-center/frontend/src/components/ThemeToggle.tsx +0 -64
@@ -0,0 +1,196 @@
1
+ # COMMAND: Polish
2
+ **Description**: Final quality pass before shipping. Fixes alignment, spacing, consistency, and detail issues that separate good from great.
3
+
4
+
5
+ **First**: Use the frontend-design skill for design principles and anti-patterns.
6
+
7
+ Perform a meticulous final pass to catch all the small details that separate good work from great work. The difference between shipped and polished.
8
+
9
+ ## Pre-Polish Assessment
10
+
11
+ Understand the current state and goals:
12
+
13
+ 1. **Review completeness**:
14
+ - Is it functionally complete?
15
+ - Are there known issues to preserve (mark with TODOs)?
16
+ - What's the quality bar? (MVP vs flagship feature?)
17
+ - When does it ship? (How much time for polish?)
18
+
19
+ 2. **Identify polish areas**:
20
+ - Visual inconsistencies
21
+ - Spacing and alignment issues
22
+ - Interaction state gaps
23
+ - Copy inconsistencies
24
+ - Edge cases and error states
25
+ - Loading and transition smoothness
26
+
27
+ **CRITICAL**: Polish is the last step, not the first. Don't polish work that's not functionally complete.
28
+
29
+ ## Polish Systematically
30
+
31
+ Work through these dimensions methodically:
32
+
33
+ ### Visual Alignment & Spacing
34
+
35
+ - **Pixel-perfect alignment**: Everything lines up to grid
36
+ - **Consistent spacing**: All gaps use spacing scale (no random 13px gaps)
37
+ - **Optical alignment**: Adjust for visual weight (icons may need offset for optical centering)
38
+ - **Responsive consistency**: Spacing and alignment work at all breakpoints
39
+ - **Grid adherence**: Elements snap to baseline grid
40
+
41
+ **Check**:
42
+ - Enable grid overlay and verify alignment
43
+ - Check spacing with browser inspector
44
+ - Test at multiple viewport sizes
45
+ - Look for elements that "feel" off
46
+
47
+ ### Typography Refinement
48
+
49
+ - **Hierarchy consistency**: Same elements use same sizes/weights throughout
50
+ - **Line length**: 45-75 characters for body text
51
+ - **Line height**: Appropriate for font size and context
52
+ - **Widows & orphans**: No single words on last line
53
+ - **Hyphenation**: Appropriate for language and column width
54
+ - **Kerning**: Adjust letter spacing where needed (especially headlines)
55
+ - **Font loading**: No FOUT/FOIT flashes
56
+
57
+ ### Color & Contrast
58
+
59
+ - **Contrast ratios**: All text meets WCAG standards
60
+ - **Consistent token usage**: No hard-coded colors, all use design tokens
61
+ - **Theme consistency**: Works in all theme variants
62
+ - **Color meaning**: Same colors mean same things throughout
63
+ - **Accessible focus**: Focus indicators visible with sufficient contrast
64
+ - **Tinted neutrals**: No pure gray or pure black—add subtle color tint (0.01 chroma)
65
+ - **Gray on color**: Never put gray text on colored backgrounds—use a shade of that color or transparency
66
+
67
+ ### Interaction States
68
+
69
+ Every interactive element needs all states:
70
+
71
+ - **Default**: Resting state
72
+ - **Hover**: Subtle feedback (color, scale, shadow)
73
+ - **Focus**: Keyboard focus indicator (never remove without replacement)
74
+ - **Active**: Click/tap feedback
75
+ - **Disabled**: Clearly non-interactive
76
+ - **Loading**: Async action feedback
77
+ - **Error**: Validation or error state
78
+ - **Success**: Successful completion
79
+
80
+ **Missing states create confusion and broken experiences**.
81
+
82
+ ### Micro-interactions & Transitions
83
+
84
+ - **Smooth transitions**: All state changes animated appropriately (150-300ms)
85
+ - **Consistent easing**: Use ease-out-quart/quint/expo for natural deceleration. Never bounce or elastic—they feel dated.
86
+ - **No jank**: 60fps animations, only animate transform and opacity
87
+ - **Appropriate motion**: Motion serves purpose, not decoration
88
+ - **Reduced motion**: Respects `prefers-reduced-motion`
89
+
90
+ ### Content & Copy
91
+
92
+ - **Consistent terminology**: Same things called same names throughout
93
+ - **Consistent capitalization**: Title Case vs Sentence case applied consistently
94
+ - **Grammar & spelling**: No typos
95
+ - **Appropriate length**: Not too wordy, not too terse
96
+ - **Punctuation consistency**: Periods on sentences, not on labels (unless all labels have them)
97
+
98
+ ### Icons & Images
99
+
100
+ - **Consistent style**: All icons from same family or matching style
101
+ - **Appropriate sizing**: Icons sized consistently for context
102
+ - **Proper alignment**: Icons align with adjacent text optically
103
+ - **Alt text**: All images have descriptive alt text
104
+ - **Loading states**: Images don't cause layout shift, proper aspect ratios
105
+ - **Retina support**: 2x assets for high-DPI screens
106
+
107
+ ### Forms & Inputs
108
+
109
+ - **Label consistency**: All inputs properly labeled
110
+ - **Required indicators**: Clear and consistent
111
+ - **Error messages**: Helpful and consistent
112
+ - **Tab order**: Logical keyboard navigation
113
+ - **Auto-focus**: Appropriate (don't overuse)
114
+ - **Validation timing**: Consistent (on blur vs on submit)
115
+
116
+ ### Edge Cases & Error States
117
+
118
+ - **Loading states**: All async actions have loading feedback
119
+ - **Empty states**: Helpful empty states, not just blank space
120
+ - **Error states**: Clear error messages with recovery paths
121
+ - **Success states**: Confirmation of successful actions
122
+ - **Long content**: Handles very long names, descriptions, etc.
123
+ - **No content**: Handles missing data gracefully
124
+ - **Offline**: Appropriate offline handling (if applicable)
125
+
126
+ ### Responsiveness
127
+
128
+ - **All breakpoints**: Test mobile, tablet, desktop
129
+ - **Touch targets**: 44x44px minimum on touch devices
130
+ - **Readable text**: No text smaller than 14px on mobile
131
+ - **No horizontal scroll**: Content fits viewport
132
+ - **Appropriate reflow**: Content adapts logically
133
+
134
+ ### Performance
135
+
136
+ - **Fast initial load**: Optimize critical path
137
+ - **No layout shift**: Elements don't jump after load (CLS)
138
+ - **Smooth interactions**: No lag or jank
139
+ - **Optimized images**: Appropriate formats and sizes
140
+ - **Lazy loading**: Off-screen content loads lazily
141
+
142
+ ### Code Quality
143
+
144
+ - **Remove console logs**: No debug logging in production
145
+ - **Remove commented code**: Clean up dead code
146
+ - **Remove unused imports**: Clean up unused dependencies
147
+ - **Consistent naming**: Variables and functions follow conventions
148
+ - **Type safety**: No TypeScript `any` or ignored errors
149
+ - **Accessibility**: Proper ARIA labels and semantic HTML
150
+
151
+ ## Polish Checklist
152
+
153
+ Go through systematically. **Save the results to `design-system/QA/polish-report.md`** (Create directory if missing).
154
+ Mark items as `[x]` (Verified) or `[ ]` (Pending/Not Applicable).
155
+
156
+ - [ ] Visual alignment perfect at all breakpoints
157
+ - [ ] Spacing uses design tokens consistently
158
+ - [ ] Typography hierarchy consistent
159
+ - [ ] All interactive states implemented
160
+ - [ ] All transitions smooth (60fps)
161
+ - [ ] Copy is consistent and polished
162
+ - [ ] Icons are consistent and properly sized
163
+ - [ ] All forms properly labeled and validated
164
+ - [ ] Error states are helpful
165
+ - [ ] Loading states are clear
166
+ - [ ] Empty states are welcoming
167
+ - [ ] Touch targets are 44x44px minimum
168
+ - [ ] Contrast ratios meet WCAG AA
169
+ - [ ] Keyboard navigation works
170
+ - [ ] Focus indicators visible
171
+ - [ ] No console errors or warnings
172
+ - [ ] No layout shift on load
173
+ - [ ] Works in all supported browsers
174
+ - [ ] Respects reduced motion preference
175
+ - [ ] Code is clean (no TODOs, console.logs, commented code)
176
+
177
+ **IMPORTANT**: Polish is about details. Zoom in. Squint at it. Use it yourself. The little things add up.
178
+
179
+ **NEVER**:
180
+ - Polish before it's functionally complete
181
+ - Spend hours on polish if it ships in 30 minutes (triage)
182
+ - Introduce bugs while polishing (test thoroughly)
183
+ - Ignore systematic issues (if spacing is off everywhere, fix the system)
184
+ - Perfect one thing while leaving others rough (consistent quality level)
185
+
186
+ ## Final Verification
187
+
188
+ Before marking as done:
189
+
190
+ - **Use it yourself**: Actually interact with the feature
191
+ - **Test on real devices**: Not just browser DevTools
192
+ - **Ask someone else to review**: Fresh eyes catch things
193
+ - **Compare to design**: Match intended design
194
+ - **Check all states**: Don't just test happy path
195
+
196
+ Remember: You have impeccable attention to detail and exquisite taste. Polish until it feels effortless, looks intentional, and works flawlessly. Sweat the details - they matter.
@@ -0,0 +1,112 @@
1
+ # COMMAND: Quieter
2
+ **Description**: Tone down overly bold or visually aggressive designs. Reduces intensity while maintaining design quality and impact.
3
+
4
+
5
+ Reduce visual intensity in designs that are too bold, aggressive, or overstimulating, creating a more refined and approachable aesthetic without losing effectiveness.
6
+
7
+ ## MANDATORY PREPARATION
8
+
9
+ ### Context Gathering (Do This First)
10
+
11
+ You cannot do a great job without having necessary context, such as target audience (critical), desired use-cases (critical), brand personality/tone, and everything else that a great human designer would need as well.
12
+
13
+ Attempt to gather these from the current thread or codebase.
14
+
15
+ 1. If you don't find *exact* information and have to infer from existing design and functionality, you MUST STOP and ask the user directly to clarify what you cannot infer. whether you got it right.
16
+ 2. Otherwise, if you can't fully infer or your level of confidence is medium or lower, you MUST ask the user directly to clarify what you cannot infer. clarifying questions first to complete your context.
17
+
18
+ Do NOT proceed until you have answers. Guessing leads to generic design.
19
+
20
+ ### Use frontend-design skill
21
+
22
+ Use the frontend-design skill for design principles and anti-patterns. Do NOT proceed until it has executed and you know all DO's and DON'Ts.
23
+
24
+ ---
25
+
26
+ ## Assess Current State
27
+
28
+ Analyze what makes the design feel too intense:
29
+
30
+ 1. **Identify intensity sources**:
31
+ - **Color saturation**: Overly bright or saturated colors
32
+ - **Contrast extremes**: Too much high-contrast juxtaposition
33
+ - **Visual weight**: Too many bold, heavy elements competing
34
+ - **Animation excess**: Too much motion or overly dramatic effects
35
+ - **Complexity**: Too many visual elements, patterns, or decorations
36
+ - **Scale**: Everything is large and loud with no hierarchy
37
+
38
+ 2. **Understand the context**:
39
+ - What's the purpose? (Marketing vs tool vs reading experience)
40
+ - Who's the audience? (Some contexts need energy)
41
+ - What's working? (Don't throw away good ideas)
42
+ - What's the core message? (Preserve what matters)
43
+
44
+ If any of these are unclear from the codebase, ask the user directly to clarify what you cannot infer.
45
+
46
+ **CRITICAL**: "Quieter" doesn't mean boring or generic. It means refined, sophisticated, and easier on the eyes. Think luxury, not laziness.
47
+
48
+ ## Plan Refinement
49
+
50
+ Create a strategy to reduce intensity while maintaining impact:
51
+
52
+ - **Color approach**: Desaturate or shift to more sophisticated tones?
53
+ - **Hierarchy approach**: Which elements should stay bold (very few), which should recede?
54
+ - **Simplification approach**: What can be removed entirely?
55
+ - **Sophistication approach**: How can we signal quality through restraint?
56
+
57
+ **IMPORTANT**: Great quiet design is harder than great bold design. Subtlety requires precision.
58
+
59
+ ## Refine the Design
60
+
61
+ Systematically reduce intensity across these dimensions:
62
+
63
+ ### Color Refinement
64
+ - **Reduce saturation**: Shift from fully saturated to 70-85% saturation
65
+ - **Soften palette**: Replace bright colors with muted, sophisticated tones
66
+ - **Reduce color variety**: Use fewer colors more thoughtfully
67
+ - **Neutral dominance**: Let neutrals do more work, use color as accent (10% rule)
68
+ - **Gentler contrasts**: High contrast only where it matters most
69
+ - **Tinted grays**: Use warm or cool tinted grays instead of pure gray—adds sophistication without loudness
70
+ - **Never gray on color**: If you have gray text on a colored background, use a darker shade of that color or transparency instead
71
+
72
+ ### Visual Weight Reduction
73
+ - **Typography**: Reduce font weights (900 → 600, 700 → 500), decrease sizes where appropriate
74
+ - **Hierarchy through subtlety**: Use weight, size, and space instead of color and boldness
75
+ - **White space**: Increase breathing room, reduce density
76
+ - **Borders & lines**: Reduce thickness, decrease opacity, or remove entirely
77
+
78
+ ### Simplification
79
+ - **Remove decorative elements**: Gradients, shadows, patterns, textures that don't serve purpose
80
+ - **Simplify shapes**: Reduce border radius extremes, simplify custom shapes
81
+ - **Reduce layering**: Flatten visual hierarchy where possible
82
+ - **Clean up effects**: Reduce or remove blur effects, glows, multiple shadows
83
+
84
+ ### Motion Reduction
85
+ - **Reduce animation intensity**: Shorter distances (10-20px instead of 40px), gentler easing
86
+ - **Remove decorative animations**: Keep functional motion, remove flourishes
87
+ - **Subtle micro-interactions**: Replace dramatic effects with gentle feedback
88
+ - **Refined easing**: Use ease-out-quart for smooth, understated motion—never bounce or elastic
89
+ - **Remove animations entirely** if they're not serving a clear purpose
90
+
91
+ ### Composition Refinement
92
+ - **Reduce scale jumps**: Smaller contrast between sizes creates calmer feeling
93
+ - **Align to grid**: Bring rogue elements back into systematic alignment
94
+ - **Even out spacing**: Replace extreme spacing variations with consistent rhythm
95
+
96
+ **NEVER**:
97
+ - Make everything the same size/weight (hierarchy still matters)
98
+ - Remove all color (quiet ≠ grayscale)
99
+ - Eliminate all personality (maintain character through refinement)
100
+ - Sacrifice usability for aesthetics (functional elements still need clear affordances)
101
+ - Make everything small and light (some anchors needed)
102
+
103
+ ## Verify Quality
104
+
105
+ Ensure refinement maintains quality:
106
+
107
+ - **Still functional**: Can users still accomplish tasks easily?
108
+ - **Still distinctive**: Does it have character, or is it generic now?
109
+ - **Better reading**: Is text easier to read for extended periods?
110
+ - **Sophistication**: Does it feel more refined and premium?
111
+
112
+ Remember: Quiet design is confident design. It doesn't need to shout. Less is more, but less is also harder. Refine with precision and maintain intentionality.
@@ -0,0 +1,131 @@
1
+ # COMMAND: Simplify
2
+ **Description**: Strip designs to their essence by removing unnecessary complexity. Great design is simple, powerful, and clean.
3
+
4
+
5
+ Remove unnecessary complexity from designs, revealing the essential elements and creating clarity through ruthless simplification.
6
+
7
+ ## MANDATORY PREPARATION
8
+
9
+ ### Context Gathering (Do This First)
10
+
11
+ You cannot do a great job without having necessary context, such as target audience (critical), desired use-cases (critical), and understanding what's truly essential vs nice-to-have for this product.
12
+
13
+ Attempt to gather these from the current thread or codebase.
14
+
15
+ 1. If you don't find *exact* information and have to infer from existing design and functionality, you MUST STOP and ask the user directly to clarify what you cannot infer. whether you got it right.
16
+ 2. Otherwise, if you can't fully infer or your level of confidence is medium or lower, you MUST ask the user directly to clarify what you cannot infer. clarifying questions first to complete your context.
17
+
18
+ Do NOT proceed until you have answers. Simplifying the wrong things destroys usability.
19
+
20
+ ### Use frontend-design skill
21
+
22
+ Use the frontend-design skill for design principles and anti-patterns. Do NOT proceed until it has executed and you know all DO's and DON'Ts.
23
+
24
+ ---
25
+
26
+ ## Assess Current State
27
+
28
+ Analyze what makes the design feel complex or cluttered:
29
+
30
+ 1. **Identify complexity sources**:
31
+ - **Too many elements**: Competing buttons, redundant information, visual clutter
32
+ - **Excessive variation**: Too many colors, fonts, sizes, styles without purpose
33
+ - **Information overload**: Everything visible at once, no progressive disclosure
34
+ - **Visual noise**: Unnecessary borders, shadows, backgrounds, decorations
35
+ - **Confusing hierarchy**: Unclear what matters most
36
+ - **Feature creep**: Too many options, actions, or paths forward
37
+
38
+ 2. **Find the essence**:
39
+ - What's the primary user goal? (There should be ONE)
40
+ - What's actually necessary vs nice-to-have?
41
+ - What can be removed, hidden, or combined?
42
+ - What's the 20% that delivers 80% of value?
43
+
44
+ If any of these are unclear from the codebase, ask the user directly to clarify what you cannot infer.
45
+
46
+ **CRITICAL**: Simplicity is not about removing features - it's about removing obstacles between users and their goals. Every element should justify its existence.
47
+
48
+ ## Plan Simplification
49
+
50
+ Create a ruthless editing strategy:
51
+
52
+ - **Core purpose**: What's the ONE thing this should accomplish?
53
+ - **Essential elements**: What's truly necessary to achieve that purpose?
54
+ - **Progressive disclosure**: What can be hidden until needed?
55
+ - **Consolidation opportunities**: What can be combined or integrated?
56
+
57
+ **IMPORTANT**: Simplification is hard. It requires saying no to good ideas to make room for great execution. Be ruthless.
58
+
59
+ ## Simplify the Design
60
+
61
+ Systematically remove complexity across these dimensions:
62
+
63
+ ### Information Architecture
64
+ - **Reduce scope**: Remove secondary actions, optional features, redundant information
65
+ - **Progressive disclosure**: Hide complexity behind clear entry points (accordions, modals, step-through flows)
66
+ - **Combine related actions**: Merge similar buttons, consolidate forms, group related content
67
+ - **Clear hierarchy**: ONE primary action, few secondary actions, everything else tertiary or hidden
68
+ - **Remove redundancy**: If it's said elsewhere, don't repeat it here
69
+
70
+ ### Visual Simplification
71
+ - **Reduce color palette**: Use 1-2 colors plus neutrals, not 5-7 colors
72
+ - **Limit typography**: One font family, 3-4 sizes maximum, 2-3 weights
73
+ - **Remove decorations**: Eliminate borders, shadows, backgrounds that don't serve hierarchy or function
74
+ - **Flatten structure**: Reduce nesting, remove unnecessary containers—never nest cards inside cards
75
+ - **Remove unnecessary cards**: Cards aren't needed for basic layout; use spacing and alignment instead
76
+ - **Consistent spacing**: Use one spacing scale, remove arbitrary gaps
77
+
78
+ ### Layout Simplification
79
+ - **Linear flow**: Replace complex grids with simple vertical flow where possible
80
+ - **Remove sidebars**: Move secondary content inline or hide it
81
+ - **Full-width**: Use available space generously instead of complex multi-column layouts
82
+ - **Consistent alignment**: Pick left or center, stick with it
83
+ - **Generous white space**: Let content breathe, don't pack everything tight
84
+
85
+ ### Interaction Simplification
86
+ - **Reduce choices**: Fewer buttons, fewer options, clearer path forward (paradox of choice is real)
87
+ - **Smart defaults**: Make common choices automatic, only ask when necessary
88
+ - **Inline actions**: Replace modal flows with inline editing where possible
89
+ - **Remove steps**: Can signup be one step instead of three? Can checkout be simplified?
90
+ - **Clear CTAs**: ONE obvious next step, not five competing actions
91
+
92
+ ### Content Simplification
93
+ - **Shorter copy**: Cut every sentence in half, then do it again
94
+ - **Active voice**: "Save changes" not "Changes will be saved"
95
+ - **Remove jargon**: Plain language always wins
96
+ - **Scannable structure**: Short paragraphs, bullet points, clear headings
97
+ - **Essential information only**: Remove marketing fluff, legalese, hedging
98
+ - **Remove redundant copy**: No headers restating intros, no repeated explanations, say it once
99
+
100
+ ### Code Simplification
101
+ - **Remove unused code**: Dead CSS, unused components, orphaned files
102
+ - **Flatten component trees**: Reduce nesting depth
103
+ - **Consolidate styles**: Merge similar styles, use utilities consistently
104
+ - **Reduce variants**: Does that component need 12 variations, or can 3 cover 90% of cases?
105
+
106
+ **NEVER**:
107
+ - Remove necessary functionality (simplicity ≠ feature-less)
108
+ - Sacrifice accessibility for simplicity (clear labels and ARIA still required)
109
+ - Make things so simple they're unclear (mystery ≠ minimalism)
110
+ - Remove information users need to make decisions
111
+ - Eliminate hierarchy completely (some things should stand out)
112
+ - Oversimplify complex domains (match complexity to actual task complexity)
113
+
114
+ ## Verify Simplification
115
+
116
+ Ensure simplification improves usability:
117
+
118
+ - **Faster task completion**: Can users accomplish goals more quickly?
119
+ - **Reduced cognitive load**: Is it easier to understand what to do?
120
+ - **Still complete**: Are all necessary features still accessible?
121
+ - **Clearer hierarchy**: Is it obvious what matters most?
122
+ - **Better performance**: Does simpler design load faster?
123
+
124
+ ## Document Removed Complexity
125
+
126
+ If you removed features or options:
127
+ - Document why they were removed
128
+ - Consider if they need alternative access points
129
+ - Note any user feedback to monitor
130
+
131
+ Remember: You have great taste and judgment. Simplification is an act of confidence - knowing what to keep and courage to remove the rest. As Antoine de Saint-Exupéry said: "Perfection is achieved not when there is nothing more to add, but when there is nothing left to take away."
@@ -0,0 +1,67 @@
1
+ # COMMAND: Teach-impeccable
2
+ **Description**: One-time setup that gathers design context for your project and saves it to your AI config file. Run once to establish persistent design guidelines.
3
+
4
+
5
+ Gather design context for this project, then persist it for all future sessions.
6
+
7
+ ## Step 1: Explore the Codebase
8
+
9
+ Before asking questions, thoroughly scan the project to discover what you can:
10
+
11
+ - **README and docs**: Project purpose, target audience, any stated goals
12
+ - **Package.json / config files**: Tech stack, dependencies, existing design libraries
13
+ - **Existing components**: Current design patterns, spacing, typography in use
14
+ - **Brand assets**: Logos, favicons, color values already defined
15
+ - **Design tokens / CSS variables**: Existing color palettes, font stacks, spacing scales
16
+ - **Any style guides or brand documentation**
17
+
18
+ Note what you've learned and what remains unclear.
19
+
20
+ ## Step 2: Ask UX-Focused Questions
21
+
22
+ ask the user directly to clarify what you cannot infer. Focus only on what you couldn't infer from the codebase:
23
+
24
+ ### Users & Purpose
25
+ - Who uses this? What's their context when using it?
26
+ - What job are they trying to get done?
27
+ - What emotions should the interface evoke? (confidence, delight, calm, urgency, etc.)
28
+
29
+ ### Brand & Personality
30
+ - How would you describe the brand personality in 3 words?
31
+ - Any reference sites or apps that capture the right feel? What specifically about them?
32
+ - What should this explicitly NOT look like? Any anti-references?
33
+
34
+ ### Aesthetic Preferences
35
+ - Any strong preferences for visual direction? (minimal, bold, elegant, playful, technical, organic, etc.)
36
+ - Light mode, dark mode, or both?
37
+ - Any colors that must be used or avoided?
38
+
39
+ ### Accessibility & Inclusion
40
+ - Specific accessibility requirements? (WCAG level, known user needs)
41
+ - Considerations for reduced motion, color blindness, or other accommodations?
42
+
43
+ Skip questions where the answer is already clear from the codebase exploration.
44
+
45
+ ## Step 3: Write Design Context
46
+
47
+ Synthesize your findings and the user's answers into a `## Design Context` section:
48
+
49
+ ```markdown
50
+ ## Design Context
51
+
52
+ ### Users
53
+ [Who they are, their context, the job to be done]
54
+
55
+ ### Brand Personality
56
+ [Voice, tone, 3-word personality, emotional goals]
57
+
58
+ ### Aesthetic Direction
59
+ [Visual tone, references, anti-references, theme]
60
+
61
+ ### Design Principles
62
+ [3-5 principles derived from the conversation that should guide all design decisions]
63
+ ```
64
+
65
+ Write this section to GEMINI.md in the project root. If the file exists, append or update the Design Context section.
66
+
67
+ Confirm completion and summarize the key design principles that will now guide all future work.
@@ -37,7 +37,7 @@ const parseStatus = (relativePath) => {
37
37
  // Find next incomplete item and all items
38
38
  let nextItem = null;
39
39
  const items = [];
40
- const lines = content.split('\n');
40
+ const lines = content.split(/\r?\n/);
41
41
 
42
42
  for (const line of lines) {
43
43
  const match = line.match(/^\s*-\s*\[([ x])\]\s*(.+)$/);