design-editor
AGENTS.md16 starsChanged 26 days agoMITView on GitHub
This file provides guidance to Codex when working with code in this repository. The TypeScript Design Editor has been retired. apps/web, apps/desktop, apps/cli, and the pen-* packages are gone. The product is Rust (crates/); packages/ keeps only the Chrome extension and JS build tooling. See git history (last TS tag v0.7.5) for the retired code. For full guidance see CLAUDE.md (this directory). Authoritative Rust architecture lives in crates/CLAUDE.md; remaining packages in packages/CLAUDE.md. Tooling is Cargo (Rust — the product). The…
In this repository3 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- crates/CLAUDE.mdCLAUDE.md
- packages/CLAUDE.mdCLAUDE.md
The file
Files
AGENTS.md
This file provides guidance to Codex when working with code in this repository.
The TypeScript Design Editor has been retired.
apps/web,apps/desktop,apps/cli, and thepen-*packages are gone. The product is Rust (crates/);packages/keeps only the Chrome extension and JS build tooling. See git history (last TS tagv0.7.5) for the retired code.
For full guidance see CLAUDE.md (this directory). Authoritative Rust architecture lives in crates/CLAUDE.md; remaining packages in packages/CLAUDE.md.
Commands
Tooling is Cargo (Rust — the product). The root has no package.json; the JS/Bun tooling (Chrome extension scripts, Iconify catalog) lives under packages/ — run JS scripts from there.
- Web dev server (Rust):
bash scripts/start-web-rust.sh - Build (Rust):
cargo build --workspace --release - Tests (Rust):
cargo test --workspace; single crate:cargo test -p <crate> - Type check:
cargo check --workspace; wasm:cargo check --target wasm32-unknown-unknown -p de-host-web --no-default-features --features web - Lint / format (Rust):
cargo clippy --workspace --all-targets -- -D warnings/cargo fmt --all - Lint / format (JS): from
packages/:bun run lint(oxlint) /bun run format(oxfmt) - Desktop app:
cargo build -p de-host-desktop→ binarydesign-editor - CLI:
cargo build -p de-cli→ binaryde - Iconify catalog (Rust assets): from
packages/:bun run generate-iconify-catalog
Conventions
- Single files ≤ 800 lines; one component/widget per file.
.rssnake_case,.ts/.tsxkebab-case; source comments in English.- Conventional Commits:
<type>(<scope>): <subject>— scopes:editor,canvas,panels,ai,codegen,variables,figma,mcp,desktop,web,renderer,sdk,cli,agent,i18n.
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.

