designcraft
AGENTS.md5.2k starsChanged 5 days agoApache-2.0View on GitHub
Every user-visible action in DesignCraft is a command (crates/engine/src/cmd), and every command is reachable three ways — pick whichever fits the agent: Parameters are documented on each command (params), e.g. {anchor? | paragraph?: text to find | story? + para?, format?}. A script is one command per line (command.id {json params}; # comments), JSON lines, or a JSON array of {command, params}, in UTF-8 with or without a byte order mark. A parameter string "$N.path" becomes that value of step…
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about storytold/designcraft
- @bryanhogan.com“Yeah that makes sense. Maybe the DesignCraft thing could be getting close, although this has its own …”Bluesky · Nov 9, 2026 · 1 likes
- chenrui333/homebrew-tap“designcraft-cli 0.19.0”GitHub · Nov 9, 2026 · 1 reactions
- chenrui333/homebrew-tap“designcraft-cli 0.18.0”GitHub · Nov 6, 2026 · 1 reactions
- chenrui333/homebrew-tap“designcraft-cli 0.17.2”GitHub · Nov 5, 2026 · 1 reactions
- chenrui333/homebrew-tap“designcraft-cli 0.17.1”GitHub · Nov 5, 2026 · 1 reactions
The biggest 5 of 54 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 54
Talked about on GitHub and Bluesky (54 times).
On GitHub · 50
- Nov 9, 2026designcraft-cli 0.19.0 — chenrui333/homebrew-tap1 reaction · 1 comment
- Nov 6, 2026designcraft-cli 0.18.0 — chenrui333/homebrew-tap1 reaction · 1 comment
- Nov 5, 2026designcraft-cli 0.17.2 — chenrui333/homebrew-tap1 reaction · 1 comment
- Nov 5, 2026designcraft-cli 0.17.1 — chenrui333/homebrew-tap1 reaction · 1 comment
- Nov 3, 2026designcraft-cli 0.17.0 — chenrui333/homebrew-tap1 reaction · 1 comment
45 more on GitHub
- Nov 1, 2026designcraft-cli 0.16.0 — chenrui333/homebrew-tap1 reaction · 1 comment
- Oct 31, 2026designcraft-cli 0.15.2 — chenrui333/homebrew-tap1 reaction · 1 comment
- Oct 28, 2026designcraft-cli 0.14.0 — chenrui333/homebrew-tap1 reaction · 1 comment
- Oct 25, 2026designcraft-cli 0.13.0 — chenrui333/homebrew-tap1 reaction · 1 comment
- Oct 22, 2026designcraft-cli 0.12.0 — chenrui333/homebrew-tap1 reaction · 1 comment
- Oct 21, 2026designcraft-cli 0.11.0 — chenrui333/homebrew-tap1 reaction · 1 comment
- Oct 20, 2026designcraft-cli 0.10.0 — chenrui333/homebrew-tap1 reaction · 1 comment
- Oct 18, 2026designcraft-cli 0.9.0 — chenrui333/homebrew-tap1 reaction · 1 comment
- Oct 6, 2026Support native Windows on ARM (ARM64) releases — storytold/effectcraft1 reaction · 2 comments
- Oct 6, 2026Support native Windows on ARM (ARM64) releases — storytold/filmcraft1 reaction
- Oct 6, 2026Support native Windows on ARM (ARM64) releases — storytold/vectorcraft1 reaction · 1 comment
- Nov 9, 2026Atualização oficial: intervenção necessária — dfoliveira2143/designcraft0 reactions
- Nov 9, 2026designcraft-cli 0.19.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Nov 8, 2026Atualização oficial: intervenção necessária — dfoliveira2143/designcraft0 reactions
- Nov 7, 2026Atualização oficial: intervenção necessária — dfoliveira2143/designcraft0 reactions
- Nov 7, 2026designcraft: update to 0.18.0 — midnightideas/homebrew-tools0 reactions
- Nov 7, 2026designcraft-cli: update to 0.18.0 — midnightideas/homebrew-tools0 reactions
- Nov 6, 2026designcraft-cli 0.18.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Nov 6, 2026Atualização oficial: intervenção necessária — dfoliveira2143/designcraft0 reactions
- Nov 6, 2026Control protocol: the craft-app standard Magic must implement — jessenaiman/magic-studio-app0 reactions · 2 comments
- Nov 5, 2026Atualização oficial: intervenção necessária — dfoliveira2143/designcraft0 reactions
- Nov 5, 2026designcraft: update to 0.17.2 — midnightideas/homebrew-tools0 reactions
- Nov 5, 2026designcraft-cli: update to 0.17.2 — midnightideas/homebrew-tools0 reactions
- Nov 5, 2026designcraft-cli 0.17.2 — Homebrew/homebrew-core0 reactions · 1 comment
- Nov 4, 2026designcraft-cli 0.17.1 — Homebrew/homebrew-core0 reactions · 3 comments
- Nov 4, 2026Atualização oficial: intervenção necessária — dfoliveira2143/designcraft0 reactions
- Nov 4, 2026hu: add pinned nonstandard hyphenation patterns — storytold/craft-i18n0 reactions · 9 comments
- Nov 3, 2026Atualização oficial: intervenção necessária — dfoliveira2143/designcraft0 reactions
- Nov 3, 2026ui: allow resizing iconic panel flyouts (DesignCraft #2131) — storytold/craft-libs0 reactions · 2 comments
- Nov 3, 2026designcraft: update to 0.17.0 — midnightideas/homebrew-tools0 reactions
- Nov 3, 2026designcraft-cli: update to 0.17.0 — midnightideas/homebrew-tools0 reactions
- Nov 2, 2026Atualização oficial: intervenção necessária — dfoliveira2143/designcraft0 reactions
- Nov 2, 2026designcraft: update to 0.16.0 — midnightideas/homebrew-tools0 reactions
- Nov 2, 2026designcraft-cli: update to 0.16.0 — midnightideas/homebrew-tools0 reactions
- Nov 1, 2026Atualização oficial: intervenção necessária — dfoliveira2143/designcraft0 reactions
- Oct 31, 2026Atualização oficial: intervenção necessária — dfoliveira2143/designcraft0 reactions
- Oct 31, 2026designcraft: update to 0.15.2 — midnightideas/homebrew-tools0 reactions
- Oct 31, 2026designcraft-cli: update to 0.15.2 — midnightideas/homebrew-tools0 reactions
- Oct 30, 2026Atualização oficial: intervenção necessária — dfoliveira2143/designcraft0 reactions
- Oct 29, 2026Missing icon: DesignCraft — SylEleuth/gruvbox-plus-icon-pack0 reactions · 2 comments
- Oct 29, 2026designcraft: update to 0.14.0 — midnightideas/homebrew-tools0 reactions
- Oct 29, 2026designcraft-cli: update to 0.14.0 — midnightideas/homebrew-tools0 reactions
- Oct 28, 2026Auto update failing for designcraft — termux-user-repository/tur0 reactions
- Oct 27, 2026Canvas render performance: adopt DesignCraft damage-region patching, text caching, and perf-harness techniques — baradhili/DiagramCraft0 reactions · 3 comments
- Oct 27, 2026Draft: verify official DesignCraft v0.13 Android compatibility (host tests only) — KosmosSG/artcraft-android0 reactions
On Bluesky · 4
- Nov 9, 2026Yeah that makes sense. Maybe the DesignCraft thing could be getting close, although this has its own problems of course.… — @bryanhogan.com1 likes and repost
- Oct 12, 2026Acrobat → PdfCraft: github.com/storytold/pd... After Effects → EffectCraft: github.com/storytold/ef... InDesign → DesignCraft:… — @johann.tezoscommons.org1 likes and repost
- Oct 11, 2026BTW falls ihr die CreativeSuit-Produkte von Adobe schon immer benutzen wolltet und sie euch zu teuer waren, hier der optisch quasi… — @marcuscjhartmann.de1 likes and repost
- Oct 7, 2026Yes github.com/storytold/de... — @michaelmclean.me1 likes and repost · 1 reply
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,774 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this agents.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 3
Every user-visible action in DesignCraft is a command (crates/engine/src/cmd), and every command is reachable three ways — pick whichever …
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Driving DesignCraft from agents and scripts
Every user-visible action in DesignCraft is a command (crates/engine/src/cmd), and every command is reachable
three ways — pick whichever fits the agent:
| Surface | Use it when | Entry point |
| CLI | One-shot jobs, shell pipelines, CI: build or edit a document and export it | designcraft-cli run, script, app, describe, commands |
| MCP | Claude and other MCP clients; images of pages and the window come back as content | designcraft-cli mcp (mcp.md) |
| Control channel | Your own client driving the running app (JSON lines over TCP) | designcraft --control 7979 (control-protocol.md) |
Discover commands
designcraft-cli commands footnote # every command whose id/label/menu mentions "footnote"
designcraft-cli describe xref.insert # label, menu path, shortcut and parameters of one commandParameters are documented on each command (params), e.g. {anchor? | paragraph?: text to find | story? + para?, format?}.
Scripts: several commands, later ones using earlier results
A script is one command per line (command.id {json params}; # comments), JSON lines, or a JSON array of
{command, params}, in UTF-8 with or without a byte order mark. A parameter string "$N.path" becomes that value
of step N's result: N is the 0-based step index (comments and blank lines are not steps, $last is the previous
step) and the path goes through result fields and array indices ("$1.story", "$3.ids.0"); "${N.path}"
interpolates inside longer strings. Any other string starting with $ stays as written ("$1-$2", "$5 off"), and
$$ writes a literal $ anywhere ("$$1" passes $1, a GREP group). In text parameters \n starts a new paragraph and \u2028 is a forced line
break (\u000b, Word's line break, is read as one too). Most commands ignore parameters they don't know instead of rejecting them, so check names with describe.
designcraft-cli script --help prints this reference.
cat > page.dcs <<'DCS'
frame.create {"rect": [72, 72, 540, 300], "content": "text", "text": "Results of the survey"}
text.select {"story": "$0.story", "anchor": 0, "focus": 0}
footnote.insert {"text": "Survey run in 2026."}
frame.create {"rect": [72, 320, 540, 500], "content": "text", "text": "See ."}
text.select {"story": "$3.story", "anchor": 4, "focus": 4}
xref.insert {"paragraph": "Results", "format": "Paragraph Text & Page Number"}
DCS
designcraft-cli script page.dcs --save page.designcraft --export page.pdf --export page.png
designcraft-cli script page.dcs --connect 7979 # the same steps, live in the running appThe result is JSON: {"completed": n, "results": [...]}, plus failedIndex / failedCommand / error when a step
fails (the exit status is non-zero; --keep-going records errors and continues). run --cmd ID=JSON accepts the
same references, and MCP's batch tool takes commands or script text with them.
run works through its arguments in order. --page, --scale and --pdf-options apply to the --export /
--all-pages that follow them, so one run can write several sizes
(run --sample --scale 0.5 --export small.png --scale 2 --export large.png); one with no export after it is an error.
--export writes the file type its extension names: .png or .jpg (a page), .pdf, .designcraft, .idml,
.epub, .html, and .rtf or .txt (the story being edited or of the selected frame). A name with no extension
is a PNG of the page; another extension is an error, and nothing runs.
Table of contents bookmarks
toc.generate accepts createBookmarks: true to generate page-level PDF bookmarks from the
included paragraph styles and their levels. toc.update refreshes their titles, hierarchy and
destinations. Refresh keeps the generated outline at its previous position, preserving manual
bookmarks before and after it; disabling the option removes only the generated
bookmarks. Without createBookmarks, toc.generate keeps the document's existing TOC setting,
which is off when there is no TOC yet, so a script that makes a new TOC gets no bookmarks unless
it passes createBookmarks: true. The Table of Contents dialog differs: its Create PDF Bookmarks
option is on by default for a new TOC, and for an existing one it shows the saved setting.
Color themes
color.extractTheme {id?} previews up to five RGB colours from a placed raster image (or the selected image).
swatch.addColorTheme {colors, name?} adds that palette as a colour group in one undo step.
Extraction samples the whole source image on a bounded grid, weights partial transparency, and ignores fully transparent pixels.
The image must contain at most 16 million pixels. PDF/SVG graphics are unsupported. This is local median-cut extraction,
not Adobe's palette algorithm. In the UI, click an image with the Color Theme Tool (Shift+I), or choose Color Theme…
in the Swatches panel menu with one image selected. Cancel keeps the document unchanged.
PDF/X-4 validation
designcraft-cli validate-pdf FILE.pdf prints JSON with valid and issues, and exits non-zero
when a built-in check fails. Checks cover PDF version, output intent and profile, Info and XMP
identification, image interpolation, encryption, trim boxes, Type 3 fonts, device RGB under a CMYK
output intent, and unembedded fonts drawing visible text (including placed PDF forms). Render
mode 3 (invisible OCR text) is exempt from the font-embedding check. PDF/X-4 export reports these
issues as warnings; it does not embed or outline placed fonts. These checks are not a complete
external PDF/X certification.
Data merge
data.source.select {path, sheet?} links a CSV/TSV/.xlsx file to the document (data.source.update re-reads it,
data.source.remove drops it); data.fields lists its fields. data.placeholder.add {field, role?, story?, at?, end?, item?}
marks text or a frame as a field (role: text, image, qr, hyperlink); data.options sets records, tiling and image
fitting; data.preview {record} / data.preview.stop show one record without saving it.
data.merge now creates a new document and leaves the template unchanged (the old spread parameter, which
appended pages to the template, is an error). It uses the linked source, or inline csv / rows / path / bytes:
echo 'data.merge {"path": "people.csv", "records": "range", "range": "1-20"}' | designcraft-cli script - --in template.designcraft --save merged.designcraftThe running app
designcraft --sample --control 7979 &
designcraft-cli app type.changeCase '{"case": "title"}' # any command
designcraft-cli app --method ui.screenshot '{"path": "/tmp/w.png"}' # any control-channel methodui.menu.invoke {command} without params acts like choosing the menu item: a command labelled "…" opens its
dialog, which ui.dialog.set / ui.dialog.confirm fill in and close like a user would.
Parent pages
In the Pages panel, right-click a parent row and choose Delete Parent. The equivalent
command is layout.parents.delete {id}, using the parent spread's numeric ID. It deletes that
parent's shared artwork and clears its assignments from document pages and other parents.
Local override copies remain as ordinary editable objects; document pages and their own content
remain. Undo restores the parent and its relationships in one step. Deleting the last parent
returns the canvas to document pages. Parent navigation is a separate operation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

