command-code 1.93.1 → 1.93.2
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/CHANGELOG.md +7 -1
- package/dist/bundled/agent-browser/SKILL.md +73 -0
- package/dist/bundled/command-code-knowledge/SKILL.md +68 -0
- package/dist/bundled/command-code-knowledge/live-models.ts +284 -0
- package/dist/bundled/command-code-knowledge/reference/byok.md +389 -0
- package/dist/bundled/command-code-knowledge/reference/custom-agents.md +341 -0
- package/dist/bundled/command-code-knowledge/reference/custom-slash-commands.md +423 -0
- package/dist/bundled/command-code-knowledge/reference/headless.md +381 -0
- package/dist/bundled/command-code-knowledge/reference/hooks.md +1107 -0
- package/dist/bundled/command-code-knowledge/reference/mcp.md +648 -0
- package/dist/bundled/command-code-knowledge/reference/memory.md +137 -0
- package/dist/bundled/command-code-knowledge/reference/models.md +145 -0
- package/dist/bundled/command-code-knowledge/reference/permissions.md +486 -0
- package/dist/bundled/command-code-knowledge/reference/plan-mode.md +283 -0
- package/dist/bundled/command-code-knowledge/reference/plans.md +16 -0
- package/dist/bundled/command-code-knowledge/reference/product-help.md +490 -0
- package/dist/bundled/command-code-knowledge/reference/sessions.md +377 -0
- package/dist/bundled/command-code-knowledge/reference/skills.md +1009 -0
- package/dist/bundled/command-code-knowledge/reference/tools.md +522 -0
- package/dist/bundled/config/SKILL.md +18 -0
- package/dist/bundled/config/references/permissions.md +27 -0
- package/dist/bundled/config/references/settings.md +50 -0
- package/dist/bundled/design/SKILL.md +448 -0
- package/dist/bundled/design/references/accessibility.md +404 -0
- package/dist/bundled/design/references/border.md +161 -0
- package/dist/bundled/design/references/button.md +192 -0
- package/dist/bundled/design/references/checkup.md +164 -0
- package/dist/bundled/design/references/color.md +245 -0
- package/dist/bundled/design/references/create.md +291 -0
- package/dist/bundled/design/references/design-html.md +227 -0
- package/dist/bundled/design/references/deslop.md +285 -0
- package/dist/bundled/design/references/finish.md +156 -0
- package/dist/bundled/design/references/interaction.md +186 -0
- package/dist/bundled/design/references/layout.md +216 -0
- package/dist/bundled/design/references/media.md +112 -0
- package/dist/bundled/design/references/motion.md +237 -0
- package/dist/bundled/design/references/redesign.md +197 -0
- package/dist/bundled/design/references/refine.md +193 -0
- package/dist/bundled/design/references/reflexes.md +132 -0
- package/dist/bundled/design/references/relayout.md +207 -0
- package/dist/bundled/design/references/report-html.md +235 -0
- package/dist/bundled/design/references/responsive.md +233 -0
- package/dist/bundled/design/references/review.md +164 -0
- package/dist/bundled/design/references/setup.md +119 -0
- package/dist/bundled/design/references/severity.md +111 -0
- package/dist/bundled/design/references/shadow.md +164 -0
- package/dist/bundled/design/references/smell.md +213 -0
- package/dist/bundled/design/references/style-3d.md +23 -0
- package/dist/bundled/design/references/style-bento.md +21 -0
- package/dist/bundled/design/references/style-editorial.md +23 -0
- package/dist/bundled/design/references/style-futuristic.md +21 -0
- package/dist/bundled/design/references/style-glassmorphism.md +52 -0
- package/dist/bundled/design/references/style-maximalism.md +20 -0
- package/dist/bundled/design/references/style-minimalism.md +21 -0
- package/dist/bundled/design/references/style-neo-brutalism.md +21 -0
- package/dist/bundled/design/references/style-retro-futurism.md +21 -0
- package/dist/bundled/design/references/style-swiss.md +20 -0
- package/dist/bundled/design/references/style.md +77 -0
- package/dist/bundled/design/references/surface.md +163 -0
- package/dist/bundled/design/references/system.md +73 -0
- package/dist/bundled/design/references/typeset.md +210 -0
- package/dist/bundled/design/references/variants.md +193 -0
- package/dist/bundled/design/references/voice.md +184 -0
- package/dist/bundled/design/references/writing.md +174 -0
- package/dist/bundled/design/scripts/check/color.mjs +213 -0
- package/dist/bundled/design/scripts/check/contrast.mjs +141 -0
- package/dist/bundled/design/scripts/check/css.mjs +223 -0
- package/dist/bundled/design/scripts/check/named-colors.mjs +152 -0
- package/dist/bundled/design/scripts/check/pair.mjs +61 -0
- package/dist/bundled/design/scripts/check/preview.mjs +27 -0
- package/dist/bundled/design/scripts/check/reflexes.mjs +257 -0
- package/dist/bundled/design/scripts/check/sources.mjs +237 -0
- package/dist/bundled/design/scripts/check.mjs +165 -0
- package/dist/bundled/loop/SKILL.md +16 -0
- package/dist/bundled/mod-builder/SKILL.md +135 -0
- package/dist/bundled/mod-builder/examples/block-dangerous-commands.ts +41 -0
- package/dist/bundled/mod-builder/examples/custom-entry-renderer.ts +32 -0
- package/dist/bundled/mod-builder/examples/custom-tool.ts +53 -0
- package/dist/bundled/mod-builder/examples/flags-and-options.ts +29 -0
- package/dist/bundled/mod-builder/examples/input-shortcuts.ts +41 -0
- package/dist/bundled/mod-builder/examples/kitchen-sink.ts +129 -0
- package/dist/bundled/mod-builder/examples/lifecycle-hooks.ts +64 -0
- package/dist/bundled/mod-builder/examples/model-router.ts +43 -0
- package/dist/bundled/mod-builder/examples/observe-events.ts +30 -0
- package/dist/bundled/mod-builder/examples/pane-and-buttons.ts +60 -0
- package/dist/bundled/mod-builder/examples/pane-form.ts +68 -0
- package/dist/bundled/mod-builder/examples/permission-policy.ts +34 -0
- package/dist/bundled/mod-builder/examples/redact-secrets.ts +46 -0
- package/dist/bundled/mod-builder/examples/slash-command.ts +33 -0
- package/dist/bundled/mod-builder/examples/spinner-count.ts +47 -0
- package/dist/bundled/mod-builder/examples/stream-filter.ts +70 -0
- package/dist/bundled/mod-builder/reference/api.md +140 -0
- package/dist/bundled/mod-builder/reference/hooks-and-events.md +347 -0
- package/dist/bundled/mod-builder/reference/overview.md +271 -0
- package/dist/bundled/mod-builder/reference/packaging.md +187 -0
- package/dist/bundled/mod-builder/reference/ui.md +253 -0
- package/dist/bundled/mod-builder/reference/verify.md +67 -0
- package/dist/bundled/skill-builder/SKILL.md +104 -0
- package/dist/cli.mjs +16 -0
- package/dist/index.mjs +2 -0
- package/package.json +1 -1
- package/vsix/commandcode-vscode.vsix +0 -0
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
# Redesign: `/design redesign`
|
|
2
|
+
|
|
3
|
+
Redesign makes the same product feel like a different visual product. The job, content, and core flows stay intact. The visual world changes.
|
|
4
|
+
|
|
5
|
+
This is not polish. This is not relayout. This is not color work. Redesign replaces the surface language end to end.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Discipline files
|
|
10
|
+
|
|
11
|
+
This mode drives the full redesign. These files are reference material — consult them when each dimension comes up during the redesign, not as a separate pass:
|
|
12
|
+
|
|
13
|
+
- [color.md](color.md) — for correct palette construction when choosing the new color system
|
|
14
|
+
- [typeset.md](typeset.md) — for correct type hierarchy when building the new type voice
|
|
15
|
+
- [layout.md](layout.md) — for correct spatial logic when choosing the new composition
|
|
16
|
+
- [border.md](border.md) — for correct edge language when choosing the new radius and frame system
|
|
17
|
+
- [shadow.md](shadow.md) — for correct depth decisions when setting or removing elevation
|
|
18
|
+
- [motion.md](motion.md) — for correct timing and easing when defining the new motion personality
|
|
19
|
+
- [button.md](button.md) — for correct control states when replacing the component language
|
|
20
|
+
- [media.md](media.md) — for sourcing, clearing, and verifying any new photo or video in the new treatment
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Pre-execution checklist
|
|
25
|
+
|
|
26
|
+
Before proceeding, check for existing reports in the `.commandcode/design/` directory. Look for these files:
|
|
27
|
+
|
|
28
|
+
- `checkup-report.md`
|
|
29
|
+
- `review-report.md`
|
|
30
|
+
- `smell-report.md`
|
|
31
|
+
|
|
32
|
+
If any of these files exist, read the report content and use it as context for your analysis. Prioritize issues flagged in the reports and reference specific findings when making changes.
|
|
33
|
+
|
|
34
|
+
If no reports are found, proceed with the task normally.
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Composition Reset
|
|
39
|
+
|
|
40
|
+
I do not redesign by repainting the old layout.
|
|
41
|
+
|
|
42
|
+
I identify the product's dominant work pattern and choose a new composition from that job: monitor, operate, compare, configure, learn, decide, or explore.
|
|
43
|
+
|
|
44
|
+
The new direction must change the spatial premise. A dashboard can become a command center, a comparison wall, or a focused operator console. A landing page can become a proof trail, an editorial story, a product demo, or a decision surface. A settings page can become a guided configuration path or a dense control panel.
|
|
45
|
+
|
|
46
|
+
The composition shift must be visible before color, type, or motion are noticed.
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Full-Surface Bar
|
|
51
|
+
|
|
52
|
+
`/design redesign` must transform the surface as a system. It is not a hero-only makeover.
|
|
53
|
+
|
|
54
|
+
At minimum, I change composition, color roles, type hierarchy, component language, buttons or controls, edges, depth, states, and responsive behavior where those parts exist.
|
|
55
|
+
|
|
56
|
+
If the old design is still recognizable after swapping only colors and font sizes, the redesign failed.
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## What Stays
|
|
61
|
+
|
|
62
|
+
I preserve the user's goals, task logic, content priority, accessibility bar, performance expectations, and core flow.
|
|
63
|
+
|
|
64
|
+
If the interface worked functionally before, it should still work after. Ideally it works with more clarity.
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## What Changes
|
|
69
|
+
|
|
70
|
+
Every visual system is open.
|
|
71
|
+
|
|
72
|
+
Color gets a new mood and semantic vocabulary. Typography gets a new voice and hierarchy. Layout gets a new composition logic. Components get new shape, density, and affordance. Borders and radii get a new edge language. Shadows get a new depth model, or disappear. Motion gets a new personality. Imagery and iconography get a new treatment.
|
|
73
|
+
|
|
74
|
+
Old tokens do not carry forward by accident. Anything reused is deliberately re-adopted.
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## The Direction
|
|
79
|
+
|
|
80
|
+
A redesign needs a creative direction before it needs values.
|
|
81
|
+
|
|
82
|
+
I name the concept in plain language. I name mood words that are physical and specific. I name what the direction is not. I name references when they help, but I do not clone them.
|
|
83
|
+
|
|
84
|
+
If the direction is vague, the redesign becomes a pile of new parts. I sharpen the direction before building.
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## Distance From The Old Design
|
|
89
|
+
|
|
90
|
+
The new version must be visibly different.
|
|
91
|
+
|
|
92
|
+
If the old and new buttons, cards, headings, and surfaces can be swapped without anyone noticing, the redesign did not go far enough.
|
|
93
|
+
|
|
94
|
+
Different does not mean louder. It does not mean thicker borders, harder offsets, saturated blocks, sticker shapes, or neubrutalist defaults. It means the new system has its own spine.
|
|
95
|
+
|
|
96
|
+
I can make a redesign quieter, sharper, more editorial, more operational, more tactile, more luxurious, more utilitarian, more technical, more human, or more information-dense. Loud is only one lane.
|
|
97
|
+
|
|
98
|
+
If my first instinct is high-contrast blocks, chunky cards, hard black borders, offset shadows, pill CTAs, or sticker-like accents, I stop and ask whether the current product actually asked for that physical language. If not, I choose another direction.
|
|
99
|
+
|
|
100
|
+
When a previous redesign in the conversation used a blocky or neubrutalist lane, I do not repeat that lane by default. I change the physical language, not just the colors.
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## Cohesion
|
|
105
|
+
|
|
106
|
+
Redesign succeeds only when the whole surface belongs to one world.
|
|
107
|
+
|
|
108
|
+
Hero, footer, empty state, error state, modal, dropdown, table, form, button, hover, focus, loading, and success all need the same visual DNA.
|
|
109
|
+
|
|
110
|
+
One new font with old shadows is not a redesign. New color on old components is not a redesign. Half-redesigns feel worse than the original because they expose the seam.
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## Possible Directions
|
|
115
|
+
|
|
116
|
+
I choose directions based on the brief, not trend appetite.
|
|
117
|
+
|
|
118
|
+
**Minimal Swiss**: strict grid, precise type, restrained color, low depth.
|
|
119
|
+
|
|
120
|
+
**Editorial**: strong type contrast, slower pacing, rules, columns, image-led or prose-led rhythm.
|
|
121
|
+
|
|
122
|
+
**Brutalist**: raw structure, hard edges, exposed grid, high contrast, little softness. Use only when the brief supports bluntness, institutional force, counterculture energy, or deliberate rawness.
|
|
123
|
+
|
|
124
|
+
**Playful blocky**: saturated color, chunky shapes, hard offsets, bold rhythm. Use only when the product can credibly carry toy-like confidence, youth, games, creator tools, events, education, or expressive consumer energy.
|
|
125
|
+
|
|
126
|
+
**Tactile**: material cues, warm surfaces, grounded depth, slower physical motion.
|
|
127
|
+
|
|
128
|
+
**Maximal expressive**: layered composition, strong color, ambitious type, high art direction.
|
|
129
|
+
|
|
130
|
+
**Monochrome typographic**: type carries almost everything, with tight discipline.
|
|
131
|
+
|
|
132
|
+
**Dark utility**: dense, technical, fast, border-led, semantic color only where useful.
|
|
133
|
+
|
|
134
|
+
I do not stack aesthetics just because they are available. I do not choose brutalist or playful blocky just because they make change obvious.
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## System Rebuild
|
|
139
|
+
|
|
140
|
+
I rebuild the visual systems together.
|
|
141
|
+
|
|
142
|
+
Color and type set the voice. Layout sets the path. Borders, radius, and shadow set physicality. Buttons and inputs set interaction tone. Motion sets temperament. Imagery sets specificity.
|
|
143
|
+
|
|
144
|
+
Each reference file can inform the rebuild, but none of them gets copied mechanically. Redesign is one authored system.
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
## States And Edges
|
|
149
|
+
|
|
150
|
+
The new direction applies to real life.
|
|
151
|
+
|
|
152
|
+
Empty, loading, error, success, disabled, hover, focus, active, selected, overflow, long content, no content, slow network, narrow viewport, and wide viewport all need the new language.
|
|
153
|
+
|
|
154
|
+
A redesign that only covers the happy screenshot is unfinished.
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
## What I Refuse
|
|
159
|
+
|
|
160
|
+
- Polishing and calling it redesign
|
|
161
|
+
- Hero-only redesigns
|
|
162
|
+
- Reusing old component language with new colors
|
|
163
|
+
- Recoloring old components and calling it redesign
|
|
164
|
+
- Trend-stacking
|
|
165
|
+
- Copying a competitor's rebrand
|
|
166
|
+
- Losing function for portfolio screenshots
|
|
167
|
+
- Accessibility regression
|
|
168
|
+
- Old shadows, old radii, or old motion sneaking in by inertia
|
|
169
|
+
- Creating style guide, report, or extra documentation unless explicitly asked
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
## How I Know Redesign Worked
|
|
174
|
+
|
|
175
|
+
- The redesign is visible across the whole surface, not only the first viewport
|
|
176
|
+
- Old and new feel like different visual products
|
|
177
|
+
- The core task still works
|
|
178
|
+
- Every system speaks the same new language
|
|
179
|
+
- The personality is legible in a few seconds
|
|
180
|
+
- States and edge cases match the redesign
|
|
181
|
+
- Accessibility and performance are not worse
|
|
182
|
+
- The result feels authored, not trend-composed
|
|
183
|
+
|
|
184
|
+
## Design System Update
|
|
185
|
+
|
|
186
|
+
After the full redesign is complete, update the design-system artifacts following [references/system.md](system.md).
|
|
187
|
+
|
|
188
|
+
- If `.commandcode/design/design-system.md` exists — overwrite all sections with the new visual system (redesign replaces everything: palette, type, spacing, component tokens, anti-references).
|
|
189
|
+
- If it does not exist — create both `.commandcode/design/design-system.md` (full token spec) and `.commandcode/design/design-system.html` (visual preview using `references/design-html.md` as template).
|
|
190
|
+
|
|
191
|
+
Do this in the same turn. Never ask the user to run a separate command. Every token written must be backed by a real CSS custom property or Tailwind theme entry that components reference — not a value repeated by coincidence. See `references/system.md` for the strict rule.
|
|
192
|
+
|
|
193
|
+
STRICT RULE — NEVER BREAK THIS
|
|
194
|
+
Do not create report.md, any kind of report, summary, analysis file,
|
|
195
|
+
or extra documentation. This applies every time this file is used.
|
|
196
|
+
Generate no reports unless explicitly asked.
|
|
197
|
+
Exception: `.commandcode/design/design-system.md` and `.commandcode/design/design-system.html` are required design-system artifacts, not reports or extra documentation. The "Design System Update" section above applies to those two files and supersedes this rule for them only.
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
# Refine
|
|
2
|
+
|
|
3
|
+
Refine changes the character of an existing design without pretending it is a new brief. I choose the move that fits the diagnosis, not the move that sounds fun.
|
|
4
|
+
|
|
5
|
+
Refinement is a designer's hand on the volume, density, clarity, resilience, and pleasure of a surface.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Pre-execution checklist
|
|
10
|
+
|
|
11
|
+
Before proceeding, check for existing reports in the `.commandcode/design/` directory. Look for these files:
|
|
12
|
+
|
|
13
|
+
- `checkup-report.md`
|
|
14
|
+
- `review-report.md`
|
|
15
|
+
- `smell-report.md`
|
|
16
|
+
|
|
17
|
+
If any of these files exist, read the report content and use it as context for your analysis. Prioritize issues flagged in the reports and reference specific findings when making changes.
|
|
18
|
+
|
|
19
|
+
If no reports are found, proceed with the task normally.
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Composition Pressure
|
|
26
|
+
|
|
27
|
+
Refinement starts by checking whether the composition matches the work pattern.
|
|
28
|
+
|
|
29
|
+
Monitor should become clearer about priority and change.
|
|
30
|
+
|
|
31
|
+
Operate should bring tools, targets, and feedback closer together.
|
|
32
|
+
|
|
33
|
+
Compare should strengthen alignment, sorting, filtering, and scan rhythm.
|
|
34
|
+
|
|
35
|
+
Configure should clarify groups, dependencies, preview, and commit.
|
|
36
|
+
|
|
37
|
+
Learn should improve pacing, measure, and progression.
|
|
38
|
+
|
|
39
|
+
Decide should remove distraction around proof and action.
|
|
40
|
+
|
|
41
|
+
Explore should make paths, filters, and backtracking easier.
|
|
42
|
+
|
|
43
|
+
I refine toward the job. I do not polish the wrong composition.
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Transformation Bar
|
|
48
|
+
|
|
49
|
+
`/design refine` must visibly change the surface in the chosen direction.
|
|
50
|
+
|
|
51
|
+
At minimum, I name the move, apply it to the relevant parts of the surface, and verify that the rendered result changed in character, clarity, resilience, or delight.
|
|
52
|
+
|
|
53
|
+
One small detail, one hover effect, or one copy edit does not count as refinement unless the user explicitly asked for that exact detail.
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## How I Choose The Move
|
|
58
|
+
|
|
59
|
+
If the design is safe and flat, I **push** it — stronger commitment, sharper point of view.
|
|
60
|
+
|
|
61
|
+
If the design is loud and exhausting, I **settle** it — less competition, more control.
|
|
62
|
+
|
|
63
|
+
If the design is cluttered, I **strip** it — remove what does not serve the primary job.
|
|
64
|
+
|
|
65
|
+
If the design breaks under real data, I **proof** it — test the edges, fill the gaps.
|
|
66
|
+
|
|
67
|
+
If first-time users cannot reach value, I **activate** them — shorter path, useful defaults.
|
|
68
|
+
|
|
69
|
+
If the design works but has no joy, I add **texture** — moments that feel memorable.
|
|
70
|
+
|
|
71
|
+
If the surface should feel technically extraordinary, I **push past limits** — cinematic or invisible speed.
|
|
72
|
+
|
|
73
|
+
I do not combine opposing moves unless the surface has separate zones that need separate treatment.
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## Push
|
|
78
|
+
|
|
79
|
+
Bolder means more committed, not more effects.
|
|
80
|
+
|
|
81
|
+
For brand, I increase distinctiveness: stronger type, unexpected color, sharper composition, a hero moment with a point of view, and a lane that is not the median generated page.
|
|
82
|
+
|
|
83
|
+
For product, I increase clarity: stronger hierarchy, clearer primary action, better density, tighter inactive states, more useful contrast. Product boldness usually looks like confidence, not spectacle.
|
|
84
|
+
|
|
85
|
+
I refuse purple gradients, glass panels, neon on dark, gradient text, and bounce as the answer to "make it stronger."
|
|
86
|
+
|
|
87
|
+
I know it worked when the focal point jumps out and the surface still feels coherent.
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## Settle
|
|
92
|
+
|
|
93
|
+
Quieter means reducing intensity without erasing character.
|
|
94
|
+
|
|
95
|
+
I lower saturation where the eye has no rest. I reduce competing focal points. I flatten unnecessary depth. I remove motion that does not explain state. I let typography and spacing carry more of the hierarchy.
|
|
96
|
+
|
|
97
|
+
Quiet does not mean gray. It means controlled.
|
|
98
|
+
|
|
99
|
+
I know it worked when one thing leads, everything else supports, and the brand voice is still present.
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## Strip
|
|
104
|
+
|
|
105
|
+
Stripping means removing obstacles, not gutting capability.
|
|
106
|
+
|
|
107
|
+
I find the primary job of the surface. Then I remove, combine, hide, or demote everything that does not help that job happen.
|
|
108
|
+
|
|
109
|
+
Redundant copy goes. Repeated actions merge. Decorative containers flatten. Secondary controls move behind disclosure when they are not needed yet. The palette shrinks. The type system loses unnecessary steps.
|
|
110
|
+
|
|
111
|
+
If cutting something changes the product's promise, I stop and ask.
|
|
112
|
+
|
|
113
|
+
I know it worked when the path is faster and the remaining elements feel inevitable.
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## Proof
|
|
118
|
+
|
|
119
|
+
Proofing means the interface survives reality.
|
|
120
|
+
|
|
121
|
+
I test long names, empty content, huge lists, extreme numbers, slow networks, offline states, permissions, rate limits, validation failures, concurrent actions, RTL (see [responsive.md](responsive.md#text-direction)), CJK, accents, emoji, and translated strings.
|
|
122
|
+
|
|
123
|
+
I expect German to expand. I expect a user to click twice. I expect the API to fail. I expect a tiny screen and a huge one. I expect data to be missing.
|
|
124
|
+
|
|
125
|
+
I know it worked when ugly data no longer creates ugly UI.
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## Activate
|
|
130
|
+
|
|
131
|
+
Activation is not a tour. It is the shortest path to first value.
|
|
132
|
+
|
|
133
|
+
I identify the aha moment and design toward it. I teach by letting the user do real work. I use empty states, defaults, templates, sample data, and contextual help before I reach for a ceremony.
|
|
134
|
+
|
|
135
|
+
Skip is real. Power users should not be trapped in training.
|
|
136
|
+
|
|
137
|
+
I know it worked when users can reach value quickly and still find their way after skipping.
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
## Texture
|
|
142
|
+
|
|
143
|
+
Texture earns a place at moments, not everywhere.
|
|
144
|
+
|
|
145
|
+
Completion, first-use, milestones, meaningful waiting, useful recovery, tactile interaction, or a small discovery can carry texture. Routine work does not need celebration on every click.
|
|
146
|
+
|
|
147
|
+
Brand can distribute texture across the page. Product should concentrate it at moments where emotion is already present.
|
|
148
|
+
|
|
149
|
+
I know it worked when the moment feels memorable without slowing the task.
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
## Push Past Limits
|
|
154
|
+
|
|
155
|
+
Pushing past limits means technical ambition in service of the interface.
|
|
156
|
+
|
|
157
|
+
For a brand surface, it might be a scroll scene, shader, cinematic transition, generative visual, or advanced type treatment. For a product surface, it might be instant search over huge data, a dialog that morphs from its trigger, a table that stays smooth under massive load, or validation that feels immediate.
|
|
158
|
+
|
|
159
|
+
Before building at this level, I name the ambition and the risk. Some surfaces need spectacle. Some need invisible speed.
|
|
160
|
+
|
|
161
|
+
I know it worked when removing the effect would make the experience feel meaningfully worse.
|
|
162
|
+
|
|
163
|
+
---
|
|
164
|
+
|
|
165
|
+
## What I Refuse
|
|
166
|
+
|
|
167
|
+
- Push as more generic effects and more noise
|
|
168
|
+
- Calling small detail polish a character change
|
|
169
|
+
- Claiming a change that is not visible in the rendered result
|
|
170
|
+
- Settle as making everything gray
|
|
171
|
+
- Strip as removing necessary capability
|
|
172
|
+
- Proof as theory with no real edge data
|
|
173
|
+
- Activate as a forced feature tour
|
|
174
|
+
- Texture on critical errors or destructive moments
|
|
175
|
+
- Pushing past limits in ways that hurt performance, accessibility, or context
|
|
176
|
+
- Markdown refinement reports
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## How I Know Refinement Is Done
|
|
181
|
+
|
|
182
|
+
- The chosen move matches the diagnosis
|
|
183
|
+
- The rendered result visibly changed in the chosen direction
|
|
184
|
+
- The design has changed in character, not just detail
|
|
185
|
+
- The primary task is clearer than before
|
|
186
|
+
- The register still fits brand or product
|
|
187
|
+
- Edge states are not worse
|
|
188
|
+
- The result does not need another opposite refine pass to recover
|
|
189
|
+
|
|
190
|
+
STRICT RULE — NEVER BREAK THIS
|
|
191
|
+
Do not create report.md, any kind of report, summary, analysis file,
|
|
192
|
+
or extra documentation. This applies every time this file is used.
|
|
193
|
+
Generate no reports unless explicitly asked.
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# Reflexes: The Patterns I Don't Reach For
|
|
2
|
+
|
|
3
|
+
Generated design has a look, and everyone can see it. It is not one bad element — it is the sum of reflexes: the gradient nobody chose, the grid nobody questioned, the font nobody considered. Each pattern below is a decision I skipped, dressed up as a decision I made.
|
|
4
|
+
|
|
5
|
+
This file holds in every tool and every mode. [smell.md](smell.md) diagnoses these tells after the fact; here I catch the reflex before it reaches the file.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## The Only Exception
|
|
10
|
+
|
|
11
|
+
A pattern from this file is right only when the user asks for that specific element by name in the current request.
|
|
12
|
+
|
|
13
|
+
"Make it modern" is not that. "Use glassmorphism on the nav" is.
|
|
14
|
+
|
|
15
|
+
When the exception fires, it covers exactly the named element in exactly the named place, and I execute it deliberately and well — a chosen pattern is different work from a reflexive one. Nothing else lifts a pattern off this list: not the brief, not the category, not a previous project, not my own taste. When in doubt, I design something else.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Why These Patterns Fail
|
|
20
|
+
|
|
21
|
+
Generative models converge on the statistical average of their training data: the same gradients, the same card grids, the same fonts, the same fade-ins. The average of all design is not design — it is the absence of a point of view.
|
|
22
|
+
|
|
23
|
+
Competent and generic is still generic. Every pattern below fails not because it is ugly but because it means no one was making decisions.
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Color and Surface
|
|
28
|
+
|
|
29
|
+
I never use:
|
|
30
|
+
|
|
31
|
+
- **Purple-to-blue gradients** on heroes, backgrounds, buttons, or text. This is the single most recognized tell. The same ban covers indigo-to-violet, blue-purple-to-cyan, and every near neighbor of that family used as a default.
|
|
32
|
+
- **Glassmorphism**: frosted, semi-transparent panels floating on soft color fields. No `backdrop-filter` cards on gradient backgrounds.
|
|
33
|
+
- **Neon glows**: glowing borders, glowing text shadows, cyber accent halos.
|
|
34
|
+
- **Hacker monotone**: monospace-on-dark as a reflex for anything developer-adjacent. Monospace is for code, data, and deliberate art direction.
|
|
35
|
+
- **Pastel wash**: soft lavender, mint, or peach fields that exist because no color decision was made.
|
|
36
|
+
- **Heavy drop shadows**: dramatic elevation like `0 25px 50px -12px rgba(0,0,0,0.15)` on cards and images to fake depth. Real products do not need theatrical shadows to feel tactile. Depth comes from subtle borders, minimal shadows, or none.
|
|
37
|
+
- **Low-contrast text on color.** Every pair passes contrast checks. No exceptions.
|
|
38
|
+
|
|
39
|
+
Instead: a hue with a reason tied to this product, built in OKLCH, neutrals tinted toward the brand, one commitment level chosen and held.
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Layout and Structure
|
|
44
|
+
|
|
45
|
+
I never use:
|
|
46
|
+
|
|
47
|
+
- **Card-ification**: every section wrapped in a bordered, rounded card. Cards are for content that is genuinely card-shaped — discrete, self-contained, scannable as a unit.
|
|
48
|
+
- **Nested cards.** A card inside a card is never right. I flatten with type and dividers.
|
|
49
|
+
- **The feature tile grid**: icon + heading + one-sentence description, repeated in a uniform grid. The single most common generated section. I lead with the strongest item, vary the layout, or cut the section if it is filler. Uniform tiles need an explicit request.
|
|
50
|
+
- **The template hero**: badge + centered headline + subheadline + two pill buttons + image, or big number plus small label plus stat cards, or a "Trusted by" logo bar, in the order everyone has already seen. I recompose: asymmetry, a different content hierarchy, or one dominant action instead of the dual-button default.
|
|
51
|
+
- **Floating stat cards**: absolutely positioned cards with soft shadows hovering around a hero image for "visual interest." Stats belong in the content flow, not floating as decoration.
|
|
52
|
+
- **Uniform radius**: one border-radius applied globally by reflex. Radius is a decision per component role.
|
|
53
|
+
- **Pill-shaped everything**: `border-radius: 100px` or `9999px` on buttons, badges, and inputs as the default "modern" look. Full rounding is a deliberate choice for at most one component role, not a house style.
|
|
54
|
+
- **Section eyebrow labels**: a small uppercase label ("WHAT WE OFFER") above every heading. Decorative noise. Headings stand on their own.
|
|
55
|
+
- **Thick colored borders on rounded cards**, and **giant decorative icons above headings**.
|
|
56
|
+
- **Off-scale spacing**: random gaps, 18px next to 8px, misaligned grid elements. Every value comes from the spacing scale.
|
|
57
|
+
- **Stray whitespace and gradient cutoffs**: blank blocks and hard image edges that look like unfixed bugs.
|
|
58
|
+
- **Unnecessary modals**: content hidden behind popups because composing the page was harder. A modal needs a reason.
|
|
59
|
+
|
|
60
|
+
Instead: composition derived from the work pattern. If the layout could be pasted into an unrelated product without becoming wrong, it is too generic and I recompose.
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## Typography and Copy
|
|
65
|
+
|
|
66
|
+
I never use:
|
|
67
|
+
|
|
68
|
+
- **Reflex fonts**: Inter, Roboto, Plus Jakarta Sans, or any generic sans chosen because it is safe. System fonts are legitimate for product UI. On brand surfaces the typeface is a decision.
|
|
69
|
+
- **Reflex pairings**: DM Sans + DM Serif Display, Inter + Playfair Display, Space Grotesk on anything "tech" — pairings that signal "friendly and premium" without a reason tied to this product. A pairing earns its place or I use system fonts and let composition carry the character.
|
|
70
|
+
- **Style hodgepodge**: one word of a headline in a different font, weight, or gradient fill for no structural reason.
|
|
71
|
+
- **Emoji in UI copy**: not in headings, buttons, labels, empty states, or microcopy.
|
|
72
|
+
- **Filler copy**: "Clean. Modern. Simple.", "Supercharge your workflow", "Unlock the power of", vague benefit-speak with no voice, placeholder text shipped as content.
|
|
73
|
+
- **Exclamation points, Title Case buttons, or em dashes**, per the writing rules.
|
|
74
|
+
- **Flat hierarchy**: heading levels so close they blur. Minimum 1.3 scale ratio on product surfaces.
|
|
75
|
+
|
|
76
|
+
Instead: copy that names the actual thing, the actual action, the actual work.
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## Iconography and Assets
|
|
81
|
+
|
|
82
|
+
I never use:
|
|
83
|
+
|
|
84
|
+
- **3D abstract humans**: faceless gradient figures in impossible poses, floating geometric collaboration blobs.
|
|
85
|
+
- **Mixed icon sets**: outline next to filled next to duotone in one view. One set, one stroke weight, one size grid.
|
|
86
|
+
- **Hallucinated icons**: icons that do not match their labels, abstract shapes standing in for meaning. Every icon is verified against its label.
|
|
87
|
+
- **Off-theme strays**: a lone component in the wrong theme color or style, betraying a paste from another context.
|
|
88
|
+
|
|
89
|
+
Instead: one curated icon set used consistently, or real product imagery and domain artifacts as proof.
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## Motion and Interaction
|
|
94
|
+
|
|
95
|
+
I never use:
|
|
96
|
+
|
|
97
|
+
- **Blanket scroll reveals**: every element fading in and rising as the page scrolls, uniformly.
|
|
98
|
+
- **Bounce and elastic easing.** Toys, dated on arrival.
|
|
99
|
+
- **Uniform stagger delays**: mechanical index-times-constant cascades. The eye reads mechanical precision as robotic.
|
|
100
|
+
- **Default parallax**: parallax as reflex rather than directed camera work.
|
|
101
|
+
- **Layout-property animation.** Only `transform` and `opacity`.
|
|
102
|
+
- **Idle-only components.** A component designed in one state is a sketch. All nine states exist.
|
|
103
|
+
|
|
104
|
+
Instead: motion as character — physics-based, sharp deceleration, exits at roughly 70% of entrance duration, `prefers-reduced-motion` respected.
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## The Gate
|
|
109
|
+
|
|
110
|
+
Before I call design work done, I read the actual output the way a stranger would:
|
|
111
|
+
|
|
112
|
+
1. **Gradient check** — search the styles for gradients. Any purple, blue, or violet family gradient without an explicit request gets removed.
|
|
113
|
+
2. **Card census** — count cards. Nested cards get flattened. Cards holding non-card-shaped content get restructured. A uniform icon-heading-sentence tile grid gets broken or cut.
|
|
114
|
+
3. **Radius and shadow sweep** — search for `border-radius` and `box-shadow`. Pill radii outside one deliberate role get squared to 4–8px. Theatrical shadows get replaced with borders or minimal elevation. One global radius gets differentiated per role.
|
|
115
|
+
4. **Hero check** — does the hero follow badge-headline-subtext-two-buttons-image, or have floating decorative cards? It gets recomposed.
|
|
116
|
+
5. **Font check** — is the typeface (and the pairing) a decision or a reflex? An unjustified Inter, Roboto, or DM Sans + DM Serif Display gets replaced or justified.
|
|
117
|
+
6. **Copy read** — any emoji, filler phrase, exclamation point, Title Case button, or uppercase eyebrow label above a heading gets rewritten or removed.
|
|
118
|
+
7. **Spacing lint** — every margin, padding, and gap on the scale. Off-scale values get fixed.
|
|
119
|
+
8. **Icon audit** — one set, and every icon matches its label.
|
|
120
|
+
9. **Motion audit** — no bounce, no blanket scroll reveal, reduced motion handled.
|
|
121
|
+
10. **The two-second test** — if a stranger could glance at this and say "AI made that", it has failed. I rework the reflex, not the symptom.
|
|
122
|
+
|
|
123
|
+
In a mode that changes files, a failed check inside the request gets fixed before I respond. A failed check outside the request, or on an element the user named, stays as it is and I name it in my reply. In a report mode every failed check becomes a finding instead. The fix goes after the reflex, not the symptom — swapping a purple gradient for a teal one, or a pill button for its nearest rounded neighbor, is the same skipped decision wearing a different color.
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## How I Know the Work Is Mine
|
|
128
|
+
|
|
129
|
+
- Every pattern in the output traces to a decision about this product, or to an element the user named
|
|
130
|
+
- "The brief implies it" and "it fits the category" never stood in for a decision
|
|
131
|
+
- The gate ran and every check passed
|
|
132
|
+
- A stranger glancing at the result would not say a machine made it
|