monofield / design-templates
AGENTS.md4 starsChanged 6 months agoApache-2.0View on GitHub
This directory holds design templates — packaged "shapes" the agent renders into a project artifact (decks, prototypes, image/video/audio templates, …). Each entry is a folder with a SKILL.md (same shape as functional skills) plus rendering side files (example.html, assets/, references/, …). If the entry primarily does work on user input — utilities, briefs, asset packagers, fidelity audits — it belongs under ../skills/ instead. See specs/current/skills-and-design-templates.md for the full split. - Listed under /api/design-templates. The shape mirrors /api/skills (same SkillSummary/SkillDetail types)…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 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 repository168 other files it gives its agents.
- AGENTS.mdAGENTS.md
- apps/AGENTS.mdAGENTS.md
- e2e/AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- packages/AGENTS.mdAGENTS.md
- plugins/AGENTS.mdAGENTS.md
- skills/AGENTS.mdAGENTS.md
- tools/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- od-contributeSkill
- 8-bit-orbit-video-templateSkill
- ad-creativeSkill
- after-hours-editorial-templateSkill
- agent-browserSkill
- ai-music-albumSkill
- algorithmic-artSkill
- apple-higSkill
- article-magazineSkill
- artifacts-builderSkill
- brainstormingSkill
- brand-extractSkill
- brand-guidelinesSkill
- brandkitSkill
- industrial-brutalist-uiSkill
- canvas-designSkill
- card-twitterSkill
- card-xiaohongshuSkill
- color-expertSkill
- competitive-ads-extractorSkill
- copywritingSkill
- creative-directorSkill
- d3-visualizationSkill
- data-reportSkill
- deck-guizang-editorialSkill
- deck-open-slide-canvasSkill
- deck-swiss-internationalSkill
- design-briefSkill
- design-consultationSkill
- design-mdSkill
- design-reviewSkill
- digits-fintech-swiss-templateSkill
- doc-kami-parchmentSkill
- docSkill
- docxSkill
- domain-name-brainstormerSkill
- ecommerce-image-workflowSkill
- editorial-burgundy-principles-templateSkill
- emilkowalski-motionSkill
- enhance-promptSkill
- export-download-debuggingSkill
- fal-3dSkill
- fal-generateSkill
- fal-image-editSkill
- fal-kling-o3Skill
- fal-lip-syncSkill
- fal-realtimeSkill
- fal-restoreSkill
- fal-trainSkill
- fal-tryonSkill
- fal-upscaleSkill
- The first 60 shown.
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
If the entry primarily *does work* on user input — utilities, briefs, asset packagers, fidelity audits — it belongs under ../skills/ …
- Very specific: line 28
Create design-templates/<my-template>/SKILL.md with name, description, triggers, and an explicit od.mode (one of prototype, deck, template, …
- Very specific: line 54
Active slide state: keep the visible slide marked with .slide.active.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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
design-templates
This directory holds design templates — packaged "shapes" the agent
renders into a project artifact (decks, prototypes, image/video/audio
templates, …). Each entry is a folder with a SKILL.md (same shape as
functional skills) plus rendering side files (example.html,
assets/, references/, …).
If the entry primarily does work on user input — utilities, briefs,
asset packagers, fidelity audits — it belongs under ../skills/
instead. See specs/current/skills-and-design-templates.md for the
full split.
Daemon plumbing
- Listed under
/api/design-templates. The shape mirrors/api/skills(sameSkillSummary/SkillDetailtypes) so the web client can reuse a singleSkillSummary[]consumer for both surfaces. - Asset and example routes (
/api/skills/:id/example,/api/skills/:id/assets/*) intentionally span both registries — the example HTML rewrites to/api/skills/<id>/...regardless of which root owns the folder, so URLs keep resolving after the split. - Surfaced in the EntryView Templates tab and in the New-project panel as the rendering catalogue.
Adding a design template
- Create
design-templates/<my-template>/SKILL.mdwithname,description,triggers, and an explicitod.mode(one ofprototype,deck,template,image,video,audio). - Ship a baked
example.html(and any side files) so the EntryView gallery has something to preview. - Optionally drop additional baked samples under
examples/<key>.htmlto surface them as derived<parent>:<key>cards.
Deck preview navigation contract
Any template with od.mode: deck must make its baked example.html
usable inside the gallery iframe without relying on the host app to add
navigation. Use a shared deck runtime where one is available; otherwise
ship a tiny local runtime with the same minimum behavior.
- Keyboard:
ArrowRight/ArrowDown/PageDown/Spacemove to the next slide;ArrowLeft/ArrowUp/PageUpmove to the previous slide;HomeandEndjump to the first and last slide. Ignore events from inputs, selects, textareas, and editable regions. - Wheel / trackpad: accumulated
deltaX + deltaYpast a small threshold moves exactly one slide, then resets quickly so a single gesture does not overshoot. - Touch: a horizontal swipe of roughly 50px or more, greater than the vertical movement, moves previous / next.
- Dots: render one clickable button per slide, update the active dot on
every navigation path, and mark it with
aria-current="true". - Active slide state: keep the visible slide marked with
.slide.active; adding.is-activeas a compatibility alias is fine. Open Design's preview bridge reads this state for the host slide counter, so it must stay in sync with keyboard, wheel, touch, and dot navigation. - Iframe safety: focus the deck on load / pointer interaction so keyboard
navigation works after the gallery preview appears. Avoid
scrollIntoView()because it can move the parent page instead of the deck. - Fallbacks: no-script and print output should still expose every slide. Hide non-active slides only after the runtime has booted.
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.

