designcraft
AGENTS.md5.2k starsChanged 5 days agoApache-2.0View on GitHub
These apply in every Craft repository. A later rule may be stricter, not weaker. The source is standards/house-rules-core.md in storytold/craft-contrib. Propose changes there, not in a copy. 1. A person is accountable. Whoever runs an agent answers for what it opens and for its review comments. 2. Check, then claim. Before writing code, read the issue comments, search pull requests for #N and the keywords, and check recent commits on main. Comment on the issue first. Release a claim you…
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.
In this repository2 other files it gives its agents.
- docs/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
13 rules. About 0 are common, 3 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
Check, then claim: Before writing code, read the issue comments, search pull requests for #N and the keywords, and check recent commits on …
- Distinctive: line 11
Look for a better pull request: If another fixes the same thing, close yours when it is better or equal, and say why.
- Distinctive: line 13
mainchanges through a pull request: Do not push to it. Branch protection enforces this. - Very specific: line 18
Instructions must be readable by everyone: No notes about one machine, and no links to files a reader cannot open.
- Very specific: line 29
Assets and fonts: Every asset is original or suitably licensed, and is recorded in ATTRIBUTION.md in the same change.
- Very specific: line 31
Time goes through
chrono: Do not hand-roll calendar conversion. - Very specific: line 32
Contributor credits: Add or edit only your own person's entry in contributors/people.toml, and only after asking them.
- Very specific: line 59
Read ROADMAP.md and docs/gaps.md.
- Distinctive: line 68
Prove it: every crash fix lands with a small synthetic regression test that panicked before the fix.
- Very specific: line 73
Assets: no Adobe iconography or images — ever.
- Very specific: line 80
Quality gates: before every commit: cargo xtask ci (fmt, clippy -D warnings, tests, assets, layers, wasm).
- Very specific: line 97
Agents working for a contributor: when you prepare a PR, check whether your human's GitHub username has a [people.<username>] entry in …
- Very specific: line 104
Never add, edit, guess or copy anyone else's entry or name (not from git config, commit authors or GitHub profiles).
≈ “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
<!-- craft-house-rules:start core source=dde09ea31e2e457f5b4653a6e76f7cdf55944bdf sha256=540e6cea75d12d0710c3dca89658328e81e508ecef102446ca5bb95b7c0b92bb -->House rules
These apply in every Craft repository. A later rule may be stricter, not weaker. The source is standards/house-rules-core.md in storytold/craft-contrib. Propose changes there, not in a copy.
- A person is accountable. Whoever runs an agent answers for what it opens and for its review comments.
- Check, then claim. Before writing code, read the issue comments, search pull requests for
#Nand the keywords, and check recent commits onmain. Comment on the issue first. Release a claim you will not finish. - Verify, don't guess. Open a definition before using it. Confirm the cause in the code, even when someone names a location.
- Keep fixes narrow and tested. Fix what the issue describes, where the bug is. Add a test that fails without the fix.
- Review the diff before opening a pull request. Identifiers exist as used, the test fails without the fix, nothing unrelated changed, and the description is true.
- Look for a better pull request. If another fixes the same thing, close yours when it is better or equal, and say why.
- Report only what ran. Say what you tested and what you could not run. Without a local build or test, say so and rely on CI before marking ready.
mainchanges through a pull request. Do not push to it. Branch protection enforces this. There is no exception.- Stop and ask only about licensing outside the allowlist, publishing, releases, a new remote, secrets, spending money, destructive git, and anything else hard to undo. Otherwise keep working.
plan/is a gitignored notebook, not rules. Without it, do not ask for it and do not stop. - Keep secrets and personal details out of the repository, logs and requests.
- CI stays shared. Workflows call
storytold/craft-common-actions. Do not change CI in a feature or fix pull request. If CI cannot cover a change, open an issue there. - Guards say why. A check that looks removable says what it prevents. Read that before changing it.
- Instructions must be readable by everyone. No notes about one machine, and no links to files a reader cannot open.
craftrulesis retired. Do not link to it. - Keep pull requests moving. Concurrent pull requests are fine; unanswered actionable feedback is not. Respond in 7 days, a reminder at 14, closure eligible at 30, from when an actionable request waits on the author. Suggestions and unconfirmed bot findings do not start the clock. A fix, explanation or agreed plan resets it; unrelated activity does not. Waiting on a reviewer or maintainer pauses it and does not count against the author. A maintainer decides closure; it is never automatic. Reuse search results, do not poll, and stop at a rate limit.
- No agent attribution. A pull request does not say an agent wrote it. A repository rule may not require that.
<!-- craft-house-rules:end --><!-- craft-house-rules:start rust source=dde09ea31e2e457f5b4653a6e76f7cdf55944bdf sha256=387e0ccb4b49e567f60951d7d6fff7305054c89f43ad812b9993dc7c38528013 -->Rust Craft repositories
These apply to native Craft apps and to shared Rust libraries. Select them by repository type. A repository that merely contains some Rust does not take this block. Rules later in a repository's file may be stricter, but not weaker. The source is standards/house-rules-rust.md in storytold/craft-contrib.
- Never crash. Non-test code does not panic and has no
unsafe, except where the repository file names an exception. Return errors, treat input as hostile, and bound recursion and allocations. New production crate roots copy thedenyattribute from an existing crate:clippy::unwrap_used,clippy::expect_used,clippy::panic,clippy::unimplemented,clippy::todo,clippy::unreachable. Every crash fix comes with a test that panicked before the fix. - Clean room. Learn from observed behaviour and public specifications. Do not copy another product's code, assets, strings or artwork. Check a dependency's licence before adding it.
- Assets and fonts. Every asset is original or suitably licensed, and is recorded in
ATTRIBUTION.mdin the same change. Font files live in storytold/craft-fonts, not in the app repository. - Rust only for native Craft apps. No handwritten JavaScript or TypeScript, and no Tauri, Electron or webview shell, in those apps. Shared tooling follows its documented technical scope and maintainer-approved exceptions. Craft PR Review's existing Tauri and TypeScript UI is one such exception. It does not relax this rule for native apps. Preserve any existing web build.
- Time goes through
chrono. Do not hand-roll calendar conversion. For dates beyond whatchronocan represent, follow standards/time.md. - Contributor credits. Add or edit only your own person's entry in
contributors/people.toml, and only after asking them. Never guess a name or hand-editcontributors.json.
Licence allowlist
Dependencies and assets use SPDX identifiers. An expression is allowed when every identifier is in this list. A repository may name a shorter list. It may not add an identifier here by editing its own copy of these rules.
ISCMITBSD-2-ClauseBSD-3-ClauseApache-2.0OFL-1.1Ubuntu-font-1.0Bitstream-VeraCC0-1.0CC-BY-4.0CC-BY-SA-4.0LicenseRef-Public-Domain
LicenseRef-Storyteller-Trademark is not in this list. It covers Storyteller brand marks only, where a repository already says so.
<!-- craft-house-rules:end -->DesignCraft — instructions for agents
DesignCraft is a clean-room, open-source, Rust-native page-layout application targeting Adobe InDesign parity — and superiority (speed, openness, agent control). It runs natively on macOS, Windows and Linux, and on the web via WASM. Siblings with the same conventions: ../vectorcraft (Illustrator-class), ../photocraft (Photoshop), ../pdfcraft (Acrobat), ../filmcraft (Premiere), ../lightcraft (Lightroom).
Start every session here
Read ROADMAP.md and docs/gaps.md. plan/ is an optional gitignored notebook (status, execution notes, plan/indesign/*.md). Do not ask for it and do not stop when it is absent.
Never crash
People trust DesignCraft with their layouts; a crash loses their work. This outranks feature work: never ship a feature through a panic path, and fix a crash before building on top of it.
- No panics in non-test code: no
unwrap(),expect(),panic!,unreachable!,todo!,unimplemented!; nounsafe(unsafe_code = "forbid"). The one exception is a provably infallible literal (a constant regex,write!to aString):#[allow(clippy::expect_used)]+.expect("why it cannot fail"). - Errors are
Result<T, E>through the crate's error type and?(ok_or(..)?,let … else,if let,map_errfor context). An unfinished feature returns an "unsupported" error. Don'tunwrap_or_default()where a silent default would corrupt a document; return an error. - Input-derived numbers are hostile (files, commands, MCP/control params, settings):
get()instead of[i]/[a..b], slice strings at char boundaries, checked/saturating arithmetic for lengths and offsets, no division by zero or NaN casts, cap input-sized allocations. - Bound recursion (seen-sets or depth limits for nested or cyclic documents). Locks:
lock().unwrap_or_else(PoisonError::into_inner)or an error; thread joins areResults. - Last-resort guard: escaped panics during command execution and file import/export become an error, never a lost document. It's a safety net, not a licence.
- Prove it: every crash fix lands with a small synthetic regression test that panicked before the fix.
- Clean crates carry
#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)]; new crates start with it. Tests mayunwrap(clippy.toml).
Non-negotiables
- Clean-room. InDesign is installed on the dev machine and may be observed black-box: run it, use its UI with synthetic documents, take screenshots (by window id) stored only under
plan/indesign/screenshots/(never committed). Never read, disassemble or copy anything inside the InDesign bundle (names/listings only), never copy Adobe icons, artwork, presets or wording beyond feature names, never commit files produced by InDesign. Never copy GPL/AGPL/LGPL code (Scribus, LibreOffice, Ghostscript…). - Assets: no Adobe iconography or images — ever. Every asset is original / OSI / CC0 / redistributable CC (except the ArtCraft trademarks in
docs/brand/, underdocs/brand/LICENSE-brand.txt) and has a row inASSETS.md(cargo xtask assetsenforces it). Prefer art generated in code. - Fonts live in
storytold/craft-fonts, never in this repo: don't commit new font files (the Latin UI/document fonts already inassets/fonts/stay). It is an optional build input, never aCargo.tomldependency:CRAFT_FONTS_DIR=/abs/path/to/craft-fonts cargo buildmakescrates/fonts/build.rsembed its fonts asdesigncraft_fonts::CRAFT_FONTS(Japanese: BIZ UDPGothic for the UI, Mincho first for document text; web builds embed BIZ UDPGothic Regular only). Unset,CRAFT_FONTSis empty and the app uses its bundled and system fonts; code and tests must work that way (tests on its glyphs skip). Releases build with it. - Shared test corpora. Real-file test oracles (Photoshop-authored PSDs, etc.) live in
storytold/photocraft-corpus. Never commit large binary fixtures to this repo; fetch them pinned by commit and sha256-verified, as PhotoCraft does withcargo xtask corpus. - Everything is a command. User-visible behaviour = a command in
crates/engine/src/cmd/*(id, label, menu path, shortcut, params doc,enabled,run) + tests. Tools emit commands (Begin/Preview/Commit). UI-only commands live incrates/ui-egui/src/menus.rs(UI_COMMANDS). The control channel and MCP reach all of them. - Layering is enforced by
cargo xtask layers. Nothing below L6 depends on egui/eframe/winit/rfd. The UI crate is swappable. - The UI is thin: panels read engine state and act through
app.run(id, params). Colours come fromtheme::Tokens. - Rust only (no handwritten JS/TS). Never break wasm (
cargo xtask wasm). - Quality gates before every commit:
cargo xtask ci(fmt, clippy -D warnings, tests, assets, layers, wasm). One task id per commit (M2.1: type tool caret navigation).
Running and looking at the app
cargo run --release -p designcraft -- --sample --control 7979(sample magazine + control channel).- Drive it: JSON lines on
127.0.0.1:7979, e.g.{"id":1,"method":"engine.execute","params":{"command":"frame.create","params":{"rect":[36,36,300,200],"content":"text"}}}then{"id":2,"method":"ui.screenshot","params":{"path":"/tmp/shot.png"}}. Methods:crates/ui-egui/src/control.rs, docs:docs/control-protocol.md. - For UI work, look at the result (take
ui.screenshot, read the PNG) and, when available, compare withplan/indesign/02-ui-ux.md/11-observed-ui.md. Without those optional notes, verify the intended behaviour against the task and committed documentation. If no frame is presented (screen locked) useui.renderordesigncraft-cli run --sample --all-pages DIR. - Headless:
designcraft-cli run --sample --cmd 'frame.create={"rect":[0,0,100,100]}' --export out.png. - Parallel agents: separate
CARGO_TARGET_DIRper agent; edit only the crates you own; delete your target dir when done (disk).
Roadmap
ROADMAP.md (committed) is the one-page summary: stage, headline numbers, dimensions, languages, progress log. Details: docs/target-app-parity.md (assessment), docs/gaps.md (ranked work list: pick from the top), docs/roadmap.md (milestones, current focus), docs/parity-checklist.md (presence checklist, cargo xtask parity), and the typography, file-format, UI, hardware and localization parity docs in docs/. When work lands, update the affected docs and their status lines, delete or shrink the closed gap, and add a progress-log line to ROADMAP.md.
Contributor credits (About window)
- About ▸ Contributors/Models are compiled into the binary from
contributors/contributors.json(commit stats; never hand-edit) andcontributors/people.toml(names people chose for themselves). Seedocs/contributors.md. - Agents working for a contributor: when you prepare a PR, check whether your human's GitHub
username has a
[people.<username>]entry incontributors/people.toml. If not, ask them once whether they want to be credited by more than their username: a real name, a display name, and/or their public GitHub profile name (sync_github_name = true). If yes, add only their own entry (copy the template at the top of the file) and include it in their PR, committed as them. If no, change nothing: they are credited as@usernameanyway. - Never add, edit, guess or copy anyone else's entry or name (not from git config, commit authors or
GitHub profiles). Never hand-edit
contributors.json.
CI workflows
- Workflows in
.github/workflows/call the shared workflows instorytold/craft-common-actionsat@main, with their inputs and secrets. No other jobs: if no shared workflow does what's needed, it doesn't go here. - Don't add or change CI in a feature or fix PR. If the existing workflows can't build or test a change, link an existing craft-common-actions issue or PR, or open a new issue, or a PR only for a small fix that is safe for every app and does not increase CI time.
- Some workflow files here still run their own jobs. Don't add to them. Moving a job into craft-common-actions is its own task, never part of another PR, and the job stays here until a shared workflow runs it.
New workspace crates include workspace = true under [lints] in Cargo.toml. Production crate roots declare the crate-level lint attributes before modules; crate-level //! documentation may precede them.
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.

