@12ui/design 0.2.23 → 0.2.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 (146) hide show
  1. package/README.md +52 -32
  2. package/SKILL.md +42 -0
  3. package/dist/artifact-materializer.d.ts +1 -1
  4. package/dist/artifact-materializer.d.ts.map +1 -1
  5. package/dist/artifact-materializer.js.map +1 -1
  6. package/dist/branch-client.d.ts.map +1 -1
  7. package/dist/branch-client.js +2 -1
  8. package/dist/branch-client.js.map +1 -1
  9. package/dist/branch-dispatch-loop.d.ts.map +1 -1
  10. package/dist/branch-dispatch-loop.js +5 -0
  11. package/dist/branch-dispatch-loop.js.map +1 -1
  12. package/dist/branch-status.d.ts.map +1 -1
  13. package/dist/branch-status.js +3 -1
  14. package/dist/branch-status.js.map +1 -1
  15. package/dist/branch-winner.d.ts.map +1 -1
  16. package/dist/branch-winner.js +5 -2
  17. package/dist/branch-winner.js.map +1 -1
  18. package/dist/cli-auth-command.d.ts.map +1 -1
  19. package/dist/cli-auth-command.js +3 -2
  20. package/dist/cli-auth-command.js.map +1 -1
  21. package/dist/cli-branch-command.d.ts.map +1 -1
  22. package/dist/cli-branch-command.js +3 -2
  23. package/dist/cli-branch-command.js.map +1 -1
  24. package/dist/cli-capabilities.d.ts +20 -0
  25. package/dist/cli-capabilities.d.ts.map +1 -1
  26. package/dist/cli-capabilities.js +24 -0
  27. package/dist/cli-capabilities.js.map +1 -1
  28. package/dist/cli-convert-command.d.ts +27 -0
  29. package/dist/cli-convert-command.d.ts.map +1 -1
  30. package/dist/cli-convert-command.js +59 -0
  31. package/dist/cli-convert-command.js.map +1 -1
  32. package/dist/cli-corpus-evidence.d.ts.map +1 -1
  33. package/dist/cli-corpus-evidence.js +7 -1
  34. package/dist/cli-corpus-evidence.js.map +1 -1
  35. package/dist/cli-corpus-reference-downloads.js.map +1 -1
  36. package/dist/cli-corpus-types.d.ts +2 -1
  37. package/dist/cli-corpus-types.d.ts.map +1 -1
  38. package/dist/cli-create-command.d.ts +2 -2
  39. package/dist/cli-create-command.d.ts.map +1 -1
  40. package/dist/cli-create-command.js +5 -4
  41. package/dist/cli-create-command.js.map +1 -1
  42. package/dist/cli-export-command.d.ts.map +1 -1
  43. package/dist/cli-export-command.js +4 -1
  44. package/dist/cli-export-command.js.map +1 -1
  45. package/dist/cli-next-command.d.ts +11 -0
  46. package/dist/cli-next-command.d.ts.map +1 -1
  47. package/dist/cli-next-command.js +142 -12
  48. package/dist/cli-next-command.js.map +1 -1
  49. package/dist/cli-output-paths.d.ts +1 -0
  50. package/dist/cli-output-paths.d.ts.map +1 -1
  51. package/dist/cli-output-paths.js +6 -2
  52. package/dist/cli-output-paths.js.map +1 -1
  53. package/dist/cli-persistence.d.ts.map +1 -1
  54. package/dist/cli-persistence.js +2 -8
  55. package/dist/cli-persistence.js.map +1 -1
  56. package/dist/cli-progress.d.ts +15 -0
  57. package/dist/cli-progress.d.ts.map +1 -1
  58. package/dist/cli-progress.js +7 -1
  59. package/dist/cli-progress.js.map +1 -1
  60. package/dist/cli-select-command.d.ts.map +1 -1
  61. package/dist/cli-select-command.js +3 -1
  62. package/dist/cli-select-command.js.map +1 -1
  63. package/dist/cli-usage.d.ts +0 -24
  64. package/dist/cli-usage.d.ts.map +1 -1
  65. package/dist/cli-usage.js +29 -7
  66. package/dist/cli-usage.js.map +1 -1
  67. package/dist/cli-version.d.ts.map +1 -1
  68. package/dist/cli-version.js +2 -5
  69. package/dist/cli-version.js.map +1 -1
  70. package/dist/client-version.d.ts +43 -0
  71. package/dist/client-version.d.ts.map +1 -0
  72. package/dist/client-version.js +60 -0
  73. package/dist/client-version.js.map +1 -0
  74. package/dist/concept-input.d.ts +26 -1
  75. package/dist/concept-input.d.ts.map +1 -1
  76. package/dist/concept-input.js +28 -1
  77. package/dist/concept-input.js.map +1 -1
  78. package/dist/conversion-client.d.ts.map +1 -1
  79. package/dist/conversion-client.js +2 -1
  80. package/dist/conversion-client.js.map +1 -1
  81. package/dist/corpus-client.d.ts +42 -1
  82. package/dist/corpus-client.d.ts.map +1 -1
  83. package/dist/corpus-client.js +17 -0
  84. package/dist/corpus-client.js.map +1 -1
  85. package/dist/index.d.ts +1 -1
  86. package/dist/index.d.ts.map +1 -1
  87. package/dist/index.js.map +1 -1
  88. package/dist/legacy-skill-catalog.d.ts +2 -2
  89. package/dist/legacy-skill-catalog.d.ts.map +1 -1
  90. package/dist/legacy-skill-catalog.js +51 -4
  91. package/dist/legacy-skill-catalog.js.map +1 -1
  92. package/dist/mcp-convert.d.ts +4 -1
  93. package/dist/mcp-convert.d.ts.map +1 -1
  94. package/dist/mcp-convert.js.map +1 -1
  95. package/dist/mcp-tool-definitions.d.ts +3 -0
  96. package/dist/mcp-tool-definitions.d.ts.map +1 -0
  97. package/dist/mcp-tool-definitions.js +127 -0
  98. package/dist/mcp-tool-definitions.js.map +1 -0
  99. package/dist/mcp-tool-handler.d.ts +24 -0
  100. package/dist/mcp-tool-handler.d.ts.map +1 -0
  101. package/dist/mcp-tool-handler.js +118 -0
  102. package/dist/mcp-tool-handler.js.map +1 -0
  103. package/dist/next-target.d.ts +10 -0
  104. package/dist/next-target.d.ts.map +1 -1
  105. package/dist/next-target.js +27 -4
  106. package/dist/next-target.js.map +1 -1
  107. package/dist/package-client.d.ts.map +1 -1
  108. package/dist/package-client.js +2 -1
  109. package/dist/package-client.js.map +1 -1
  110. package/dist/run-journal-commands.d.ts.map +1 -1
  111. package/dist/run-journal-commands.js +13 -4
  112. package/dist/run-journal-commands.js.map +1 -1
  113. package/dist/run-journal-in-flight.d.ts +74 -0
  114. package/dist/run-journal-in-flight.d.ts.map +1 -0
  115. package/dist/run-journal-in-flight.js +0 -0
  116. package/dist/run-journal-in-flight.js.map +1 -0
  117. package/dist/run-journal.d.ts +67 -4
  118. package/dist/run-journal.d.ts.map +1 -1
  119. package/dist/run-journal.js +104 -27
  120. package/dist/run-journal.js.map +1 -1
  121. package/dist/server.d.ts.map +1 -1
  122. package/dist/server.js +7 -95
  123. package/dist/server.js.map +1 -1
  124. package/dist/skill-installer.d.ts +6 -1
  125. package/dist/skill-installer.d.ts.map +1 -1
  126. package/dist/skill-installer.js +6 -23
  127. package/dist/skill-installer.js.map +1 -1
  128. package/open-design.json +186 -0
  129. package/package.json +4 -2
  130. package/skills/design/SKILL.md +91 -40
  131. package/skills/design-branch/SKILL.md +0 -51
  132. package/skills/design-branch/agents/openai.yaml +0 -8
  133. package/skills/design-branch/assets/large-logo.svg +0 -7
  134. package/skills/design-branch/assets/small-400px.png +0 -0
  135. package/skills/design-convert/SKILL.md +0 -65
  136. package/skills/design-convert/agents/openai.yaml +0 -8
  137. package/skills/design-convert/assets/large-logo.svg +0 -3
  138. package/skills/design-convert/assets/small-400px.png +0 -0
  139. package/skills/design-draft/SKILL.md +0 -41
  140. package/skills/design-draft/agents/openai.yaml +0 -8
  141. package/skills/design-draft/assets/large-logo.svg +0 -3
  142. package/skills/design-draft/assets/small-400px.png +0 -0
  143. package/skills/design-search/SKILL.md +0 -42
  144. package/skills/design-search/agents/openai.yaml +0 -8
  145. package/skills/design-search/assets/large-logo.svg +0 -3
  146. package/skills/design-search/assets/small-400px.png +0 -0
@@ -1,7 +1,12 @@
1
1
  import { isSkillClient, SKILL_CLIENTS, type SkillClient } from './skill-clients.js';
2
2
  export { isSkillClient, SKILL_CLIENTS, type SkillClient };
3
3
  export declare const TWELVE_UI_SKILL_NAME = "design";
4
- export declare const TWELVE_UI_SKILL_NAMES: readonly ["design", "design-search", "design-draft", "design-branch", "design-convert"];
4
+ /**
5
+ * One skill ships. The four satellites collapsed into it on 2026-08-16; their
6
+ * names live on only in `LEGACY_SKILL_NAMES`, which is what removes the copies
7
+ * already installed in the six client homes.
8
+ */
9
+ export declare const TWELVE_UI_SKILL_NAMES: readonly ["design"];
5
10
  export type TwelveUiSkillName = typeof TWELVE_UI_SKILL_NAMES[number];
6
11
  export type SkillInstallStatus = 'not_installed' | 'current' | 'different';
7
12
  export type SkillTarget = {
@@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Homes, isSkillClient, resolveClientHome, SKILL_CLIENTS, } from './skill-clients.js';
8
8
  export { isSkillClient, SKILL_CLIENTS };
9
9
  export const TWELVE_UI_SKILL_NAME = 'design';
10
- export const TWELVE_UI_SKILL_NAMES = [
11
- TWELVE_UI_SKILL_NAME,
12
- 'design-search',
13
- 'design-draft',
14
- 'design-branch',
15
- 'design-convert',
16
- ];
10
+ /**
11
+ * One skill ships. The four satellites collapsed into it on 2026-08-16; their
12
+ * names live on only in `LEGACY_SKILL_NAMES`, which is what removes the copies
13
+ * already installed in the six client homes.
14
+ */
15
+ export const TWELVE_UI_SKILL_NAMES = [TWELVE_UI_SKILL_NAME];
17
16
  const skillDefinitions = {
18
17
  design: {
19
18
  clients: SKILL_CLIENTS,
20
19
  requiredScopes: ['design.convert', 'design.corpus.retrieve'],
21
20
  },
22
- 'design-search': {
23
- clients: SKILL_CLIENTS,
24
- requiredScopes: ['design.corpus.retrieve'],
25
- },
26
- 'design-draft': {
27
- clients: SKILL_CLIENTS,
28
- requiredScopes: ['design.corpus.retrieve'],
29
- },
30
- 'design-branch': {
31
- clients: SKILL_CLIENTS,
32
- requiredScopes: ['design.convert', 'design.corpus.retrieve'],
33
- },
34
- 'design-convert': {
35
- clients: SKILL_CLIENTS,
36
- requiredScopes: ['design.convert'],
37
- },
38
21
  };
39
22
  const exists = async (target) => {
40
23
  try {
@@ -1 +1 @@
1
- {"version":3,"file":"skill-installer.js","sourceRoot":"","sources":["../src/skill-installer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EACL,EAAE,EACF,KAAK,EACL,OAAO,EACP,QAAQ,EACR,MAAM,EACN,KAAK,EACL,EAAE,EACF,IAAI,GACL,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC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AM,WAAW,GAAG,KAAK,EAAE,WAAmB,EAAoB,EAAE;IACzE,oBAAoB,CAAC,WAAW,CAAC,CAAC;IAClC,IAAI,CAAC,CAAC,MAAM,MAAM,CAAC,WAAW,CAAC,CAAC;QAAE,OAAO,KAAK,CAAC;IAC/C,MAAM,EAAE,CAAC,WAAW,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAC3C,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,KAAK,EACnC,QAA2B,oBAAoB,EAC9B,EAAE,CAAC,CACpB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,EAAE,MAAM,CAAC,CAC9D,CAAC"}
@@ -0,0 +1,186 @@
1
+ {
2
+ "$schema": "https://open-design.ai/schemas/plugin.v1.json",
3
+ "specVersion": "1.0.0",
4
+ "name": "12ui-design",
5
+ "title": "12UI Design",
6
+ "version": "0.2.25",
7
+ "description": "Explore corpus-grounded interface directions, choose one, and convert it into production-ready responsive or native artifacts with 12UI.",
8
+ "author": {
9
+ "name": "Just Every",
10
+ "url": "https://12ui.com"
11
+ },
12
+ "license": "MIT",
13
+ "homepage": "https://github.com/just-every/12ui/tree/main/packages/12ui",
14
+ "publishedAt": "2026-08-13T00:00:00.000Z",
15
+ "tags": [
16
+ "12ui",
17
+ "interface-design",
18
+ "image-to-code",
19
+ "responsive-html",
20
+ "layerdoc"
21
+ ],
22
+ "compat": {
23
+ "agentSkills": [
24
+ {
25
+ "path": "./SKILL.md"
26
+ }
27
+ ]
28
+ },
29
+ "od": {
30
+ "kind": "bundle",
31
+ "taskKind": "new-generation",
32
+ "mode": "prototype",
33
+ "scenario": "design",
34
+ "engineRequirements": {
35
+ "od": ">=0.18.2"
36
+ },
37
+ "useCase": {
38
+ "query": "Design {{brief}} with four distinct, corpus-grounded visual directions. Let me select the real candidate image, then deliver it as {{output}} at {{scope}} scope."
39
+ },
40
+ "context": {
41
+ "skills": [
42
+ {
43
+ "path": "./skills/design/SKILL.md"
44
+ }
45
+ ],
46
+ "mcp": [
47
+ {
48
+ "name": "12ui",
49
+ "command": "npx",
50
+ "args": [
51
+ "-y",
52
+ "@12ui/design@0.2.25",
53
+ "mcp"
54
+ ]
55
+ }
56
+ ]
57
+ },
58
+ "pipeline": {
59
+ "stages": [
60
+ {
61
+ "id": "discovery",
62
+ "atoms": [
63
+ "discovery-question-form",
64
+ "todo-write"
65
+ ]
66
+ },
67
+ {
68
+ "id": "explore",
69
+ "atoms": [
70
+ "file-read",
71
+ "file-write"
72
+ ]
73
+ },
74
+ {
75
+ "id": "select",
76
+ "atoms": [
77
+ "direction-picker"
78
+ ]
79
+ },
80
+ {
81
+ "id": "produce",
82
+ "atoms": [
83
+ "file-read",
84
+ "file-write",
85
+ "live-artifact"
86
+ ]
87
+ },
88
+ {
89
+ "id": "critique",
90
+ "atoms": [
91
+ "critique-theater"
92
+ ]
93
+ }
94
+ ]
95
+ },
96
+ "genui": {
97
+ "surfaces": [
98
+ {
99
+ "id": "twelve-ui-spend-approval",
100
+ "kind": "confirmation",
101
+ "persist": "run",
102
+ "trigger": {
103
+ "stageId": "explore"
104
+ },
105
+ "prompt": "Approve this run's described 12UI corpus retrieval, candidate generation, and conversion work before any quota-consuming command is dispatched.",
106
+ "timeout": 300000,
107
+ "onTimeout": "abort"
108
+ },
109
+ {
110
+ "id": "twelve-ui-direction",
111
+ "kind": "choice",
112
+ "persist": "run",
113
+ "trigger": {
114
+ "stageId": "select",
115
+ "atom": "direction-picker"
116
+ },
117
+ "prompt": "Choose one of the four generated 12UI candidate images and give the reason for the selection.",
118
+ "schema": {
119
+ "type": "object",
120
+ "required": [
121
+ "winner",
122
+ "reason"
123
+ ],
124
+ "properties": {
125
+ "winner": {
126
+ "type": "string"
127
+ },
128
+ "reason": {
129
+ "type": "string",
130
+ "minLength": 1
131
+ }
132
+ }
133
+ },
134
+ "timeout": 1800000,
135
+ "onTimeout": "abort"
136
+ }
137
+ ]
138
+ },
139
+ "inputs": [
140
+ {
141
+ "name": "brief",
142
+ "label": "Interface brief",
143
+ "type": "text",
144
+ "required": true,
145
+ "placeholder": "Product, audience, surface, goal, content, and desired personality"
146
+ },
147
+ {
148
+ "name": "scope",
149
+ "label": "Scope",
150
+ "type": "select",
151
+ "required": true,
152
+ "options": [
153
+ "single-view",
154
+ "full-page",
155
+ "multi-route"
156
+ ],
157
+ "default": "full-page"
158
+ },
159
+ {
160
+ "name": "output",
161
+ "label": "Primary output",
162
+ "type": "select",
163
+ "required": true,
164
+ "options": [
165
+ "responsive-html",
166
+ "web-project",
167
+ "native-app"
168
+ ],
169
+ "default": "responsive-html"
170
+ },
171
+ {
172
+ "name": "redesignSource",
173
+ "label": "Existing interface (optional)",
174
+ "type": "file"
175
+ }
176
+ ],
177
+ "capabilities": [
178
+ "prompt:inject",
179
+ "fs:read",
180
+ "fs:write",
181
+ "mcp",
182
+ "subprocess",
183
+ "network"
184
+ ]
185
+ }
186
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@12ui/design",
3
- "version": "0.2.23",
3
+ "version": "0.2.25",
4
4
  "type": "module",
5
5
  "description": "The canonical 12ui CLI, SDK, MCP server, and visual interface design skills",
6
6
  "main": "dist/index.js",
@@ -11,6 +11,8 @@
11
11
  "files": [
12
12
  "dist/**/*",
13
13
  "skills/**/*",
14
+ "SKILL.md",
15
+ "open-design.json",
14
16
  "README.md",
15
17
  "package.json"
16
18
  ],
@@ -26,7 +28,7 @@
26
28
  "dependencies": {
27
29
  "@just-every/ensemble": "0.2.274",
28
30
  "@modelcontextprotocol/sdk": "^1.29.0",
29
- "sharp": "^0.34.5"
31
+ "sharp": "^0.35.3"
30
32
  },
31
33
  "devDependencies": {
32
34
  "@types/node": "^22.19.17",
@@ -1,65 +1,116 @@
1
1
  ---
2
2
  name: design
3
- description: "Required for non-trivial UI creation and redesign (web, app,
4
- mobile): explores distinctive, corpus-grounded visual directions as images,
5
- then converts the chosen one into production-ready code."
3
+ description: "Required for any non-trivial UI work (web, app, mobile): drafts
4
+ distinctive corpus-grounded design candidates as images, expands one approved
5
+ design into every screen of a page, site, or app, converts a finished PNG,
6
+ JPEG, or WebP into production HTML, app code, PDF, PSD, PPTX, Sketch, SVG, or
7
+ raster output, and searches the 12ui design corpus for reference imagery."
6
8
  ---
7
9
 
8
10
  # Design
9
11
 
10
- ## Setup
12
+ If the `12ui` CLI is not present, run `npx -y @12ui/design skill install --skill design` once.
11
13
 
12
- If the `12ui` CLI is not present, run `npx -y @12ui/design skill install --skill design` once. This installs the CLI and verifies this skill's account scopes.
14
+ Code-generating models converge on a narrow band of visual defaults and cannot
15
+ see that convergence from inside it. Corpus-grounded generation explores
16
+ genuinely different directions, and converting the chosen image preserves one
17
+ with near-pixel fidelity — faster and truer than coding it by hand.
13
18
 
14
- Code-generating models converge on a narrow band of visual defaults the
15
- same fonts, palettes, and layouts across unrelated products and a model
16
- cannot see its own convergence from inside it. This skill escapes that:
17
- corpus-grounded image generation explores genuinely different visual
18
- directions, and converting the chosen image preserves it with near-pixel
19
- fidelity, faster and truer than recreating it by hand. Once you have a
20
- single screen then `12ui branch` extends it into a full page or app with
21
- consistent, professional quality design. That is why the flow below beats
22
- designing directly in code, even when coding the interface yourself feels
23
- quicker.
19
+ Start where you already are: a finished design image goes to §3, a rough concept
20
+ to §1, reference imagery as the deliverable to §5. Each command prints the next,
21
+ and `12ui <command> --help` prints every flag and its choices read it rather
22
+ than guess.
24
23
 
25
- ## 1. Explore — four directions
26
-
27
- Already holding the finished design? Build it, do not redraw it: see
28
- `design-convert`. Only to redraw an existing interface:
29
- `12ui draft --redesign-source <png> --mode exploratory|reskin`.
24
+ ## 1. Explore
30
25
 
31
26
  12ui draft --query "<product, audience, surface, goal, personality>"
32
27
 
33
- Creates the run directory and prints its path pass it to every later
34
- command. Searches the corpus for four diverse references and generates one
35
- one-viewport candidate steered by each, returning immediately.
28
+ Four diverse corpus references, one candidate steered by each. Creates the run
29
+ directory and prints its path pass it to every later command. Already holding
30
+ the finished design? Build it, do not redraw it: §3. Only to redraw an existing
31
+ interface, add `--redesign-source`. For more slots, or a direction or reference
32
+ each:
33
+
34
+ 12ui create claim --concept "<product, audience, surface, goal, personality; 1200 chars max>" \
35
+ --candidates '[{"slot":"a","direction":"<short>","referenceId":"gen-<corpus-id>"}]'
36
+ 12ui create dispatch <run-id>
37
+ 12ui create download <run-id> --out-dir <directory>
38
+
39
+ Directions must be meaningfully different: four paraphrases of one idea buy four
40
+ of the same design. A run holds 1-96 candidates in slots `a`-`cr`, and one
41
+ returning `failed` is a settled, paid outcome, not a transient error.
36
42
 
37
43
  ## 2. Select
38
44
 
39
45
  12ui select <run-dir> --winner B --reason "<rationale>"
40
46
 
41
- If the run indicates a recommended candidate, prefer it; overriding it
42
- requires a stated reason.
47
+ Prefer the recommended candidate; overriding it needs a stated reason.
48
+
49
+ ## 3. Convert
50
+
51
+ 12ui convert <source-image> --export html
52
+ 12ui convert <source-image> --output layerdoc
53
+
54
+ The first converts and exports the responsive page in one command, billing $1.00
55
+ past the free daily allowance. The second stops at the structured document: ask
56
+ for it when that is the deliverable, and do not buy an export nobody asked for.
57
+
58
+ Derive further formats from that conversion instead of converting again:
59
+
60
+ 12ui export <conversion-id> --output html_fixed,svg,pdf --out-dir <dir> \
61
+ --idempotency-key <stable-key>
62
+
63
+ All but `html` are free, deterministic, and parallel; reusing a key replays
64
+ finished work rather than buying it twice. `--help` lists every output; the code
65
+ outputs take a profile of this shape (`--app-profile` for native):
66
+
67
+ --web-profile '{"version":1,"framework":"react","styling":"tailwind","language":"typescript","packaging":"page"}'
68
+
69
+ Ordered viewports of one continuous page are ONE package conversion — separate
70
+ conversions lose page order and stitching. Take the manifest from the tool and
71
+ read the rules it prints:
72
+
73
+ 12ui convert package --template > package.json
74
+ 12ui convert package --manifest package.json --out-dir <dir>
75
+
76
+ ## 4. Branch
77
+
78
+ Whenever the deliverable is more than one viewport — a full page, a multi-route
79
+ site, an app with several states — expand the approved design rather than
80
+ re-deriving it per screen. A single fold is a plain convert (§3).
81
+
82
+ 12ui branch execute <run-dir> --scope page|site --convert html \
83
+ --concept "<what the rest of the surface must cover; 1200 chars max>"
43
84
 
44
- ## 3. Execute
85
+ `--scope page` grows that screen into the rest of its page, `--scope site` adds
86
+ sibling routes and app states, and `--convert html` converts each page as one
87
+ ordered package. The starting design is viewport 1 already — the candidate
88
+ `12ui select` recorded, or `--winner-run <run-id> --winner-slot <slot>` in a
89
+ fresh directory.
45
90
 
46
- For a single fold, view, or state:
91
+ 12ui next <run-dir>
47
92
 
48
- 12ui convert <run-dir>/candidates/B.png --export html
93
+ Execute returns immediately; `next` reports progress and the next command,
94
+ `--wait` blocks instead of polling, and `12ui branch resume` continues an
95
+ interrupted run, replaying already-settled screens for free. Wait for it rather
96
+ than building the same pages by hand in the meantime — they are already being
97
+ produced and paid for. Screens land in `<run-dir>/branch/screens/` and per-page
98
+ HTML in `<run-dir>/branch/pages/`.
49
99
 
50
- For a full page or a multi-page site or app — the winner is viewport 1 of
51
- the first page; it needs no separate conversion:
100
+ ## 5. Search
52
101
 
53
- 12ui branch execute <run-dir> \
54
- --concept "<what the rest of the surface must cover>" \
55
- --scope page|site --convert html
102
+ 12ui corpus inspire --query "<product, audience, surface, goal, personality>" \
103
+ --out-dir .12ui/<slug>/references
56
104
 
57
- The server plans the screens; the command dispatches, downloads, and
58
- converts one package per page, into `<run-dir>/branch/pages/`.
59
- Wait for it rather than building the same pages by hand in the meantime
60
- they are already being produced and paid for.
105
+ The corpus is already explored, ranked, and diversified, so this returns real
106
+ references rather than another model's guess. Preserve the returned order; the
107
+ ranking is the product, and `manifest.json` is the completion record. `--mode`
108
+ trades query adherence against exploration (`balanced` is the default),
109
+ `--reference-image` ranks against an existing interface, and
110
+ `12ui corpus resume --out-dir <dir>` continues an interrupted search.
61
111
 
62
- ## 4. Integrate
112
+ ## 6. Integrate
63
113
 
64
- The exported HTML is the page: build the surface around its document
65
- copy, routes, state, interactions — rather than replacing it.
114
+ The exported HTML is the page: keep its document, structure, and bindings and
115
+ build around it — routing, copy, state, interactions — rather than re-authoring
116
+ the markup around mined assets.
@@ -1,51 +0,0 @@
1
- ---
2
- name: design-branch
3
- description: "Required whenever the deliverable is more than one viewport — a
4
- full page, a multi-route site, or an app with several states: expands one
5
- approved design into every planned screen and converts each page as one
6
- ordered package. Not for a single above-the-fold screen."
7
- ---
8
-
9
- # Design branch
10
-
11
- ## Setup
12
-
13
- If the `12ui` CLI is not present, run `npx -y @12ui/design skill install --skill design-branch` once. This installs the CLI and verifies this skill's account scopes.
14
-
15
- One approved screen fixes the visual system; branching extends it across the
16
- rest of the surface with consistent, professional quality instead of
17
- re-deriving the design once per screen. The server plans the screens and
18
- their dependencies; one command executes the whole plan and keeps every paid
19
- screen addressable, so a retry never repeats paid work. Use it whenever the
20
- deliverable is more than one viewport; a single fold is a plain convert.
21
-
22
- ## 1. Execute
23
-
24
- 12ui branch execute <run-dir> \
25
- --concept "<product, audience, what the rest of the surface must cover>" \
26
- --scope page|site --convert html
27
-
28
- The run directory is the one `12ui draft` printed; the starting design is
29
- the candidate `12ui select` recorded there. `--scope page` grows that screen
30
- into viewports 2..n of its own page; `--scope site` adds sibling routes and
31
- app states as well. `--convert html` converts each finished page as one
32
- ordered package; omitting it stops at downloaded PNGs. A run with no draft
33
- behind it takes a fresh directory and names its own starting design — the
34
- command refuses with both spellings if none is given. Either way the starting
35
- design is viewport 1 of the first page; it needs no separate conversion.
36
-
37
- ## 2. Follow
38
-
39
- 12ui next <run-dir>
40
-
41
- Execute returns immediately; `12ui next` reports progress and the one command
42
- to run next, and `--wait` blocks instead of polling.
43
- `12ui branch resume <run-dir>` continues an interrupted run, replaying
44
- already-settled screens for free.
45
-
46
- ## 3. Collect
47
-
48
- Screens land in `<run-dir>/branch/screens/<slot>.png` and per-page HTML in
49
- `<run-dir>/branch/pages/<page-id>.html`, materialized when the run reaches a
50
- terminal state. Each exported page is the page: build the surface around its
51
- document rather than replacing it.
@@ -1,8 +0,0 @@
1
- interface:
2
- display_name: "Design Branch"
3
- short_description: "Expand one approved design into a whole site using 12ui design branch"
4
- icon_small: "./assets/small-400px.png"
5
- icon_large: "./assets/large-logo.svg"
6
- default_prompt: "Use $design-branch to expand this homepage into a site."
7
- policy:
8
- allow_implicit_invocation: true
@@ -1,7 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024" version="1.1" role="img" aria-label="design-branch logo">
2
- <path d="M 366.13 592.44 L 716.78 247.44 L 657.87 187.56 L 307.22 532.56 Z" stroke="none" fill="#000"/>
3
- <path d="M 307.22 491.44 L 657.87 836.44 L 716.78 776.56 L 366.13 431.56 Z" stroke="none" fill="#000"/>
4
- <path d="M 96 366 L 388 366 L 388 658 L 96 658 Z" stroke="none" fill="#000"/>
5
- <path d="M 636 122 L 928 122 L 928 414 L 636 414 Z" stroke="none" fill="#000"/>
6
- <path d="M 636 610 L 928 610 L 928 902 L 636 902 Z" stroke="none" fill="#000"/>
7
- </svg>
@@ -1,65 +0,0 @@
1
- ---
2
- name: design-convert
3
- description: "Required to turn a finished PNG, JPEG, or WebP design into
4
- production output: converts it once into a structured LayerDoc, then derives
5
- responsive HTML, web or native app code, PDF, PSD, PPTX, Sketch, SVG, PNG,
6
- JPEG, or WebP from that one conversion."
7
- ---
8
-
9
- # Design convert
10
-
11
- ## Setup
12
-
13
- If the `12ui` CLI is not present, run `npx -y @12ui/design skill install --skill design-convert` once. This installs the CLI and verifies this skill's account scopes.
14
-
15
- Convert one finished image once, keep its base LayerDoc conversion, and
16
- derive every required format from that structured source — near-pixel
17
- fidelity, faster and truer than recreating the design by hand.
18
-
19
- ## 1. Convert
20
-
21
- 12ui convert <source-image> --export html
22
-
23
- Converts the image to a LayerDoc and exports responsive HTML alongside it in
24
- one blocking command, which is faster than converting and then exporting.
25
- The result carries the conversion under `id` and the export under `export.id`.
26
-
27
- ## 2. Export more formats
28
-
29
- 12ui export <conversion-id> --output html_fixed,svg,pdf \
30
- --out-dir <dir> --idempotency-key <stable-key>
31
-
32
- Derives further formats from the finished conversion without repeating
33
- extraction, and independent exports run in parallel. Outputs: `html`,
34
- `html_fixed`, `svg`, `png`, `jpg`, `webp`, `pdf`, `psd`, `pptx`, `sketch`,
35
- `web_project`, `app_project`. Reusing the same key replays a finished export
36
- instead of buying it again. Project outputs take a profile matching the
37
- target project:
38
-
39
- --web-profile '{"version":1,"framework":"react","styling":"tailwind","language":"typescript","packaging":"page"}'
40
- --app-profile '{"version":1,"framework":"expo","styling":"native","language":"typescript","packaging":"screen"}'
41
-
42
- ## 3. One page, one package
43
-
44
- Ordered viewports of one continuous page are one package conversion, not one
45
- convert per image — separate conversions lose page order and stitching:
46
-
47
- 12ui convert package --manifest <package.json> --out-dir <dir>
48
-
49
- The manifest names each page and its ordered viewport images, with paths
50
- relative to the manifest; independent routes are separate page entries:
51
-
52
- { "version": 1, "output": "html", "pages": [
53
- { "id": "home", "viewports": [
54
- { "id": "a", "image": "screens/a.png" },
55
- { "id": "b", "image": "screens/b.png" } ] } ] }
56
-
57
- Writes `<out-dir>/<page-id>.html` per page plus `package.result.json`. A
58
- viewport may carry `"sourceConversionId": "<id>"` to reuse an already
59
- succeeded conversion of the same bytes for free.
60
-
61
- ## 4. Integrate
62
-
63
- The exported HTML is the page: keep its document, structure, and bindings,
64
- and build the surface around it — routing, real copy, state, interactions —
65
- rather than mining it for assets and re-authoring the markup around them.
@@ -1,8 +0,0 @@
1
- interface:
2
- display_name: "Design Convert"
3
- short_description: "Quickly turn any image into functioning code using 12ui design convert"
4
- icon_small: "./assets/small-400px.png"
5
- icon_large: "./assets/large-logo.svg"
6
- default_prompt: "Use $design-convert to turn this screenshot our homepage."
7
- policy:
8
- allow_implicit_invocation: true