@feimacode/open-design-agent-kit 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/assets/claude-skills/article-magazine/SKILL.md +1 -1
  2. package/assets/claude-skills/card-twitter/SKILL.md +1 -1
  3. package/assets/claude-skills/card-xiaohongshu/SKILL.md +1 -1
  4. package/assets/claude-skills/data-report/SKILL.md +1 -1
  5. package/assets/claude-skills/deck-guizang-editorial/SKILL.md +1 -1
  6. package/assets/claude-skills/deck-open-slide-canvas/SKILL.md +1 -1
  7. package/assets/claude-skills/deck-swiss-international/SKILL.md +1 -1
  8. package/assets/claude-skills/doc-kami-parchment/SKILL.md +1 -1
  9. package/assets/claude-skills/frame-data-chart-nyt/SKILL.md +1 -1
  10. package/assets/claude-skills/frame-flowchart-sticky/SKILL.md +1 -1
  11. package/assets/claude-skills/frame-glitch-title/SKILL.md +1 -1
  12. package/assets/claude-skills/frame-light-leak-cinema/SKILL.md +1 -1
  13. package/assets/claude-skills/frame-liquid-bg-hero/SKILL.md +1 -1
  14. package/assets/claude-skills/frame-logo-outro/SKILL.md +1 -1
  15. package/assets/claude-skills/frame-macos-notification/SKILL.md +1 -1
  16. package/assets/claude-skills/guizang-ppt/SKILL.md +1 -1
  17. package/assets/claude-skills/mockup-device-3d/SKILL.md +1 -1
  18. package/assets/claude-skills/open-design/SKILL.md +67 -5
  19. package/assets/claude-skills/open-design/references/remixable-examples.md +2 -1
  20. package/assets/claude-skills/open-design-campaign/SKILL.md +27 -1
  21. package/assets/claude-skills/open-design-deck-from-source/SKILL.md +23 -0
  22. package/assets/claude-skills/open-design-design-system-from-url/SKILL.md +81 -0
  23. package/assets/claude-skills/open-design-docs/SKILL.md +19 -0
  24. package/assets/claude-skills/open-design-explore/SKILL.md +23 -0
  25. package/assets/claude-skills/open-design-integrations/SKILL.md +19 -0
  26. package/assets/claude-skills/open-design-new/SKILL.md +35 -4
  27. package/assets/claude-skills/open-design-poster/SKILL.md +24 -1
  28. package/assets/claude-skills/open-design-preview/SKILL.md +34 -0
  29. package/assets/claude-skills/open-design-publish/SKILL.md +30 -0
  30. package/assets/claude-skills/open-design-recurring/SKILL.md +105 -0
  31. package/assets/claude-skills/open-design-social-post/SKILL.md +24 -1
  32. package/assets/claude-skills/poster-hero/SKILL.md +1 -1
  33. package/assets/claude-skills/ppt-keynote/SKILL.md +1 -1
  34. package/assets/claude-skills/resume-modern/SKILL.md +1 -1
  35. package/assets/claude-skills/social-carousel/SKILL.md +1 -1
  36. package/assets/claude-skills/social-reddit-card/SKILL.md +1 -1
  37. package/assets/claude-skills/social-spotify-card/SKILL.md +1 -1
  38. package/assets/claude-skills/social-x-post-card/SKILL.md +1 -1
  39. package/assets/claude-skills/social-youtube-thumbnail/SKILL.md +1 -1
  40. package/assets/claude-skills/vfx-text-cursor/SKILL.md +1 -1
  41. package/assets/claude-skills/video-hyperframes/SKILL.md +1 -1
  42. package/assets/codex-skills/article-magazine/SKILL.md +1 -1
  43. package/assets/codex-skills/card-twitter/SKILL.md +1 -1
  44. package/assets/codex-skills/card-xiaohongshu/SKILL.md +1 -1
  45. package/assets/codex-skills/data-report/SKILL.md +1 -1
  46. package/assets/codex-skills/deck-guizang-editorial/SKILL.md +1 -1
  47. package/assets/codex-skills/deck-open-slide-canvas/SKILL.md +1 -1
  48. package/assets/codex-skills/deck-swiss-international/SKILL.md +1 -1
  49. package/assets/codex-skills/doc-kami-parchment/SKILL.md +1 -1
  50. package/assets/codex-skills/frame-data-chart-nyt/SKILL.md +1 -1
  51. package/assets/codex-skills/frame-flowchart-sticky/SKILL.md +1 -1
  52. package/assets/codex-skills/frame-glitch-title/SKILL.md +1 -1
  53. package/assets/codex-skills/frame-light-leak-cinema/SKILL.md +1 -1
  54. package/assets/codex-skills/frame-liquid-bg-hero/SKILL.md +1 -1
  55. package/assets/codex-skills/frame-logo-outro/SKILL.md +1 -1
  56. package/assets/codex-skills/frame-macos-notification/SKILL.md +1 -1
  57. package/assets/codex-skills/guizang-ppt/SKILL.md +1 -1
  58. package/assets/codex-skills/mockup-device-3d/SKILL.md +1 -1
  59. package/assets/codex-skills/open-design/SKILL.md +49 -5
  60. package/assets/codex-skills/open-design/references/remixable-examples.md +2 -1
  61. package/assets/codex-skills/open-design-campaign/SKILL.md +20 -1
  62. package/assets/codex-skills/open-design-deck-from-source/SKILL.md +19 -0
  63. package/assets/codex-skills/open-design-design-system-from-url/SKILL.md +76 -0
  64. package/assets/codex-skills/open-design-docs/SKILL.md +19 -0
  65. package/assets/codex-skills/open-design-explore/SKILL.md +19 -0
  66. package/assets/codex-skills/open-design-integrations/SKILL.md +19 -0
  67. package/assets/codex-skills/open-design-new/SKILL.md +27 -4
  68. package/assets/codex-skills/open-design-poster/SKILL.md +20 -1
  69. package/assets/codex-skills/open-design-preview/SKILL.md +33 -0
  70. package/assets/codex-skills/open-design-publish/SKILL.md +19 -0
  71. package/assets/codex-skills/open-design-recurring/SKILL.md +100 -0
  72. package/assets/codex-skills/open-design-social-post/SKILL.md +20 -1
  73. package/assets/codex-skills/poster-hero/SKILL.md +1 -1
  74. package/assets/codex-skills/ppt-keynote/SKILL.md +1 -1
  75. package/assets/codex-skills/resume-modern/SKILL.md +1 -1
  76. package/assets/codex-skills/social-carousel/SKILL.md +1 -1
  77. package/assets/codex-skills/social-reddit-card/SKILL.md +1 -1
  78. package/assets/codex-skills/social-spotify-card/SKILL.md +1 -1
  79. package/assets/codex-skills/social-x-post-card/SKILL.md +1 -1
  80. package/assets/codex-skills/social-youtube-thumbnail/SKILL.md +1 -1
  81. package/assets/codex-skills/vfx-text-cursor/SKILL.md +1 -1
  82. package/assets/codex-skills/video-hyperframes/SKILL.md +1 -1
  83. package/out/index.js +7218 -3078
  84. package/out/preview/bridge.js +3 -0
  85. package/out/preview/mcp-app.js +209 -0
  86. package/out/preview/shell.js +70 -0
  87. package/package.json +2 -2
@@ -9,4 +9,4 @@ Use the Open Design skill `od:prototype:mockup-device-3d` (Device 3D Showcase).
9
9
 
10
10
  Treat the rest of the user's message as the brief. If nothing more specific was given, use: "Use the Device 3D Showcase template to turn my content into a static iPhone and MacBook 3D-style showcase with real HTML embedded on the screens. Preserve the template's visual signature, use real content and data, and avoid lorem ipsum or placeholder images."
11
11
 
12
- Call `prepare_open_design_brief` (the open-design MCP server's tool) with skillId "od:prototype:mockup-device-3d" and this brief — call `list_open_design_design_systems` first only if the user names a brand or visual direction. Author the files yourself with your own file-editing tools per the returned instructions, then call `register_open_design_artifact`.
12
+ Call `prepare_open_design_brief` (the open-design MCP server's tool) with skillId "od:prototype:mockup-device-3d" and this brief — call `list_open_design_design_systems` first if the user names a brand or visual direction, or `recommend_open_design_design_systems` if they name none and no design system is active. Author the files yourself with your own file-editing tools per the returned instructions, then call `register_open_design_artifact`.
@@ -13,26 +13,68 @@ A small, curated subset of skills/templates also has its own explicit `/open-des
13
13
 
14
14
  All Open Design content (skill/template text, design system tokens, example briefs) is delivered to you as plain text through the MCP tool calls below — never as a file path. You never need to, and should not, browse or search for Open Design's own files anywhere on disk; `list_open_design_skills` and `prepare_open_design_brief` already return everything you need as plain text.
15
15
 
16
+ <!-- voice:start -->
17
+ **How to talk to the user.** Many people using Open Design don't write code, so:
18
+ - Use the user's own words. If they say "artifact", "design tokens" or give a file path, use those terms back; otherwise use the plain words below.
19
+ - Keep the machinery out of replies: no tool names, no ids like `od:prototype:poster-hero`, no internal files (`.artifact.json`, `.comments.json`, `config.json`), and not the words "register", "manifest", "sidecar", "entry" or "surface", unless the user used them first.
20
+ - Explain a print term the first time it comes up, in one short clause, and not again.
21
+ - Say where a file is the way the user would find it ("in your Open Design folder, under seed-swap-flyer"). Give a raw path only where the user can click it (Claude Code, Claude Desktop's Code tab, VS Code) or asks for it.
22
+ - End each reply that finishes a step with one line on what they can do next, with at most two options ("Want it in Instagram sizes too, or is it ready to print?").
23
+
24
+ | Instead of | Say |
25
+ |---|---|
26
+ | artifact, entry, registered | your design, saved |
27
+ | design system, active design system | your style (the first time: "a saved style: colours, fonts and spacing") |
28
+ | surface, skill, template, recipe | kind of design, starting layout, or nothing |
29
+ | workspace, output directory | your folder, your Open Design folder |
30
+ | bleed | print edge ("a few millimetres extra that the printer trims off") |
31
+ | trim size | final size |
32
+ | preflight findings, errors | "I checked it and fixed…", "one thing to look at:" |
33
+ | export | save as PDF, save as an image |
34
+ | inline preview, MCP App | the preview above |
35
+ <!-- voice:end -->
36
+
16
37
  Follow this flow:
17
38
 
18
39
  0. **Check the tools are wired up.** This skill does nothing on its own — every step below calls a tool the `open-design` MCP server provides. If `list_open_design_skills` (or any other tool named below) isn't available to you right now, the server hasn't been registered in this project yet. Set it up, then retry from step 1:
19
40
  - **Claude Code:** run `npx @feimacode/open-design-agent-kit init --tools claude` in the project root, or `claude mcp add open-design -- npx -y @feimacode/open-design-agent-kit-mcp`.
20
41
  - **Codex CLI:** run `npx @feimacode/open-design-agent-kit init --tools codex` in the project root.
21
42
  - **Any other MCP-capable agent** (Cursor, etc.): register `npx -y @feimacode/open-design-agent-kit-mcp` as a stdio MCP server using this agent's own MCP config mechanism.
43
+ - **Claude Desktop Chat or claude.ai** (no Open Design tools in the chat): don't make anything yet. Welcome the user in plain words, in this shape:
44
+ > Open Design can't save or check designs in this chat yet. Two ways to fix that:
45
+ > 1. **Connect a folder:** make a folder called "Open Design" (in Documents, for example), then click **+** in this chat, choose **Add folder** and pick it.
46
+ > 2. **Install the Open Design extension for Claude Desktop:** download it from https://github.com/feimacode/open-design-agent-kit/releases/latest, double-click the file, then start a new chat.
47
+ >
48
+ > What's the design for?
49
+
50
+ Don't name file types, packages, commands or tools in it. Offer the goals from step 1 below as examples of what they can say ("promote an event", "show an idea", "get hired"). Only if they want to go ahead without either, make one self-contained HTML page and publish it with your own Artifact tool, and say it can't use saved styles, checks or saving as PDF and images.
22
51
 
23
52
  Run the command yourself if you have shell access; otherwise tell the user the exact command to run and wait for their confirmation before continuing. Skip this step entirely once the tools are available.
53
+
54
+ **In Claude Desktop** (a chat or Cowork session with a folder the user connected), the server runs on the user's machine and starts in their home folder, and your file tools see the folder under a different path. Before any other Open Design tool, call `set_open_design_workspace` with the folder's path on the user's machine (the one `get_device_info` lists under `connectedFolders`). Every path other tools return is relative to that folder: join it onto your own path for the folder when you read or write files, and when you attach or show a file with your own tools, give the full path: a relative one resolves against your shell's current folder, which moves when you `cd`. If a tool says it would be working in the home folder, this is what it's asking for. The first time you set the folder in a chat, tell the user in one sentence where their designs will be saved (the folder's name and the `Open Design` folder inside it) and that they can open it any time; don't repeat it for later designs.
55
+
56
+ **In Claude Desktop Chat with no folder** (`use_open_design_managed_workspace` is in your tools), your own file tools, if you have any, can't reach the server's files. Call `use_open_design_managed_workspace` first with a short name for the design, and tell the user once, in one sentence, the folder's absolute path from its result (under `~/Documents/Open Design/` by default), so they can open it. Then save every design file with `write_open_design_file` (the whole file each time, under the output directory) instead of your own file tools, and register, check and export as usual. Show the design with `show_open_design_artifact` after each round; don't keep a per-round Claude artifact preview here. The managed folder is the source of truth: to edit, send the full new file through `write_open_design_file`. If the chat has a connected folder, use `set_open_design_workspace` instead.
24
57
  1. Call `list_open_design_skills` (optionally with a `query` and/or an exact `mode`) to find a skill or design template that matches what the user wants. Pick the best match by name/description/triggers, and prefer a result's `examplePrompt` (adapted to the user's specifics) over inventing your own brief when one is present and closely fits.
25
- 2. There is an **active design system**, persisted per project (a local `.open-design/config.json` file). If the user mentions a brand, company, industry, or visual style that differs from what's active, call `list_open_design_design_systems` (optionally with a `query` and/or an exact `category` — call with no arguments first to see categories, and check each result's `active` flag) to find the right one, and pass its id explicitly to `prepare_open_design_brief` — doing so also makes it the new active one going forward, so you don't need to re-specify it on later requests in this project. If the user hasn't mentioned any direction, just omit `designSystemId` from `prepare_open_design_brief` and it will silently use whatever is currently active (or none). Only call `set_active_design_system` directly when the user wants to pin a look before generating anything ("let's use the Starbucks look from now on").
58
+ 2. There is an **active design system**, persisted per project (a local `.open-design/config.json` file). If the user mentions a brand, company, industry, or visual style that differs from what's active, call `list_open_design_design_systems` (optionally with a `query` and/or an exact `category` — call with no arguments first to see categories, and check each result's `active` flag) to find the right one, and pass its id explicitly to `prepare_open_design_brief` — doing so also makes it the new active one going forward, so you don't need to re-specify it on later requests in this project. For **phone screens** (the Mobile app surface, or a brief like "a budgeting app that feels like Monzo"), look in the `Mobile Apps` category first, with the app's name as `query`: those systems are adapted from the real iOS apps (tab bars, sheets, iOS point sizes). Use `<app>-ios` (e.g. `spotify-ios`) for phone screens even when a web system of the same brand exists (`spotify`); the web one stays the right choice for web pages. If the user hasn't mentioned any direction and one is active, just omit `designSystemId` from `prepare_open_design_brief` and it will use the active one. **If none is active and the user hasn't named a direction, recommend one** before preparing a new design (not for an edit, a remix or an export): call `recommend_open_design_design_systems` with what you know from the request, the conversation and the workspace (`industries`, `moods`, `theme`, `surface`, `likeBrands`, `brief`), leaving out what you don't know. If its result has `questions`, ask them once, in one message, as short multiple-choice options (use your host's question tool if it has one), and accept "you pick"; then call it again with the answers. Show the shortlist: where `show_open_design_design_systems` is in your tools, pass it the recommended `ids`; elsewhere, a short numbered list with each name and its `reason`. Don't wait for a pick unless you asked questions: go ahead with the first recommendation, pass its id to `prepare_open_design_brief`, and say which style you used and that they can pick another. If `recommend_open_design_design_systems` isn't in your tools, use `list_open_design_design_systems` instead, or go without one. Only call `set_active_design_system` directly when the user wants to pin a look before generating anything ("let's use the Starbucks look from now on").
26
59
  3. Call `prepare_open_design_brief` with the chosen `skillId`, optional `designSystemId` (per step 2), and the user's `brief` (their request, in their own words). This returns `instructions` to follow, a `suggestedEntryPath`, and the `designSystemId`/`designSystemName` actually used (whether explicit or defaulted from active) — mention which one it was if it wasn't obvious from the conversation. It does NOT write any files.
27
60
  4. Follow the returned `instructions` and author the artifact's entry file (plus any supporting files) yourself, using your own file-editing tools. Do not look for a separate tool to write the design content.
28
61
  5. Call `register_open_design_artifact` with the entry path, a `kind`, a `title`, and any `supportingFiles`, so the artifact is recognized and gets its manifest sidecar written.
29
- 6. Call `check_open_design_artifact` with the entry path before telling the user it's done (after creating an artifact, and again after a substantial edit). It renders the artifact and returns screenshots plus preflight findings: fix every **error**, then look at the screenshots for what the checks can't measure — balance, hierarchy, crowded or empty areas, text over busy imagery — and fix what's clearly wrong. Re-check after fixing, but stop after two fix rounds and tell the user about anything left. Don't describe the screenshots to the user unless they ask. If it returns `no-browser`, skip checking and tell the user once that visual checks need Chrome, Edge or Chromium installed.
62
+ 6. Call `check_open_design_artifact` with the entry path before telling the user it's done (after creating an artifact, and again after a substantial edit). It renders the artifact and returns screenshots plus preflight findings: fix every **error**, then look at the screenshots for what the checks can't measure — balance, hierarchy, crowded or empty areas, text over busy imagery — and fix what's clearly wrong. Re-check after fixing, but stop after two fix rounds and tell the user about anything left. **3D designs are the exception:** when the check returns a 3D review sheet, a clean check isn't the end. Get the critique the check result asks for (the `3d-object` skill's scorecard, from a subagent where your host has one), then fix, re-check and re-critique for up to three critique rounds, which replace the two-fix-round limit. Don't describe the screenshots to the user unless they ask: each run's screenshots are saved for them, and the browser preview's Checks panel shows them before and after (the result also lists the saved paths). If it returns `no-browser`, skip checking and tell the user once that visual checks need Chrome, Edge or Chromium installed.
30
63
  7. Optionally call `get_open_design_artifact` to confirm what was written before telling the user it's done.
64
+ 8. After the first artifact you register in a session, call `open_open_design_preview` with its entry path, unless the user said they don't want it, so they can see it. It opens a live browser preview that reloads whenever the file changes, so don't call it again after edits; call it again only to switch to another artifact. Mention that they can click **Comment** in the preview to leave comments on elements.
65
+
66
+ **In Claude Desktop Chat** (a chat conversation, not the Code tab or a terminal), call `show_open_design_artifact` with the entry path instead: it shows the design inline in the conversation, where the user can comment and click **Ask Claude to apply**. Call it after every `register_open_design_artifact`, including after applying comments, since the inline page doesn't reload by itself. If its result says the host doesn't show MCP Apps, fall back to `open_open_design_preview` as above. Its export buttons post a request in the chat: run `export_open_design_artifact` with the format named and tell the user the path. For an exploration, pass `explorationId` to show the directions side by side; when the user picks one with **Take this one**, ask which next step they want before calling `choose_open_design_direction`. A style-tile exploration also offers **Use as design system**, which asks directly for `choose_open_design_direction` with `next: "save-design-system"`.
67
+
68
+ **Picking by eye in Claude Desktop Chat.** Two more tools are listed only where the host shows MCP Apps inline, so use them only when they are in your tool list: `show_open_design_examples` shows the remixable examples as a gallery of live previews (filter by `query`, `mode` or `surface`), and `show_open_design_design_systems` shows design systems as tiles (pass `ids` for a shortlist). Use them when the user wants to choose a starting example or a brand look and hasn't named one. Picks arrive as chat messages naming the tool to call: "Remix this" means `remix_open_design_example` with that skillId (ask what to make first if the user hasn't said); "Use this design system" means `set_active_design_system` with that id. Elsewhere, keep to `list_open_design_skills` and `list_open_design_design_systems`.
69
+
70
+ When a request says **what the design is for but not what to make** ("help me promote our seed swap", "something to get a UX job"), or is too vague to tell, call `list_open_design_skills` with `surface: "list"`: its `goals` are plain-language aims (Promote an event, Show an idea, Get hired…). Take the goal that fits, or show the goals (label and description) and ask one question, "What's it for?". Then call it with `goal` set to that id and continue with the surface marked `default`, asking which one only when the request doesn't settle it and the goal leads to several. Don't show the user the list of surfaces unless they ask what kinds of thing you can make.
31
71
 
32
72
  When a request names a **kind of thing to make** (a prototype or landing page, mobile app, slides, document, wireframe, animation, résumé, research synthesis, data report, poster or flier, social post, diagram, 3D object), call `list_open_design_skills` with `surface` set to that kind first (`surface: "list"` shows the ids). Pick from its entries, ask only the surface's questions the request doesn't answer, and follow the surface's prompt when it names one. A request for one specific template or style still goes straight to it. Never pick an entry marked `stub: true`: it only advertises an upstream skill and has no instructions here.
33
73
 
34
74
  For **engineering documents** (an RFC, ADR, postmortem, PR explainer or changelog page), use the matching skill (`od:prototype:rfc`, `adr`, `postmortem`, `pr-explainer`, `changelog-page`). Gather the facts yourself first, from git (`git log`, `git diff`, `gh pr view` when available) and the files involved, and register what you read as `sources`. Never invent incident facts, dates or numbers: ask for them. To turn a **folder of Markdown docs** into pages, follow the docs flow (load the `open-design-docs` skill): one page per file, one template for the set, and on a re-run only the pages whose Markdown changed.
35
75
 
76
+ For a **recurring design** ("every week", "on a schedule", "each month from the new numbers") or a prompt that says "Run the Open Design job <path>", load the `open-design-recurring` skill: the job lives in `.open-design/jobs/<id>.job.md`, each run starts with `start_open_design_job_run` (stop when it returns `skip`) and ends with `finish_open_design_job_run`, and job runs never publish publicly or post to social networks.
77
+
36
78
  If the request is **based on a document** (it names or attaches a report, spec, spreadsheet, PDF or existing deck, or points at repository files such as `CHANGELOG.md`, `docs/adr/`, an RFC or a metrics CSV), generate from it rather than from memory: pass those workspace paths as `sources` to `prepare_open_design_brief`. Typical examples: "a release deck from CHANGELOG.md", "an architecture review from docs/adr/", "a board update from metrics/q3.xlsx", "turn docs/q3-report.docx into a pitch". The tool extracts each document (DOCX, PPTX, XLSX, PDF with `pdftotext`, Markdown, text, CSV) to Markdown and returns instructions that make you **write an outline first and stop for the user's approval** before building. Follow them: read the extracted text by line range, write `outline.md`, show it, and wait (unless the user said to just build it). Then register with the same `sources`; its result lists numbers on the page that it couldn't find in the sources, so check and fix each one. Use `read_open_design_source` on its own to look inside a document before deciding how to use it. For a whole folder of files (such as `docs/adr/`), pass the relevant files individually (up to 10).
37
79
 
38
80
  When the user wants to **choose colors and fonts**, a palette or a type pairing, or a look for a new brand ("show me some color and type options", "what could our brand look like?"), run the exploration with the style-tile skill (`skillId: "od:design-system:style-tile"`): it makes compact tiles (palette with contrast, type specimen, components) instead of pages, 4 by default. To vary the active design system rather than replace it ("the same but warmer"), use `axis: "custom"` with one direction per variation. When the user picks a tile, call `choose_open_design_direction` with `next: "save-design-system"`: the tile's tokens are copied verbatim into the new system, which then becomes active.
@@ -41,12 +83,14 @@ If the user explicitly asks for **options to compare** ("show me three direction
41
83
  1. Call `prepare_open_design_exploration` with the `skillId` and the user's `brief` (and `count` 2–4 if they gave a number; default 3). The tool picks deliberately different directions itself: visual styles when no design system is active, layout/narrative structures when one is (so the brand is kept), or pass `axis: "custom"` with `customDirections` when the user named what should vary ("three hero concepts"). Pass `directionIds` only when the brief's tone clearly calls for specific ones (e.g. `editorial-monocle` for a magazine, `brutalist-experimental` for an art or agency site). If the result says the active design system was set aside, tell the user.
42
84
  2. For each returned direction, follow `sharedInstructions` followed by that direction's own `instructions`, write its file at its `suggestedEntryPath`, and call `register_open_design_artifact` with the `explorationId` and that direction's `directionId`. Directions are quick **sketches** (one screen, or a cover plus two slides), not full builds. If you can delegate work to sub-agents, generate the directions in parallel, passing each one `sharedInstructions` plus its own `instructions`.
43
85
  3. Call `compare_open_design_exploration` with `contactSheet: true`. If you can view images, open the contact sheet and check the directions really look different (layout and hero pattern, not just colour); regenerate any that resembles another.
44
- 4. Show the user the comparison page path (`compareFile`; it opens in any browser straight from the file system and shows every direction side by side) and the contact sheet path, briefly describe how each direction differs, and ask which one to take forward.
86
+ 4. Show the user the comparison page path (`compareFile`; it opens in any browser straight from the file system and shows every direction side by side) and the contact sheet path, each on its own line, briefly describe how each direction differs, and ask which one to take forward.
45
87
  5. When the user picks one, call `choose_open_design_direction` with `next`: `build-out` (build the chosen sketch out at full fidelity), `merge` (the same, taking named aspects from other directions via `mergeFrom`, e.g. "B with A's hero"), or `save-design-system` (turn the direction into a reusable custom design system). Follow the returned `instructions` and register the result as they say.
46
88
 
47
- Generated artifacts land under the project's Open Design output directory (default `.open-design/`) so they stay visible and trackable in version control like any other project file. This host has no live preview editor — after registering an artifact, just tell the user where it was written; there is nothing further to open automatically.
89
+ Generated artifacts land under the project's Open Design output directory (default `.open-design/`) so they stay visible and trackable in version control like any other project file. After registering or updating an artifact, tell the user where it was written, with its workspace-relative entry path (e.g. `.open-design/coffee-poster/coffee-poster.html`) on its own line: in Claude Desktop's Code tab, clicking that path opens it in the Browser pane. Don't open the HTML file in a browser yourself: `open_open_design_preview` (or `show_open_design_artifact` in Claude Desktop Chat) is how it is shown.
90
+
91
+ **Comments from the preview.** When the user says they left comments (or pastes the preview's "Apply my comments" instruction, or the inline preview posts it), call `get_open_design_artifact` for that entry. Its `openComments` lists each comment's note and the element it points at (`selector`, `text`, `htmlHint`, `rect`); screenshots of up to 4 commented elements are attached as images, and every comment's `screenshot` path is listed. Change only those elements, with your own file-editing tools, then call `register_open_design_artifact` again with the comments' ids as `resolvedCommentIds` so their pins leave the preview, and run the check as in step 6. In Claude Desktop Chat, then call `show_open_design_artifact` again so the user sees the result.
48
92
 
49
- If the user wants to start from or riff on an existing example rather than build something new, prefer `remix_open_design_example` (skillId must have a non-empty `exampleArtifactPath`) over `prepare_open_design_brief` — it copies a working starting artifact into the project and tells you to modify it rather than regenerate from scratch. See [references/remixable-examples.md](references/remixable-examples.md) for the full list of what's available to remix, grouped by mode — check it before calling `list_open_design_skills` with `remixableOnly: true` if a quick skim already answers the question.
93
+ If the user wants to start from or riff on an existing example rather than build something new, prefer `remix_open_design_example` (skillId must be an entry with `remixable: true`) over `prepare_open_design_brief` — it copies a working starting artifact into the project and tells you to modify it rather than regenerate from scratch. See [references/remixable-examples.md](references/remixable-examples.md) for the full list of what's available to remix, grouped by mode — check it before calling `list_open_design_skills` with `remixableOnly: true` if a quick skim already answers the question.
50
94
 
51
95
  If the user wants a brand/style that isn't one of the ~150 bundled design systems ("use our own brand colors", "match our website", "set up a custom design system for..."), call `create_open_design_design_system` with a `name`, a `brief` describing the brand, and an optional `sourceUrl` if they gave you a website to match. It returns `instructions` for writing a new `DESIGN.md` yourself (same file shape as every bundled design system) plus, when a `sourceUrl` was given, a best-effort extracted starting palette/font list to incorporate — treat that as a rough starting point, not ground truth. It does NOT write any files. After writing the file, call `set_active_design_system` with the returned `id` — there's no separate "register" step for design systems; a written `DESIGN.md` is immediately selectable, the same way generated artifacts are immediately visible once written.
52
96
 
@@ -1,6 +1,6 @@
1
1
  # Remixable Open Design examples
2
2
 
3
- 192 vendored examples have an actual rendered starting artifact you can copy into the workspace and modify, via `remix_open_design_example` with the `id` shown below as `skillId`, instead of generating from scratch with `prepare_open_design_brief`.
3
+ 193 vendored examples have an actual rendered starting artifact you can copy into the workspace and modify, via `remix_open_design_example` with the `id` shown below as `skillId`, instead of generating from scratch with `prepare_open_design_brief`.
4
4
 
5
5
  ## prototype
6
6
 
@@ -12,6 +12,7 @@
12
12
  - **od:prototype:competitive-teardown-analyst-dossier** — Competitive Teardown — analyst dossier style: Positioning map, feature matrix, pricing comparison and opportunity windows: turns competitor research into a product decision report. The analyst dossier style variant.
13
13
  - **od:prototype:competitive-teardown-radar-map** — Competitive Teardown — radar map style: Positioning map, feature matrix, pricing comparison and opportunity windows: turns competitor research into a product decision report. The radar map style variant.
14
14
  - **od:prototype:competitive-teardown-war-room-grid** — Competitive Teardown — war room grid style: Positioning map, feature matrix, pricing comparison and opportunity windows: turns competitor research into a product decision report. The war room grid style variant.
15
+ - **od:prototype:3d-scene:example** — Courtyard at dusk — 3D scene: A small stone courtyard at dusk built from a scene spec: a Poly Haven sky, cobblestone and stone-wall textures, a brass lantern and two wooden planters (all CC0), with a 10-second camera flythrough.
15
16
  - **od:prototype:critique:example** — critique: Run a 5-dimension expert design review on any HTML artifact in the project — Philosophy / Visual hierarchy / Detail / Functionality / Innovation, each scored 0–10. Outputs a single self-contained HTML report with a radar chart, evidence-backed scores, and three lists: Keep / Fix / Quick-wins. Use when the brief asks for a "design review", "design critique", "5 维度评审", "design audit", or "what's wrong with my design".
16
17
  - **od:prototype:dashboard:example** — dashboard: Admin / analytics dashboard in a single HTML file. Fixed left sidebar, top bar with user/search, main grid of KPI cards and one or two charts. Use when the brief asks for a "dashboard", "admin", "analytics", or "control panel" screen.
17
18
  - **od:prototype:data-report:example** — Data Visualization Report: Turns CSV, Excel, or JSON data into a polished visual report page.
@@ -9,6 +9,25 @@ Build a campaign with Open Design: one message, one visual system, every channel
9
9
 
10
10
  Brief: the rest of the user's message (if there is none, ask the user: "What is the campaign for, which channels, and which languages?")
11
11
 
12
+ **How to talk to the user.** Many people using Open Design don't write code, so:
13
+ - Use the user's own words. If they say "artifact", "design tokens" or give a file path, use those terms back; otherwise use the plain words below.
14
+ - Keep the machinery out of replies: no tool names, no ids like `od:prototype:poster-hero`, no internal files (`.artifact.json`, `.comments.json`, `config.json`), and not the words "register", "manifest", "sidecar", "entry" or "surface", unless the user used them first.
15
+ - Explain a print term the first time it comes up, in one short clause, and not again.
16
+ - Say where a file is the way the user would find it ("in your Open Design folder, under seed-swap-flyer"). Give a raw path only where the user can click it (Claude Code, Claude Desktop's Code tab, VS Code) or asks for it.
17
+ - End each reply that finishes a step with one line on what they can do next, with at most two options ("Want it in Instagram sizes too, or is it ready to print?").
18
+
19
+ | Instead of | Say |
20
+ |---|---|
21
+ | artifact, entry, registered | your design, saved |
22
+ | design system, active design system | your style (the first time: "a saved style: colours, fonts and spacing") |
23
+ | surface, skill, template, recipe | kind of design, starting layout, or nothing |
24
+ | workspace, output directory | your folder, your Open Design folder |
25
+ | bleed | print edge ("a few millimetres extra that the printer trims off") |
26
+ | trim size | final size |
27
+ | preflight findings, errors | "I checked it and fixed…", "one thing to look at:" |
28
+ | export | save as PDF, save as an image |
29
+ | inline preview, MCP App | the preview above |
30
+
12
31
  ## 1. Agree the copy deck
13
32
 
14
33
  Before designing anything, agree the words with the user. Draft them from the brief and show them as a short table:
@@ -57,4 +76,4 @@ If the user wants a landing page or an email, build each with its own skill (`od
57
76
 
58
77
  1. Export the master: `export_open_design_artifact` with the same `presets`, `data` and `nameField: "locale"`, plus `campaignSheet: true`. This writes one image (or print PDF) per shape per row, named `<name>-<locale>-<format>`, and `exports/campaign-sheet.png`, which shows every shape and every other piece, with a red dot on any that still has errors. If the export says the outputs are over the limit, export one batch of locales at a time.
59
78
  2. If there's an email, export it with `format: "email"` (and `baseUrl` once its images are hosted).
60
- 3. Show the user the campaign sheet, list the files per channel, and mention anything still flagged.
79
+ 3. Show the user the campaign sheet, list the files per channel, and mention anything still flagged. The export also writes `exports/campaign-sheet.json`, which lists each tile in sheet order with its errors.
@@ -9,6 +9,25 @@ Build a deck (or a one-pager) from existing documents with Open Design, storylin
9
9
 
10
10
  Request: the rest of the user's message (if there is none, ask the user: "Which document should the deck be built from, and for whom?")
11
11
 
12
+ **How to talk to the user.** Many people using Open Design don't write code, so:
13
+ - Use the user's own words. If they say "artifact", "design tokens" or give a file path, use those terms back; otherwise use the plain words below.
14
+ - Keep the machinery out of replies: no tool names, no ids like `od:prototype:poster-hero`, no internal files (`.artifact.json`, `.comments.json`, `config.json`), and not the words "register", "manifest", "sidecar", "entry" or "surface", unless the user used them first.
15
+ - Explain a print term the first time it comes up, in one short clause, and not again.
16
+ - Say where a file is the way the user would find it ("in your Open Design folder, under seed-swap-flyer"). Give a raw path only where the user can click it (Claude Code, Claude Desktop's Code tab, VS Code) or asks for it.
17
+ - End each reply that finishes a step with one line on what they can do next, with at most two options ("Want it in Instagram sizes too, or is it ready to print?").
18
+
19
+ | Instead of | Say |
20
+ |---|---|
21
+ | artifact, entry, registered | your design, saved |
22
+ | design system, active design system | your style (the first time: "a saved style: colours, fonts and spacing") |
23
+ | surface, skill, template, recipe | kind of design, starting layout, or nothing |
24
+ | workspace, output directory | your folder, your Open Design folder |
25
+ | bleed | print edge ("a few millimetres extra that the printer trims off") |
26
+ | trim size | final size |
27
+ | preflight findings, errors | "I checked it and fixed…", "one thing to look at:" |
28
+ | export | save as PDF, save as an image |
29
+ | inline preview, MCP App | the preview above |
30
+
12
31
  ## 1. Find the sources
13
32
 
14
33
  Identify the workspace files the request is based on. If it names none, ask which documents to use before doing anything else. Repository files count: `CHANGELOG.md` for a release deck, `docs/adr/*.md` for an architecture review, a metrics CSV or spreadsheet for a board update. Use up to 10 files; for a folder, pick the relevant files.
@@ -0,0 +1,76 @@
1
+ ---
2
+ name: open-design-design-system-from-url
3
+ description: Make a design system from a website — measure its real colours, fonts, spacing and button states in a browser, write DESIGN.md and tokens.css that agree, and check the result side by side with the site before saving — use whenever the user wants a design system, brand kit, theme or tokens taken from a website or URL ("make a design system from stripe.com", "match our site's look", "extract the brand from this page"), even if they don't mention Open Design
4
+ ---
5
+
6
+ <!-- generated:open-design-agent-kit -->
7
+
8
+ Make an Open Design design system from a website: measure the rendered site, write `DESIGN.md` and `tokens.css` from one set of measurements, and check the result against the site before saving it.
9
+
10
+ Request: the rest of the user's message (if there is none, ask the user: "Which website should the design system come from?")
11
+
12
+ **How to talk to the user.** Many people using Open Design don't write code, so:
13
+ - Use the user's own words. If they say "artifact", "design tokens" or give a file path, use those terms back; otherwise use the plain words below.
14
+ - Keep the machinery out of replies: no tool names, no ids like `od:prototype:poster-hero`, no internal files (`.artifact.json`, `.comments.json`, `config.json`), and not the words "register", "manifest", "sidecar", "entry" or "surface", unless the user used them first.
15
+ - Explain a print term the first time it comes up, in one short clause, and not again.
16
+ - Say where a file is the way the user would find it ("in your Open Design folder, under seed-swap-flyer"). Give a raw path only where the user can click it (Claude Code, Claude Desktop's Code tab, VS Code) or asks for it.
17
+ - End each reply that finishes a step with one line on what they can do next, with at most two options ("Want it in Instagram sizes too, or is it ready to print?").
18
+
19
+ | Instead of | Say |
20
+ |---|---|
21
+ | artifact, entry, registered | your design, saved |
22
+ | design system, active design system | your style (the first time: "a saved style: colours, fonts and spacing") |
23
+ | surface, skill, template, recipe | kind of design, starting layout, or nothing |
24
+ | workspace, output directory | your folder, your Open Design folder |
25
+ | bleed | print edge ("a few millimetres extra that the printer trims off") |
26
+ | trim size | final size |
27
+ | preflight findings, errors | "I checked it and fixed…", "one thing to look at:" |
28
+ | export | save as PDF, save as an image |
29
+ | inline preview, MCP App | the preview above |
30
+
31
+ ## 1. Ask only what's missing
32
+
33
+ Three things decide the run. Take each from the request when it says so, and ask only about the ones it leaves open, in one message:
34
+
35
+ 1. **The address** (and, optionally, up to 3 more pages on the same site, such as a pricing or product page).
36
+ 2. **Light, dark or both.** Default to light if the user doesn't care.
37
+ 3. **Their own brand, or a reference?** For a reference site the design system is named "<Name>-inspired" and no logos or images are copied.
38
+
39
+ If the request already answers all three ("make a dark design system from https://example.com, it's our brand"), ask nothing and go straight on.
40
+
41
+ ## 2. Measure the site
42
+
43
+ Call `extract_open_design_design_system` with `url`, `extraUrls` if there are any, and `theme`.
44
+
45
+ - **`ok`**: you get a `draft` (contract tokens, a `[data-theme="dark"]` set only if the site has a dark theme), `sources` saying which element each value came from, the `unmeasured` tokens, and the screenshot. Look at the screenshot and the role crops in the evidence bundle before writing anything.
46
+ - **`partial`** (no browser installed): only candidate colours and fonts from the page source. Tell the user, show the candidates, and ask them to confirm the brand colour and font, or to install Chrome for a full measurement.
47
+ - **`blocked`**: show the user the screenshot and the reason. Ask for the site's CSS, a screenshot of the page they mean, or another public page. Don't retry the same page.
48
+ - An invalid-args error (a private address, an extra page on another site): tell the user what was refused and why.
49
+
50
+ If the user asked for dark and the result notes that no dark theme was found, say so. Don't invent dark values.
51
+
52
+ ## 3. Write both files from the draft
53
+
54
+ Call `create_open_design_design_system` with a `name` (for a reference site, "<Name>-inspired") and a `brief` describing the site in a sentence. Don't pass `sourceUrl`: you have better measurements already. It returns the `suggestedEntryPath`, the `id` and the token contract.
55
+
56
+ Write `DESIGN.md` at `suggestedEntryPath` and `tokens.css` beside it, **both from the same draft**:
57
+
58
+ - **`tokens.css`**: start from `draftCss`. Keep every measured value exactly as measured. For an `unmeasured` token, leave it out so the contract fallback applies, or derive it from measured ones (a `color-mix()` of `--accent` for a missing hover); never make one up, and don't fill two steps with the same value.
59
+ - **Sanity-check each role against the screenshot first.** If a measured value plainly can't be that role (text that would be unreadable on `--bg`, a hairline as a spacing step), drop it and say so; don't write prose to explain it away.
60
+ - **`DESIGN.md`**: the values it names (primary colour, surface, text, the font families, the type scale) must be the same values as `tokens.css`. Write the prose (atmosphere, layout, components, voice, do and don't) from the screenshots. For a reference site, say near the top that it is inspired by the site and name it.
61
+ - **Marks**: for the user's own brand, copy the files in the result's `marks` into an `assets/` folder beside `DESIGN.md` and mention them there. For a reference site, copy none.
62
+
63
+ ## 4. Review it side by side
64
+
65
+ Write a review page next to the design system as `review.html`, and register it with `register_open_design_artifact`. One page, two columns:
66
+
67
+ - **Left, "The site":** the desktop screenshot from the evidence bundle (an `<img>` with a relative path to it), cropped with `object-fit: cover` to the top 900px.
68
+ - **Right, "The design system":** a sample page that uses only the new `tokens.css` (`<link rel="stylesheet">` to it, or its `:root` block inlined): a hero with a heading and a primary and secondary button, a card with text, and a form row with a label, an input and a button.
69
+
70
+ Call `check_open_design_artifact` on it. Compare the two columns yourself (colours, font, button shape, density), fix anything that's clearly off, then show the user the review and ask whether it matches.
71
+
72
+ Apply what the user says ("the buttons are rounder on the site" → raise the radius tokens) in both files, rebuild the review and check again. Stop after **two rounds** of fixes: save then, and list anything still open.
73
+
74
+ ## 5. Save
75
+
76
+ Call `set_active_design_system` with the returned `id` if the user wants to design with it now (offer it). Tell the user the design system's id and where its files are, and that the measurements are kept in the evidence bundle.
@@ -9,6 +9,25 @@ Turn existing Markdown documents into designed HTML pages with Open Design, one
9
9
 
10
10
  Request: the rest of the user's message (if there is none, ask the user: "Which Markdown files should become pages, and in what style?")
11
11
 
12
+ **How to talk to the user.** Many people using Open Design don't write code, so:
13
+ - Use the user's own words. If they say "artifact", "design tokens" or give a file path, use those terms back; otherwise use the plain words below.
14
+ - Keep the machinery out of replies: no tool names, no ids like `od:prototype:poster-hero`, no internal files (`.artifact.json`, `.comments.json`, `config.json`), and not the words "register", "manifest", "sidecar", "entry" or "surface", unless the user used them first.
15
+ - Explain a print term the first time it comes up, in one short clause, and not again.
16
+ - Say where a file is the way the user would find it ("in your Open Design folder, under seed-swap-flyer"). Give a raw path only where the user can click it (Claude Code, Claude Desktop's Code tab, VS Code) or asks for it.
17
+ - End each reply that finishes a step with one line on what they can do next, with at most two options ("Want it in Instagram sizes too, or is it ready to print?").
18
+
19
+ | Instead of | Say |
20
+ |---|---|
21
+ | artifact, entry, registered | your design, saved |
22
+ | design system, active design system | your style (the first time: "a saved style: colours, fonts and spacing") |
23
+ | surface, skill, template, recipe | kind of design, starting layout, or nothing |
24
+ | workspace, output directory | your folder, your Open Design folder |
25
+ | bleed | print edge ("a few millimetres extra that the printer trims off") |
26
+ | trim size | final size |
27
+ | preflight findings, errors | "I checked it and fixed…", "one thing to look at:" |
28
+ | export | save as PDF, save as an image |
29
+ | inline preview, MCP App | the preview above |
30
+
12
31
  ## 1. Find the files
13
32
 
14
33
  Resolve the folder or glob in the request with your own file tools (for example `docs/adr/*.md`). List what you found.
@@ -9,6 +9,25 @@ Explore several deliberately different design directions with Open Design, compa
9
9
 
10
10
  Brief: the rest of the user's message (if there is none, ask the user: "What should we explore directions for?")
11
11
 
12
+ **How to talk to the user.** Many people using Open Design don't write code, so:
13
+ - Use the user's own words. If they say "artifact", "design tokens" or give a file path, use those terms back; otherwise use the plain words below.
14
+ - Keep the machinery out of replies: no tool names, no ids like `od:prototype:poster-hero`, no internal files (`.artifact.json`, `.comments.json`, `config.json`), and not the words "register", "manifest", "sidecar", "entry" or "surface", unless the user used them first.
15
+ - Explain a print term the first time it comes up, in one short clause, and not again.
16
+ - Say where a file is the way the user would find it ("in your Open Design folder, under seed-swap-flyer"). Give a raw path only where the user can click it (Claude Code, Claude Desktop's Code tab, VS Code) or asks for it.
17
+ - End each reply that finishes a step with one line on what they can do next, with at most two options ("Want it in Instagram sizes too, or is it ready to print?").
18
+
19
+ | Instead of | Say |
20
+ |---|---|
21
+ | artifact, entry, registered | your design, saved |
22
+ | design system, active design system | your style (the first time: "a saved style: colours, fonts and spacing") |
23
+ | surface, skill, template, recipe | kind of design, starting layout, or nothing |
24
+ | workspace, output directory | your folder, your Open Design folder |
25
+ | bleed | print edge ("a few millimetres extra that the printer trims off") |
26
+ | trim size | final size |
27
+ | preflight findings, errors | "I checked it and fixed…", "one thing to look at:" |
28
+ | export | save as PDF, save as an image |
29
+ | inline preview, MCP App | the preview above |
30
+
12
31
  ## 1. Plan the directions
13
32
 
14
33
  If the brief is empty, ask the user what to design before doing anything else.
@@ -9,6 +9,25 @@ Show the user Open Design's integrations and whether each one is connected here.
9
9
 
10
10
  Request: the rest of the user's message (if there is none, ask the user: "Anything you'd like to connect? (or leave empty to just see the list)")
11
11
 
12
+ **How to talk to the user.** Many people using Open Design don't write code, so:
13
+ - Use the user's own words. If they say "artifact", "design tokens" or give a file path, use those terms back; otherwise use the plain words below.
14
+ - Keep the machinery out of replies: no tool names, no ids like `od:prototype:poster-hero`, no internal files (`.artifact.json`, `.comments.json`, `config.json`), and not the words "register", "manifest", "sidecar", "entry" or "surface", unless the user used them first.
15
+ - Explain a print term the first time it comes up, in one short clause, and not again.
16
+ - Say where a file is the way the user would find it ("in your Open Design folder, under seed-swap-flyer"). Give a raw path only where the user can click it (Claude Code, Claude Desktop's Code tab, VS Code) or asks for it.
17
+ - End each reply that finishes a step with one line on what they can do next, with at most two options ("Want it in Instagram sizes too, or is it ready to print?").
18
+
19
+ | Instead of | Say |
20
+ |---|---|
21
+ | artifact, entry, registered | your design, saved |
22
+ | design system, active design system | your style (the first time: "a saved style: colours, fonts and spacing") |
23
+ | surface, skill, template, recipe | kind of design, starting layout, or nothing |
24
+ | workspace, output directory | your folder, your Open Design folder |
25
+ | bleed | print edge ("a few millimetres extra that the printer trims off") |
26
+ | trim size | final size |
27
+ | preflight findings, errors | "I checked it and fixed…", "one thing to look at:" |
28
+ | export | save as PDF, save as an image |
29
+ | inline preview, MCP App | the preview above |
30
+
12
31
  ## 1. Get the list
13
32
 
14
33
  Call `list_open_design_integrations` with no arguments. It returns every integration grouped by purpose, each with what it does, the tool names that show it's connected on this agent, whether it can be set up here, and how to manage without it.
@@ -9,12 +9,33 @@ Start a new design with Open Design.
9
9
 
10
10
  Request: the rest of the user's message (if there is none, ask the user: "What do you want to make, and what is it for?")
11
11
 
12
+ **How to talk to the user.** Many people using Open Design don't write code, so:
13
+ - Use the user's own words. If they say "artifact", "design tokens" or give a file path, use those terms back; otherwise use the plain words below.
14
+ - Keep the machinery out of replies: no tool names, no ids like `od:prototype:poster-hero`, no internal files (`.artifact.json`, `.comments.json`, `config.json`), and not the words "register", "manifest", "sidecar", "entry" or "surface", unless the user used them first.
15
+ - Explain a print term the first time it comes up, in one short clause, and not again.
16
+ - Say where a file is the way the user would find it ("in your Open Design folder, under seed-swap-flyer"). Give a raw path only where the user can click it (Claude Code, Claude Desktop's Code tab, VS Code) or asks for it.
17
+ - End each reply that finishes a step with one line on what they can do next, with at most two options ("Want it in Instagram sizes too, or is it ready to print?").
18
+
19
+ | Instead of | Say |
20
+ |---|---|
21
+ | artifact, entry, registered | your design, saved |
22
+ | design system, active design system | your style (the first time: "a saved style: colours, fonts and spacing") |
23
+ | surface, skill, template, recipe | kind of design, starting layout, or nothing |
24
+ | workspace, output directory | your folder, your Open Design folder |
25
+ | bleed | print edge ("a few millimetres extra that the printer trims off") |
26
+ | trim size | final size |
27
+ | preflight findings, errors | "I checked it and fixed…", "one thing to look at:" |
28
+ | export | save as PDF, save as an image |
29
+ | inline preview, MCP App | the preview above |
30
+
12
31
  ## 1. Pick the surface
13
32
 
14
- Call `list_open_design_skills` with `surface: "list"` to get the kinds of thing Open Design can make (each with an id, label and description).
33
+ Call `list_open_design_skills` with `surface: "list"` to get the kinds of thing Open Design can make (`surfaces`, each with an id, label and description) and the `goals`, plain-language aims such as "Promote an event" or "Get hired", each with the surfaces it leads to.
15
34
 
16
- - If the request starts with or clearly names one of them (by id or label, e.g. "wireframe", "diagram", "a poster"), use that surface.
17
- - If it names none, or is empty, show the user the surfaces as a short list (label and description) and ask which one. Stop until they answer.
35
+ - If the request starts with or clearly names a surface (by id or label, e.g. "wireframe", "diagram", "a poster"), use that surface.
36
+ - If it says what the design is for but names no surface ("help me get a UX job"), take the goal that fits.
37
+ - If it is empty or too vague to tell, show the user the goals (label and description) and ask one question: "What's it for?". Stop until they answer. Show the surfaces instead only if they ask what kinds of thing you can make.
38
+ - Once you have a goal, call `list_open_design_skills` with `goal` set to its id and use the surface marked `default`, unless the request points at another of that goal's surfaces. Ask which one only when the goal leads to several and you can't tell.
18
39
 
19
40
  ## 2. Ask what's missing
20
41
 
@@ -22,9 +43,11 @@ Call `list_open_design_skills` with `surface` set to the chosen id. The result h
22
43
 
23
44
  Ask only the questions the request doesn't already answer, all at once, in one short message. If the request answers them all, don't ask anything.
24
45
 
46
+ If no design system is active and the request names no look, also call `recommend_open_design_design_systems` with what you know (the surface, what it's for, how it should feel). If its result has `questions`, add the ones the request doesn't answer to that same message, and accept "you pick". Use its first recommendation as the `designSystemId` in step 3, and say which style you used and that they can pick another.
47
+
25
48
  ## 3. Build it
26
49
 
27
50
  - If the surface has a `prompt` (for example `open-design-poster` or `open-design-social-post`), follow that flow from its first step with the user's request as the brief. In Copilot Chat it's the `/` command of the same name; in Claude Code and Codex it's the skill of the same name.
28
- - Otherwise pick the entry that best fits the request. Entries come in curated order: the recipe first, then its remixable example when there is one. To start from a rendered example (an entry with an `exampleArtifactPath`), call `remix_open_design_example`; otherwise call `prepare_open_design_brief` with its id and the brief, and follow the general Open Design flow: write the files, register the artifact, then check it with `check_open_design_artifact` before saying it's done.
51
+ - Otherwise pick the entry that best fits the request. Entries come in curated order: the recipe first, then its remixable example when there is one. To start from a rendered example (an entry with `remixable: true`), call `remix_open_design_example`; otherwise call `prepare_open_design_brief` with its id, the brief and any recommended `designSystemId`, and follow the general Open Design flow: write the files, register the artifact, then check it with `check_open_design_artifact` before saying it's done.
29
52
 
30
53
  Never pick an entry marked `stub: true`.
@@ -9,6 +9,25 @@ Design a poster with Open Design, check it, and export files that are ready to p
9
9
 
10
10
  Brief: the rest of the user's message (if there is none, ask the user: "What is the poster for, and is it for print (which size) or screens?")
11
11
 
12
+ **How to talk to the user.** Many people using Open Design don't write code, so:
13
+ - Use the user's own words. If they say "artifact", "design tokens" or give a file path, use those terms back; otherwise use the plain words below.
14
+ - Keep the machinery out of replies: no tool names, no ids like `od:prototype:poster-hero`, no internal files (`.artifact.json`, `.comments.json`, `config.json`), and not the words "register", "manifest", "sidecar", "entry" or "surface", unless the user used them first.
15
+ - Explain a print term the first time it comes up, in one short clause, and not again.
16
+ - Say where a file is the way the user would find it ("in your Open Design folder, under seed-swap-flyer"). Give a raw path only where the user can click it (Claude Code, Claude Desktop's Code tab, VS Code) or asks for it.
17
+ - End each reply that finishes a step with one line on what they can do next, with at most two options ("Want it in Instagram sizes too, or is it ready to print?").
18
+
19
+ | Instead of | Say |
20
+ |---|---|
21
+ | artifact, entry, registered | your design, saved |
22
+ | design system, active design system | your style (the first time: "a saved style: colours, fonts and spacing") |
23
+ | surface, skill, template, recipe | kind of design, starting layout, or nothing |
24
+ | workspace, output directory | your folder, your Open Design folder |
25
+ | bleed | print edge ("a few millimetres extra that the printer trims off") |
26
+ | trim size | final size |
27
+ | preflight findings, errors | "I checked it and fixed…", "one thing to look at:" |
28
+ | export | save as PDF, save as an image |
29
+ | inline preview, MCP App | the preview above |
30
+
12
31
  ## 1. Pick the medium and a default shape
13
32
 
14
33
  Decide whether this is for **print** or **screens**. If the brief doesn't say, ask the user before doing anything else. Don't guess between print and screen: the units, bleed and type sizes are different.
@@ -39,7 +58,7 @@ Otherwise call `prepare_open_design_brief` with:
39
58
  - `format`: the default shape from step 1;
40
59
  - `fluid: true`.
41
60
 
42
- Call `list_open_design_design_systems` first only if the user names a brand or visual direction.
61
+ Call `list_open_design_design_systems` first if the user names a brand or visual direction, or `recommend_open_design_design_systems` if they name none and no design system is active.
43
62
 
44
63
  Author the file yourself, following the returned instructions. Their **Canvas** section is authoritative: one `data-od-card data-od-fluid` element sized by `--od-w`/`--od-h`, everything inside sized in container units, and layout rules for wide and tall shapes. Also:
45
64
 
@@ -0,0 +1,33 @@
1
+ ---
2
+ name: open-design-preview
3
+ description: Open an Open Design artifact in a live browser preview, where you can see it update as it changes, click elements to comment on them, and compare check screenshots before and after — use whenever the user asks to see, show, preview or open an Open Design artifact, or wants to comment on one visually
4
+ ---
5
+
6
+ <!-- generated:open-design-agent-kit -->
7
+
8
+ Show an Open Design artifact in the browser preview.
9
+
10
+ Request: the rest of the user's message (if there is none, ask the user: "Which design should the preview show?")
11
+
12
+ **How to talk to the user.** Many people using Open Design don't write code, so:
13
+ - Use the user's own words. If they say "artifact", "design tokens" or give a file path, use those terms back; otherwise use the plain words below.
14
+ - Keep the machinery out of replies: no tool names, no ids like `od:prototype:poster-hero`, no internal files (`.artifact.json`, `.comments.json`, `config.json`), and not the words "register", "manifest", "sidecar", "entry" or "surface", unless the user used them first.
15
+ - Explain a print term the first time it comes up, in one short clause, and not again.
16
+ - Say where a file is the way the user would find it ("in your Open Design folder, under seed-swap-flyer"). Give a raw path only where the user can click it (Claude Code, Claude Desktop's Code tab, VS Code) or asks for it.
17
+ - End each reply that finishes a step with one line on what they can do next, with at most two options ("Want it in Instagram sizes too, or is it ready to print?").
18
+
19
+ | Instead of | Say |
20
+ |---|---|
21
+ | artifact, entry, registered | your design, saved |
22
+ | design system, active design system | your style (the first time: "a saved style: colours, fonts and spacing") |
23
+ | surface, skill, template, recipe | kind of design, starting layout, or nothing |
24
+ | workspace, output directory | your folder, your Open Design folder |
25
+ | bleed | print edge ("a few millimetres extra that the printer trims off") |
26
+ | trim size | final size |
27
+ | preflight findings, errors | "I checked it and fixed…", "one thing to look at:" |
28
+ | export | save as PDF, save as an image |
29
+ | inline preview, MCP App | the preview above |
30
+
31
+ 1. Work out which artifact is meant. Registered artifacts are the files under the Open Design output folder (default `.open-design/`) that have a `.artifact.json` file next to them. Use the one the request names; if it names none, use the one you made or changed most recently in this conversation. If that still doesn't settle it, call `open_open_design_preview` without `entryPath`: the preview then lists every design, and the user picks there.
32
+ 2. Call `open_open_design_preview` with that `entryPath`.
33
+ 3. Tell the user in one or two sentences what happened, using the tool's result: where the preview opened (or the URL to open, when it couldn't open a window), that it reloads by itself when the design changes, and that they can click **Comment**, then an element, to leave a comment, and **Send to agent** when they want you to apply them.
@@ -9,6 +9,25 @@ Share an Open Design artifact with people who don't have this project open.
9
9
 
10
10
  Request: the rest of the user's message (if there is none, ask the user: "Which design should we share, and how?")
11
11
 
12
+ **How to talk to the user.** Many people using Open Design don't write code, so:
13
+ - Use the user's own words. If they say "artifact", "design tokens" or give a file path, use those terms back; otherwise use the plain words below.
14
+ - Keep the machinery out of replies: no tool names, no ids like `od:prototype:poster-hero`, no internal files (`.artifact.json`, `.comments.json`, `config.json`), and not the words "register", "manifest", "sidecar", "entry" or "surface", unless the user used them first.
15
+ - Explain a print term the first time it comes up, in one short clause, and not again.
16
+ - Say where a file is the way the user would find it ("in your Open Design folder, under seed-swap-flyer"). Give a raw path only where the user can click it (Claude Code, Claude Desktop's Code tab, VS Code) or asks for it.
17
+ - End each reply that finishes a step with one line on what they can do next, with at most two options ("Want it in Instagram sizes too, or is it ready to print?").
18
+
19
+ | Instead of | Say |
20
+ |---|---|
21
+ | artifact, entry, registered | your design, saved |
22
+ | design system, active design system | your style (the first time: "a saved style: colours, fonts and spacing") |
23
+ | surface, skill, template, recipe | kind of design, starting layout, or nothing |
24
+ | workspace, output directory | your folder, your Open Design folder |
25
+ | bleed | print edge ("a few millimetres extra that the printer trims off") |
26
+ | trim size | final size |
27
+ | preflight findings, errors | "I checked it and fixed…", "one thing to look at:" |
28
+ | export | save as PDF, save as an image |
29
+ | inline preview, MCP App | the preview above |
30
+
12
31
  ## 1. Find the artifact
13
32
 
14
33
  If the request names a design, find its entry file (`get_open_design_artifact`, or the `.open-design/` folder). If several match or none is named, ask the user which one. It must be registered; if it isn't, register it first with `register_open_design_artifact`.