RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/AGENTS.md/nexu-io/open-design

AGENTS.md

design-templates/AGENTS.md
AGENTS.md

Quality

43/100

Scores the file, not the repository.

Length

467 words

4 headings · 0 code blocks

Repository

83k

— · pushed 0 days ago

Last changed

3 days ago

First indexed 3 days ago.
nexu-io/open-design/design-templates/AGENTS.mdRawGitHub
1# design-templates
2 
3This directory holds **design templates** — packaged "shapes" the agent
4renders into a project artifact (decks, prototypes, image/video/audio
5templates, …). Each entry is a folder with a `SKILL.md` (same shape as
6functional skills) plus rendering side files (`example.html`,
7`assets/`, `references/`, …).
8 
9If 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 the
12full split.
13 
14## Daemon plumbing
15 
16- Listed under `/api/design-templates`. The shape mirrors `/api/skills`
17 (same `SkillSummary`/`SkillDetail` types) so the web client can
18 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 — the
21 example HTML rewrites to `/api/skills/<id>/...` regardless of which
22 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 the
24 rendering catalogue; the redesigned home has no top-level Templates tab.
25 
26## Adding a design template
27 
281. Create `design-templates/<my-template>/SKILL.md` with `name`,
29 `description`, `triggers`, and an explicit `od.mode` (one of
30 `prototype`, `deck`, `template`, `image`, `video`, `audio`).
312. Ship a baked `example.html` (and any side files) so the shared example and
32 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.
35 
36## Deck preview navigation contract
37 
38Any template with `od.mode: deck` must make its baked `example.html`
39usable inside the gallery iframe without relying on the host app to add
40navigation. Use a shared deck runtime where one is available; otherwise
41ship a tiny local runtime with the same minimum behavior.
42 
43- **Keyboard:** `ArrowRight` / `ArrowDown` / `PageDown` / `Space` move to
44 the next slide; `ArrowLeft` / `ArrowUp` / `PageUp` move to the previous
45 slide; `Home` and `End` jump to the first and last slide. Ignore events
46 from inputs, selects, textareas, and editable regions.
47- **Wheel / trackpad:** accumulated `deltaX + deltaY` past a small threshold
48 moves exactly one slide, then resets quickly so a single gesture does not
49 overshoot.
50- **Touch:** a horizontal swipe of roughly 50px or more, greater than the
51 vertical movement, moves previous / next.
52- **Dots:** render one clickable button per slide, update the active dot on
53 every navigation path, and mark it with `aria-current="true"`.
54- **Active slide state:** keep the visible slide marked with
55 `.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 keyboard
59 navigation works after the gallery preview appears. Avoid
60 `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 

Sections

  • design-templates
  • Daemon plumbing
  • Adding a design template
  • Deck preview navigation contract

What it covers

apiui

Stack — with the evidence

typescript

(1.00)

node

(0.70)

react

(0.70)

nextjs

(0.70)

astro

(0.70)

express

(0.70)

tailwind

(0.70)

vitest

(0.70)

playwright

(0.70)

aws

(0.70)

desktop-app

(0.70)

javascript

(0.60)

monorepo

(0.60)

pnpm

(0.60)

kubernetes

(0.60)

github-actions

(0.60)

vercel

(0.60)

Format

AGENTS.md

A plain-markdown README for coding agents, deliberately unopinionated: no frontmatter, no globs, no vendor keys. That minimalism is why it became the one file a dozen different agents will read, and why it carries the least per-file targeting power of any format here.

What the corpus says about it

Repository

Owner
nexu-io
Language
—
License
—
Archived
no

All configs in this repo

Also in nexu-io/open-design

Diff this repo’s formats

One 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?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
nexu-io/open-designplugins/AGENTS.md · 83kAGENTS.mdtypescriptnode+15stylearchsecuritydo-not68/1003 days ago
nexu-io/open-design.github/AGENTS.md · 83kAGENTS.mdtypescriptmonorepo+15stylearchgitapi+383/1003 days ago
nexu-io/open-designAGENTS.md · 83kAGENTS.mdtypescriptnode+15setupteststylearch+974/1003 days ago
nexu-io/open-designapps/AGENTS.md · 83kAGENTS.mdtypescriptplaywright+15testarchmonorepo90/1003 days ago
nexu-io/open-designapps/daemon/AGENTS.md · 83kAGENTS.mdtypescriptvitest+15teststylearchtesting-strategy+486/1003 days ago
nexu-io/open-designapps/daemon/src/critique/AGENTS.md · 83kAGENTS.mdtypescriptnode+15archtesting-strategymonorepo52/1003 days ago
nexu-io/open-designapps/landing-page/AGENTS.md · 83kAGENTS.mdtypescriptastro+16apideploymentmonorepo82/1003 days ago
nexu-io/open-designapps/packaged/AGENTS.md · 83kAGENTS.mdtypescriptvitest+15monorepodo-not54/1003 days ago
nexu-io/open-designapps/web/src/components/Theater/AGENTS.md · 83kAGENTS.mdtypescriptvitest+15testarchmonorepo72/1003 days ago
nexu-io/open-designdesign-systems/_schema/AGENTS.md · 83kAGENTS.mdtypescriptnode+15archtesting-strategyapi58/1003 days ago
nexu-io/open-designe2e/AGENTS.md · 83kAGENTS.mdtypescriptvitest+15teststylearchtesting-strategy+393/1003 days ago
nexu-io/open-designpackages/AGENTS.md · 83kAGENTS.mdtypescriptnode+15archdependenciesmonorepo86/1003 days ago
nexu-io/open-designskills/AGENTS.md · 83kAGENTS.mdtypescriptnode+15no sections39/1003 days ago
nexu-io/open-designtools/AGENTS.md · 83kAGENTS.mdtypescriptplaywright+15testing-strategy82/1003 days ago
nexu-io/open-designtools/pack/AGENTS.md · 83kAGENTS.mdtypescriptvitest+16styletesting-strategyperformancedeployment+185/1003 days ago
nexu-io/open-designtools/serve/AGENTS.md · 83kAGENTS.mdtypescriptvitest+15do-not32/1003 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.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
aaif-goose/gooseAGENTS.md · 52kAGENTS.mdrusttypescript+2setupbuildtestlint-format+6100/1003 days ago
TryGhost/Ghoste2e/AGENTS.md · 55kAGENTS.mdtypescriptjavascript+12setupteststylearch+2100/1003 days ago
duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70AGENTS.mdtypescriptjavascript+5buildteststylearch+3100/1003 days ago
n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199kAGENTS.mdtypescriptlangchain+16buildteststylearch+3100/1003 days ago
mui/material-uiAGENTS.md · 99kAGENTS.mdtypescriptjavascript+13setupbuildtestlint-format+9100/1003 days ago
SkeneTechnologies/skene-cookbookAGENTS.md · 51AGENTS.mdpythoneslint+4setupbuildtestlint-format+7100/1002 days ago
trick77/agents-md-syncAGENTS.md · 2AGENTS.mdtypescriptnode+4setupbuildteststyle+5100/1003 days ago
code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67kAGENTS.mdtypescriptbun+10setupbuildtestlint-format+6100/1002 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack