AGENTS.md
design-templates/AGENTS.mdAGENTS.md
Quality
43/100
Scores the file, not the repository.Length
467 words
4 headings · 0 code blocksRepository
83k
— · pushed 0 days agoLast changed
3 days ago
First indexed 3 days ago.1# design-templates23This directory holds **design templates** — packaged "shapes" the agent4renders into a project artifact (decks, prototypes, image/video/audio5templates, …). Each entry is a folder with a `SKILL.md` (same shape as6functional skills) plus rendering side files (`example.html`,7`assets/`, `references/`, …).89If the entry primarily *does work* on user input — utilities, briefs,10asset packagers, fidelity audits — it belongs under `../skills/`11instead. See `specs/current/skills-and-design-templates.md` for the12full split.1314## Daemon plumbing1516- Listed under `/api/design-templates`. The shape mirrors `/api/skills`17 (same `SkillSummary`/`SkillDetail` types) so the web client can18 reuse a single `SkillSummary[]` consumer for both surfaces.19- Asset and example routes (`/api/skills/:id/example`,20 `/api/skills/:id/assets/*`) intentionally span both registries — the21 example HTML rewrites to `/api/skills/<id>/...` regardless of which22 root owns the folder, so URLs keep resolving after the split.23- Surfaced in the New-project panel's per-mode "Start from" rail as the24 rendering catalogue; the redesigned home has no top-level Templates tab.2526## Adding a design template27281. Create `design-templates/<my-template>/SKILL.md` with `name`,29 `description`, `triggers`, and an explicit `od.mode` (one of30 `prototype`, `deck`, `template`, `image`, `video`, `audio`).312. Ship a baked `example.html` (and any side files) so the shared example and32 asset routes have preview content to serve.333. Optionally drop additional baked samples under `examples/<key>.html`34 to surface them as derived `<parent>:<key>` cards.3536## Deck preview navigation contract3738Any template with `od.mode: deck` must make its baked `example.html`39usable inside the gallery iframe without relying on the host app to add40navigation. Use a shared deck runtime where one is available; otherwise41ship a tiny local runtime with the same minimum behavior.4243- **Keyboard:** `ArrowRight` / `ArrowDown` / `PageDown` / `Space` move to44 the next slide; `ArrowLeft` / `ArrowUp` / `PageUp` move to the previous45 slide; `Home` and `End` jump to the first and last slide. Ignore events46 from inputs, selects, textareas, and editable regions.47- **Wheel / trackpad:** accumulated `deltaX + deltaY` past a small threshold48 moves exactly one slide, then resets quickly so a single gesture does not49 overshoot.50- **Touch:** a horizontal swipe of roughly 50px or more, greater than the51 vertical movement, moves previous / next.52- **Dots:** render one clickable button per slide, update the active dot on53 every navigation path, and mark it with `aria-current="true"`.54- **Active slide state:** keep the visible slide marked with55 `.slide.active`; adding `.is-active` as a compatibility alias is fine.56 Open Design's preview bridge reads this state for the host slide counter,57 so it must stay in sync with keyboard, wheel, touch, and dot navigation.58- **Iframe safety:** focus the deck on load / pointer interaction so keyboard59 navigation works after the gallery preview appears. Avoid60 `scrollIntoView()` because it can move the parent page instead of the deck.61- **Fallbacks:** no-script and print output should still expose every slide.62 Hide non-active slides only after the runtime has booted.63
Also in nexu-io/open-design
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| nexu-io/open-designplugins/AGENTS.md · 83k | AGENTS.md | stylearchsecuritydo-not | 68/100 | 3 days ago | |
| nexu-io/open-design.github/AGENTS.md · 83k | AGENTS.md | stylearchgitapi+3 | 83/100 | 3 days ago | |
| nexu-io/open-designAGENTS.md · 83k | AGENTS.md | setupteststylearch+9 | 74/100 | 3 days ago | |
| nexu-io/open-designapps/AGENTS.md · 83k | AGENTS.md | testarchmonorepo | 90/100 | 3 days ago | |
| nexu-io/open-designapps/daemon/AGENTS.md · 83k | AGENTS.md | teststylearchtesting-strategy+4 | 86/100 | 3 days ago | |
| nexu-io/open-designapps/daemon/src/critique/AGENTS.md · 83k | AGENTS.md | archtesting-strategymonorepo | 52/100 | 3 days ago | |
| nexu-io/open-designapps/landing-page/AGENTS.md · 83k | AGENTS.md | apideploymentmonorepo | 82/100 | 3 days ago | |
| nexu-io/open-designapps/packaged/AGENTS.md · 83k | AGENTS.md | monorepodo-not | 54/100 | 3 days ago | |
| nexu-io/open-designapps/web/src/components/Theater/AGENTS.md · 83k | AGENTS.md | testarchmonorepo | 72/100 | 3 days ago | |
| nexu-io/open-designdesign-systems/_schema/AGENTS.md · 83k | AGENTS.md | archtesting-strategyapi | 58/100 | 3 days ago | |
| nexu-io/open-designe2e/AGENTS.md · 83k | AGENTS.md | teststylearchtesting-strategy+3 | 93/100 | 3 days ago | |
| nexu-io/open-designpackages/AGENTS.md · 83k | AGENTS.md | archdependenciesmonorepo | 86/100 | 3 days ago | |
| nexu-io/open-designskills/AGENTS.md · 83k | AGENTS.md | no sections | 39/100 | 3 days ago | |
| nexu-io/open-designtools/AGENTS.md · 83k | AGENTS.md | testing-strategy | 82/100 | 3 days ago | |
| nexu-io/open-designtools/pack/AGENTS.md · 83k | AGENTS.md | styletesting-strategyperformancedeployment+1 | 85/100 | 3 days ago | |
| nexu-io/open-designtools/serve/AGENTS.md · 83k | AGENTS.md | do-not | 32/100 | 3 days ago |
Diff against plugins/AGENTS.md Diff against .github/AGENTS.md Diff against AGENTS.md Diff against apps/AGENTS.md Diff against apps/daemon/AGENTS.md Diff against apps/daemon/src/critique/AGENTS.md Diff against apps/landing-page/AGENTS.md Diff against apps/packaged/AGENTS.md Diff against apps/web/src/components/Theater/AGENTS.md Diff against design-systems/_schema/AGENTS.md Diff against e2e/AGENTS.md Diff against packages/AGENTS.md Diff against skills/AGENTS.md Diff against tools/AGENTS.md Diff against tools/pack/AGENTS.md Diff against tools/serve/AGENTS.md
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| aaif-goose/gooseAGENTS.md · 52k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| TryGhost/Ghoste2e/AGENTS.md · 55k | AGENTS.md | setupteststylearch+2 | 100/100 | 3 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199k | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| SkeneTechnologies/skene-cookbookAGENTS.md · 51 | AGENTS.md | setupbuildtestlint-format+7 | 100/100 | 2 days ago | |
| trick77/agents-md-syncAGENTS.md · 2 | AGENTS.md | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 2 days ago |
