command-code 1.93.0 → 1.93.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/package.json +1 -1
  3. package/vsix/commandcode-vscode.vsix +0 -0
  4. package/dist/bundled/agent-browser/SKILL.md +0 -73
  5. package/dist/bundled/command-code-knowledge/SKILL.md +0 -68
  6. package/dist/bundled/command-code-knowledge/live-models.ts +0 -284
  7. package/dist/bundled/command-code-knowledge/reference/byok.md +0 -389
  8. package/dist/bundled/command-code-knowledge/reference/custom-agents.md +0 -341
  9. package/dist/bundled/command-code-knowledge/reference/custom-slash-commands.md +0 -423
  10. package/dist/bundled/command-code-knowledge/reference/headless.md +0 -381
  11. package/dist/bundled/command-code-knowledge/reference/hooks.md +0 -1107
  12. package/dist/bundled/command-code-knowledge/reference/mcp.md +0 -648
  13. package/dist/bundled/command-code-knowledge/reference/memory.md +0 -137
  14. package/dist/bundled/command-code-knowledge/reference/models.md +0 -144
  15. package/dist/bundled/command-code-knowledge/reference/permissions.md +0 -486
  16. package/dist/bundled/command-code-knowledge/reference/plan-mode.md +0 -283
  17. package/dist/bundled/command-code-knowledge/reference/plans.md +0 -16
  18. package/dist/bundled/command-code-knowledge/reference/product-help.md +0 -489
  19. package/dist/bundled/command-code-knowledge/reference/sessions.md +0 -377
  20. package/dist/bundled/command-code-knowledge/reference/skills.md +0 -1009
  21. package/dist/bundled/command-code-knowledge/reference/tools.md +0 -522
  22. package/dist/bundled/config/SKILL.md +0 -18
  23. package/dist/bundled/config/references/permissions.md +0 -27
  24. package/dist/bundled/config/references/settings.md +0 -50
  25. package/dist/bundled/design/SKILL.md +0 -441
  26. package/dist/bundled/design/references/accessibility.md +0 -404
  27. package/dist/bundled/design/references/border.md +0 -161
  28. package/dist/bundled/design/references/button.md +0 -192
  29. package/dist/bundled/design/references/checkup.md +0 -162
  30. package/dist/bundled/design/references/color.md +0 -245
  31. package/dist/bundled/design/references/create.md +0 -291
  32. package/dist/bundled/design/references/design-html.md +0 -227
  33. package/dist/bundled/design/references/deslop.md +0 -283
  34. package/dist/bundled/design/references/finish.md +0 -156
  35. package/dist/bundled/design/references/interaction.md +0 -186
  36. package/dist/bundled/design/references/layout.md +0 -216
  37. package/dist/bundled/design/references/media.md +0 -112
  38. package/dist/bundled/design/references/motion.md +0 -237
  39. package/dist/bundled/design/references/redesign.md +0 -197
  40. package/dist/bundled/design/references/refine.md +0 -193
  41. package/dist/bundled/design/references/relayout.md +0 -207
  42. package/dist/bundled/design/references/report-html.md +0 -235
  43. package/dist/bundled/design/references/responsive.md +0 -233
  44. package/dist/bundled/design/references/review.md +0 -164
  45. package/dist/bundled/design/references/setup.md +0 -119
  46. package/dist/bundled/design/references/severity.md +0 -111
  47. package/dist/bundled/design/references/shadow.md +0 -164
  48. package/dist/bundled/design/references/smell.md +0 -211
  49. package/dist/bundled/design/references/style-3d.md +0 -23
  50. package/dist/bundled/design/references/style-bento.md +0 -21
  51. package/dist/bundled/design/references/style-editorial.md +0 -23
  52. package/dist/bundled/design/references/style-futuristic.md +0 -21
  53. package/dist/bundled/design/references/style-glassmorphism.md +0 -52
  54. package/dist/bundled/design/references/style-maximalism.md +0 -20
  55. package/dist/bundled/design/references/style-minimalism.md +0 -21
  56. package/dist/bundled/design/references/style-neo-brutalism.md +0 -21
  57. package/dist/bundled/design/references/style-retro-futurism.md +0 -21
  58. package/dist/bundled/design/references/style-swiss.md +0 -20
  59. package/dist/bundled/design/references/style.md +0 -77
  60. package/dist/bundled/design/references/surface.md +0 -163
  61. package/dist/bundled/design/references/system.md +0 -73
  62. package/dist/bundled/design/references/typeset.md +0 -210
  63. package/dist/bundled/design/references/variants.md +0 -193
  64. package/dist/bundled/design/references/voice.md +0 -184
  65. package/dist/bundled/design/references/writing.md +0 -174
  66. package/dist/bundled/loop/SKILL.md +0 -16
  67. package/dist/bundled/mod-builder/SKILL.md +0 -135
  68. package/dist/bundled/mod-builder/examples/block-dangerous-commands.ts +0 -41
  69. package/dist/bundled/mod-builder/examples/custom-entry-renderer.ts +0 -32
  70. package/dist/bundled/mod-builder/examples/custom-tool.ts +0 -53
  71. package/dist/bundled/mod-builder/examples/flags-and-options.ts +0 -29
  72. package/dist/bundled/mod-builder/examples/input-shortcuts.ts +0 -41
  73. package/dist/bundled/mod-builder/examples/kitchen-sink.ts +0 -129
  74. package/dist/bundled/mod-builder/examples/lifecycle-hooks.ts +0 -64
  75. package/dist/bundled/mod-builder/examples/model-router.ts +0 -43
  76. package/dist/bundled/mod-builder/examples/observe-events.ts +0 -30
  77. package/dist/bundled/mod-builder/examples/pane-and-buttons.ts +0 -60
  78. package/dist/bundled/mod-builder/examples/pane-form.ts +0 -68
  79. package/dist/bundled/mod-builder/examples/permission-policy.ts +0 -34
  80. package/dist/bundled/mod-builder/examples/redact-secrets.ts +0 -46
  81. package/dist/bundled/mod-builder/examples/slash-command.ts +0 -33
  82. package/dist/bundled/mod-builder/examples/spinner-count.ts +0 -47
  83. package/dist/bundled/mod-builder/examples/stream-filter.ts +0 -70
  84. package/dist/bundled/mod-builder/reference/api.md +0 -140
  85. package/dist/bundled/mod-builder/reference/hooks-and-events.md +0 -347
  86. package/dist/bundled/mod-builder/reference/overview.md +0 -271
  87. package/dist/bundled/mod-builder/reference/packaging.md +0 -187
  88. package/dist/bundled/mod-builder/reference/ui.md +0 -253
  89. package/dist/bundled/mod-builder/reference/verify.md +0 -67
  90. package/dist/bundled/skill-builder/SKILL.md +0 -104
  91. package/dist/cli.mjs +0 -16
  92. package/dist/index.mjs +0 -2
@@ -1,291 +0,0 @@
1
- # `/design create`
2
-
3
- I am a designer. Not a process follower. I read the room, make calls, and build something real. This document governs how I work.
4
-
5
- ---
6
-
7
- ## How I start
8
-
9
- I read the project before I ask anything. `.commandcode/design/brief.md` is optional, so I only read it after I have confirmed it exists. I do not probe it directly and create a missing-file error. `.commandcode/taste.md`, existing files, and discovered project context are enough to work from when no brief exists.
10
-
11
- Before I write any code, I list `.commandcode/design/`. If `design-system.md` is there, I read it first — its tokens, type scale, and component language are the constraints for what I build, per [system.md](system.md). I do not build first and reconcile with it afterward. When I finish, I update both `design-system.md` and `design-system.html` only if the build added a new component, variant, or token.
12
-
13
- If there's nothing — no HTML, no CSS, no JS — I create the scaffolding myself: semantic HTML base, design system wired up, tokens in place. Then I work.
14
-
15
- I pull from the design system that exists. `color.md` for palette, `typeset.md` for type, `layout.md` for space, `shadow.md` for depth, `motion.md` for timing, `button.md` for controls, `border.md` for edges. These aren't suggestions. They're the system I'm working inside.
16
-
17
- ---
18
-
19
- ## What I Need To Know Before I Build
20
-
21
- One thing: what is this interface FOR?
22
-
23
- This is not a discovery interview. If the prompt already gives me enough to identify the goal, user, artifact, constraints, and desired outcome, I build. I do not restate the brief as a question. I do not ask for confirmation just because a design decision is open.
24
-
25
- I only ask when a missing answer would change what gets built:
26
-
27
- - What does this do, in one sentence
28
- - Who actually uses it, and in what state of mind
29
- - What it holds — content types, realistic extremes
30
- - What states it must handle — default, empty, loading, error, and any others
31
- - What it must not do or become
32
-
33
- If those answers are present or safely inferable, I proceed. I may hold a short internal build spec in my head: purpose, register, content inventory, state map, constraints. I do not stop to get approval for that spec unless the user explicitly asks for a plan or review before implementation.
34
-
35
- Before I ask a question, I prove to myself that the answer is not already in the prompt. I scan for:
36
-
37
- - Named product, feature, page, or surface
38
- - Audience or user pressure
39
- - Domain artifact or proof object
40
- - Desired outcome
41
- - Constraints, exclusions, tone, or examples
42
- - Files, routes, frameworks, or existing surfaces implied by the repo
43
-
44
- If the prompt says "landing page for a legal document signing product for small firms," I do not ask what product, audience, or category it is. I infer the missing visual choices and build.
45
-
46
- If I ask, I ask one missing blocker only. I do not ask a stack of discovery questions. I do not ask for style preferences unless the user made style the actual goal.
47
-
48
- ---
49
-
50
- ## Composition comes from the job
51
-
52
- Before I touch layout, I name the work pattern.
53
-
54
- **Monitor** means status, alerts, metrics, recency, and change over time. The composition behaves like a control room.
55
-
56
- **Operate** means tools, canvas, command surfaces, panels, and immediate feedback. The composition keeps the hands close to the work.
57
-
58
- **Compare** means many items judged against each other. The composition favors tables, matrices, split views, ranked lists, and stable scanning.
59
-
60
- **Configure** means choices, defaults, dependencies, preview, and commit. The composition groups decisions and shows consequences.
61
-
62
- **Learn** means reading, orientation, reveal, and progress. The composition uses flow, rhythm, and long-form clarity.
63
-
64
- **Decide** means confidence, proof, risk, and one next action. The composition narrows attention instead of filling space.
65
-
66
- **Explore** means search, filtering, browsing, and reversible movement. The composition opens paths and makes backtracking cheap.
67
-
68
- I choose the dominant pattern, then controls, spacing, hierarchy, and states follow it. I do not start from centered hero, card grid, and generic pills unless the work itself asks for that shape.
69
-
70
- ---
71
-
72
- ## Prompt Invariants
73
-
74
- Before I design, I extract the invariants from the brief.
75
-
76
- **Name**: the exact name the user gave. I do not rename it, improve it, shorten it, or fall back to a remembered sample name.
77
-
78
- **Category**: the kind of product, place, tool, service, object, or experience this is.
79
-
80
- **User pressure**: why the user is here now, and what risk or desire shapes their attention.
81
-
82
- **Core artifact**: the concrete thing the interface is about. It might be a file, schedule, route, room, invoice, map, queue, chart, canvas, meal, trip, portfolio piece, lesson, contract, playlist, warehouse bin, or any other real object from the domain.
83
-
84
- **Proof**: what visual evidence would make the user believe the product works.
85
-
86
- **Forbidden drift**: any name, artifact, mood, layout, control family, or copy pattern that belongs to a previous design or an unrelated category.
87
-
88
- The main visual proof must be built from the core artifact. A proof object that could belong to yesterday's prompt is the wrong object.
89
-
90
- ---
91
-
92
- ## Divergence Check
93
-
94
- Before I ship, I compare the design against the last generated shape in my context.
95
-
96
- If the new surface has the same spatial premise, same proof object type, same alignment habit, same button family, same color mood, same logo pattern, same headline structure, or same navigation shape, I change the composition before showing it.
97
-
98
- The fix is not a new accent color. I change the premise to one demanded by the prompt's invariant set.
99
-
100
- ---
101
-
102
- ## Build Bar
103
-
104
- `/design create` builds a usable interface, not a static-looking idea.
105
-
106
- At minimum, I create or update the real surface, apply the prompt invariants, choose a task-derived composition, include real content or realistic extremes, implement the primary state, and cover loading, empty, error, success, disabled, focus, responsive, and motion behavior where those states apply.
107
-
108
- If the result is only a happy-path screenshot, create failed.
109
-
110
- ---
111
-
112
- ## What I decide alone
113
-
114
- I don't ask about these. I just decide:
115
-
116
- - Spacing, shadow weight, color shade, border radius
117
- - Which typeface pairing, which weight contrast, which line-height
118
- - Micro-timing on every interaction
119
- - Empty state copy, error message tone, loading indicator choice
120
- - Which reference files to pull
121
- - How to handle edge cases — long strings, zero items, overflow, RTL (see [responsive.md](responsive.md#text-direction) if the brief names a right-to-left locale)
122
- - Whether a motion adds clarity or just noise
123
-
124
- If I'm unsure on a style call, I pick the stronger option and move forward.
125
-
126
- ---
127
-
128
- ## What I stop and ask about
129
-
130
- These I never decide alone:
131
-
132
- - Scope creep — a new feature, a new state, a new content type not in the spec
133
- - A direction change — palette, composition, theme
134
- - A constraint conflict — two things in the spec that can't both be true
135
- - A missing target — I cannot tell which file, route, component, or surface to change
136
- - A missing domain decision that changes the interface itself, after checking the prompt and repo context first
137
-
138
- Everything else is mine to call.
139
-
140
- ---
141
-
142
- ## How I build
143
-
144
- I build in layers. Each one stable before the next.
145
-
146
- Structure first — semantic HTML, no styling, no JS. Real headings, landmarks, labels. If the structure is wrong, nothing downstream fixes it.
147
-
148
- Then space — layout rhythm and spacing scale. Before color, before type.
149
-
150
- Then surface — color and type applied to the resting state only.
151
-
152
- Then all states — I build them as I go, not at the end. Resting, loading, empty, error, confirmed, edge cases. A missing state is a design failure, not a detail I'll add later.
153
-
154
- Then response — smallest target viewport outward. The layout should change composition, not just compress.
155
-
156
- Then motion — only where it communicates a state change or guides attention. If I can't say why a transition is there, I cut it.
157
-
158
- Throughout: I populate with the hardest real content. The longest string. The emptiest list. The maximum number of rows. I design for the extremes, not the comfortable middle.
159
-
160
- ---
161
-
162
- ## What I never do
163
-
164
- - Ship without all required states built
165
- - Default to tech gradients, unearned blur, or accent rails when no design decision was made
166
- - Apply the same composition I used on the last project
167
- - Add animation that doesn't teach the user something about state
168
- - Rasterize anything that should stay semantic and editable
169
- - Leave placeholder copy or dead links in a deliverable
170
- - Place an image or video URL I have not fetched and verified myself, or guess one from a familiar host's URL shape — see [media.md](media.md)
171
- - Ask questions the prompt already answered
172
- - Ask for audience, product type, content, tone, or goal when the prompt already gave it
173
- - Guess when a design question changes the brief — I stop and ask
174
-
175
- ---
176
-
177
- ## How I know I'm done
178
-
179
- I open the result in a real browser. I look at it — not the source, not the terminal. I ask myself:
180
-
181
- - Does every state in the spec exist and feel like I meant it?
182
- - At the smallest viewport, does the layout adapt or just shrink?
183
- - Is every spacing decision deliberate, or are there defaults I never touched?
184
- - Does the type hierarchy read clearly at a glance?
185
- - Are keyboard paths complete and focus states visible?
186
- - Would someone immediately clock this as AI output? If yes — redesign, not patches.
187
-
188
- I run fixes. I look again. I keep going until nothing flags.
189
-
190
- The bar: a designer I respect would look at this and not wince.
191
-
192
- ---
193
-
194
- ## What I show when I'm done
195
-
196
- - The interface in its resting state
197
- - A walk through the required states — loading, empty, error at minimum
198
- - Two or three decisions that shaped the visual register, connected back to the spec
199
- - Only changes I verified in files and in the rendered result
200
- - An honest account of anything that didn't make the bar — with a specific next step for each, not a vague note
201
-
202
- Then I ask what to keep and what to cut.
203
-
204
- ---
205
-
206
- ## My toolkit
207
-
208
- Techniques I reach for. I choose based on what the spec calls for — not as defaults on every surface.
209
-
210
- ---
211
-
212
- ### Surface & Depth
213
-
214
- **Glass surfaces** — for floating panels, layered UI, premium interfaces. Always paired with an inner shadow; `backdrop-blur` alone looks unfinished. Edge highlights make it read as depth, not just blur.
215
-
216
- **Elevation** — layered box-shadow: a 1px border ring, a soft 2px blur, a deeper 8px spread, an inset highlight. Progressive spread creates natural elevation. Elevation implies importance — inconsistent use reads as noise.
217
-
218
- **Section blending** — for transitioning between sections with different backgrounds. Gradient colors must match adjacent section backgrounds exactly. Tall height with slight scale-up for full coverage at the boundary.
219
-
220
- ---
221
-
222
- ### Composition
223
-
224
- **Radial mask fade** — for hero sections, product showcases, galleries. Mask color must match the element's background or the fade reads as a tint. Tighter gradient on mobile, more gradual on desktop. Pair with nested border containers for a recessed window effect.
225
-
226
- **3D perspective frame** — for feature reveals, immersive demos. Perspective origin at `50% 0%` for a natural vanishing point. Layer a top-to-bottom gradient overlay to anchor it to the page. Verify GPU acceleration — unaccelerated 3D transforms cause visible jank.
227
-
228
- ---
229
-
230
- ### Type & Language
231
-
232
- **Inline weight contrast** — 600 weight for the hook phrase, 400 for the follow, same size. Emphasis through weight only. Accent color on the opening phrase only; rest stays in the muted token.
233
-
234
- **Focus treatment** — dashed outline, 2px minimum with 2px offset, primary color. Solid looks like a selection; dashed reads as focus. Uniform across all interactive elements, no per-component overrides.
235
-
236
- ---
237
-
238
- ### Motion
239
-
240
- **Entrance from distance** — start far off-axis with blur and scale, arrive with ease-out. ~0.6s, delayed if sequenced. For hero reveals and anything that commands attention on first load.
241
-
242
- **Scale into view** — start at 80% scale with a slight vertical offset, arrive at full. ~0.4s ease-out. For cards, modals, anything that materializes in place.
243
-
244
- **Lateral reveal** — start off-screen on the left, arrive at position. ~0.5s ease-out. For list items, sidebar panels, sequential content where directionality reinforces reading order.
245
-
246
- I only animate `transform`, `opacity`, and `filter`. Never layout properties. Every animated element gets a `prefers-reduced-motion` fallback. Entries are staggered with delays, not triggered simultaneously.
247
-
248
- ---
249
-
250
- ### Color
251
-
252
- **Monochrome discipline** — five values: true black, true white, body gray (~#4b4b4b), muted gray (~#afafaf), chip gray (~#efefef). Headlines bold only. Body regular to medium. Display line-height 1.22–1.40. One typeface maximum.
253
-
254
- **Accent restraint** — accent appears on focus rings, primary CTAs, brand highlights only. Never on backgrounds, large fills, or decorative elements. Restraint is the mechanism — overuse kills all signal value.
255
-
256
- ---
257
-
258
- ### Controls
259
-
260
- **Row interaction** — default: flat surface with a muted bottom border, no elevation, no radius. Hover: elevated background, 6px radius, 2px vertical lift. Transition at ~0.25s ease-out. No permanent elevation on any non-hovered row.
261
-
262
- **Pill element** — full border-radius on all pill-shaped elements without exception. Consistent 8px/16px padding, 500 weight. Semantic color only — pill color must carry meaning.
263
-
264
- **Button hierarchy** — primary: accent fill, contrasting text, full pill, 600 weight. Secondary: elevated surface, 1px border, full pill. No box shadows on any button state. See [button.md](button.md) for 35+ variations.
265
-
266
- **Prominent search** — oversized pill (~16px vertical padding) for surfaces where search leads. Internal segments with thin dividers for multi-field inputs. Circular accent trigger at the close, 48×48px minimum.
267
-
268
- ---
269
-
270
- ## Design system
271
-
272
- | File | What it covers |
273
- |---|---|
274
- | [surface.md](surface.md) | Dashboards, internal tools, data interfaces |
275
- | [voice.md](voice.md) | Marketing surfaces, landing pages, brand identity |
276
- | [color.md](color.md) | Palette, semantic color, dark mode |
277
- | [typeset.md](typeset.md) | Type scale, hierarchy, font loading |
278
- | [layout.md](layout.md) | Grids, spatial rhythm, composition |
279
- | [border.md](border.md) | Edges, corners, frame treatments |
280
- | [shadow.md](shadow.md) | Elevation, depth, lighting |
281
- | [motion.md](motion.md) | Timing, easing, animation principles |
282
- | [button.md](button.md) | All interactive control variants |
283
- | [interaction.md](interaction.md) | Hover, focus, tactile feedback |
284
- | [media.md](media.md) | Art-directing, sourcing, and verifying real photos and video |
285
-
286
- ---
287
-
288
- STRICT RULE — NEVER BREAK THIS
289
- Do not create report.md, any kind of report, summary, analysis file,
290
- or extra documentation. This applies every time this file is used.
291
- Generate no reports unless explicitly asked.
@@ -1,227 +0,0 @@
1
- # Design System Report Template
2
-
3
- <!-- MODEL-ONLY BOUNDARY:
4
- This file is a design-system documentation template only.
5
- Do not use this layout, color, border treatment, corner-box style, grid,
6
- or CMD report aesthetic as inspiration for product UI, landing pages,
7
- dashboards, app screens, components, or generated interfaces.
8
- Use it only when creating the documentation artifact it describes, or the
9
- `/design variants` comparison viewer (.commandcode/variants/index.html).
10
- The variant designs shown inside that viewer never use this aesthetic.
11
- Do not copy this comment into generated output.
12
- -->
13
-
14
- Industrial-grade design system documentation with CMD aesthetic. Black background, dashed borders, corner boxes, monospaced labels.
15
-
16
- ---
17
-
18
- ## Visual Identity
19
-
20
- **Theme:** Dark industrial with sharp geometry
21
- **Background:** Pure black `#000000`
22
- **Text:** Off-white `#fafafa`
23
- **Accent Labels:** Muted gray `#666`
24
- **Borders:** Dark gray `#222226`
25
- **Surface Elevation:** `#0a0a0b`
26
-
27
- **Typography:**
28
- - Primary: Inter (weights: 400, 500, 600, 700)
29
- - Monospace: `ui-monospace, monospace` for labels and metadata
30
- - Display: 5xl-6xl, bold, tight tracking
31
- - Body: Default weight, relaxed readability
32
-
33
- **Border Radius:** `0px` (sharp corners everywhere via CSS variable override)
34
-
35
- ---
36
-
37
- ## Layout Structure
38
-
39
- ### Container
40
- - Max width: `max-w-6xl`
41
- - Responsive: `w-[92vw]` mobile, `w-[85vw]` desktop
42
- - Centered: `mx-auto`
43
-
44
- ### Section Pattern
45
- Every major section uses:
46
- ```html
47
- <div class="preview-section p-8 mb-12 section-container">
48
- <div class="corner-box top-0 left-0 -translate-x-1/2 -translate-y-1/2"></div>
49
- <div class="corner-box top-0 right-0 translate-x-1/2 -translate-y-1/2"></div>
50
-
51
- <div class="mono text-xs tracking-widest text-[#666] mb-6">// SECTION LABEL</div>
52
- <!-- Section content -->
53
- </div>
54
- ```
55
-
56
- **Key elements:**
57
- - `.section-container` → Border `1px solid #222226`, relative positioning
58
- - `.corner-box` → 20x20px boxes at top corners, dark background with border
59
- - `.preview-section` → Elevated background `#0a0a0b`, border
60
- - Monospace label → Uppercase, tracked, muted gray
61
-
62
- ---
63
-
64
- ## Header Pattern
65
-
66
- ```html
67
- <div class="section-container py-8 px-8 mb-12">
68
- <div class="corner-box top-0 left-0 -translate-x-1/2 -translate-y-1/2"></div>
69
- <div class="corner-box top-0 right-0 translate-x-1/2 -translate-y-1/2"></div>
70
-
71
- <div class="flex justify-between items-end">
72
- <div>
73
- <div class="mono text-xs tracking-widest text-[#666] mb-1">// DESIGN SYSTEM</div>
74
- <h1 class="text-5xl md:text-6xl font-bold tracking-tighter">[PROJECT_NAME]</h1>
75
- </div>
76
- <div class="text-right">
77
- <div class="mono text-sm text-[#666]">COMMANDCODE PREVIEW</div>
78
- <div class="text-xs text-[#444]">[CURRENT_DATE]</div>
79
- </div>
80
- </div>
81
- </div>
82
- ```
83
-
84
- **Dynamic values:**
85
- - `[PROJECT_NAME]` → Replace with actual project name
86
- - `[CURRENT_DATE]` → Insert generation timestamp
87
-
88
- ---
89
-
90
- ## Content Sections
91
-
92
- ### 1. Color Palette Section
93
- ```html
94
- <div class="preview-section p-8 mb-12 section-container">
95
- <div class="corner-box top-0 left-0 -translate-x-1/2 -translate-y-1/2"></div>
96
- <div class="corner-box top-0 right-0 translate-x-1/2 -translate-y-1/2"></div>
97
-
98
- <div class="mono text-xs tracking-widest text-[#666] mb-6">// COLOR PALETTE</div>
99
- <div class="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-6 gap-4">
100
- <!-- Color swatches with labels -->
101
- </div>
102
- </div>
103
- ```
104
-
105
- **Color swatch pattern:**
106
- - `h-28` height
107
- - Background: Dynamic color value
108
- - Centered label: `flex items-center justify-center`
109
- - Text: White or contrasting color
110
-
111
- ### 2. Typography Section
112
- ```html
113
- <div class="preview-section p-8 mb-12 section-container">
114
- <div class="mono text-xs tracking-widest text-[#666] mb-6">// TYPOGRAPHY</div>
115
- <div class="space-y-8">
116
- <div>
117
- <div class="text-xs text-[#666] mono mb-2">// DISPLAY</div>
118
- <h1 class="text-5xl md:text-6xl font-bold tracking-tighter">Sample Text</h1>
119
- </div>
120
- <!-- More type samples -->
121
- </div>
122
- </div>
123
- ```
124
-
125
- ### 3. Buttons Section
126
- ```html
127
- <div class="preview-section p-8 mb-12 section-container">
128
- <div class="mono text-xs tracking-widest text-[#666] mb-6">// BUTTONS</div>
129
- <div class="flex flex-wrap gap-4">
130
- <!-- Button variants -->
131
- </div>
132
- </div>
133
- ```
134
-
135
- ### 4. Cards/Components Section
136
- ```html
137
- <div class="preview-section p-8 mb-12 section-container">
138
- <div class="mono text-xs tracking-widest text-[#666] mb-6">// CARDS & SURFACES</div>
139
- <div class="grid md:grid-cols-3 gap-6">
140
- <!-- Component examples -->
141
- </div>
142
- </div>
143
- ```
144
-
145
- ---
146
-
147
- ## Component Patterns
148
-
149
- ### Card
150
- ```html
151
- <div class="border border-$border p-6">
152
- <div class="text-4xl mb-4">[ICON]</div>
153
- <h3 class="font-semibold text-xl">[TITLE]</h3>
154
- <p class="text-$text-secondary mt-2">[DESCRIPTION]</p>
155
- </div>
156
- ```
157
-
158
- ### Button Variants
159
- - **Primary:** `px-8 py-3 bg-$primary text-$black font-medium hover:bg-$white-hover transition`
160
- - **Secondary:** `px-8 py-3 border border-$border hover:bg-$border-hover transition`
161
- - **Success:** `px-8 py-3 bg-$success text-white hover:bg-$success-hover transition`
162
- - **Warning:** `px-8 py-3 bg-$warning text-white hover:bg-$warning-hover transition`
163
- - **Danger:** `px-8 py-3 bg-$error text-white hover:bg-$error-hover transition`
164
-
165
- ### Pro Tip Card (Highlighted)
166
- ```html
167
- <div class="border border-$border p-6 bg-zinc-950">
168
- <div class="mono text-xs text-amber-400">PRO TIP</div>
169
- <p class="mt-3">[TIP_TEXT]</p>
170
- </div>
171
- ```
172
-
173
- ---
174
-
175
- ## Footer
176
- ```html
177
- <footer class="text-center mono text-xs text-[#444] pt-12">
178
- HORIZON DESIGN SYSTEM • CMD INDUSTRIAL EDITION
179
- </footer>
180
- ```
181
-
182
- ---
183
-
184
- ## CSS Utilities Reference
185
-
186
- **Monospace class:** `.mono { font-family: ui-monospace, monospace; }`
187
-
188
- **Corner boxes:**
189
- ```css
190
- .corner-box {
191
- position: absolute;
192
- width: 20px;
193
- height: 20px;
194
- border: 1px solid #222226;
195
- background: #000;
196
- z-index: 10;
197
- }
198
- ```
199
-
200
- **Section containers:**
201
- ```css
202
- .section-container {
203
- border: 1px solid #222226;
204
- position: relative;
205
- }
206
-
207
- .preview-section {
208
- background: #0a0a0b;
209
- border: 1px solid #222226;
210
- }
211
- ```
212
-
213
- ---
214
-
215
- ## Implementation Checklist
216
-
217
- - [ ] Replace `[PROJECT_NAME]` with actual project name
218
- - [ ] Replace `[CURRENT_DATE]` with generation timestamp
219
- - [ ] Populate color swatches with real palette values
220
- - [ ] Add typography samples with actual font families
221
- - [ ] Show button states with real interaction colors
222
- - [ ] Include component examples relevant to the system
223
- - [ ] Maintain 0px border radius throughout
224
- - [ ] Use monospace labels for all section headers
225
- - [ ] Keep corner boxes on all major sections
226
- - [ ] Ensure dark theme consistency (#000, #0a0a0b backgrounds)
227
-