A design-system-agnostic HTML prototype scaffold built on Eleventy v3, Tailwind CSS v4, and vanilla JavaScript.
bash setup.sh "My Project Name"
npm run devOpen localhost:3000 to see your project.
- 3 output formats — dev server, standalone HTML files, single-file SPA
- Pluggable design system — swap
tokens.cssto change Material v3, Basecoat, or custom - Reusable sections — Nunjucks partials with numbered variants (hero-01, hero-02, etc.)
- Motion-aware —
prefers-reduced-motionrespected everywhere, single IntersectionObserver - View Transitions API — smooth page transitions with graceful fallback
- Dark mode — flash-free toggle with localStorage persistence
- AI-ready — AGENTS.md + bundled skills for Claude/Cursor. Optional cross-session memory via the
agent-memoryskill.
Create a new .njk file in src/pages/:
---
layout: layouts/page.njk
title: My Page
---
{% include "sections/hero/hero-01.njk" %}
<section class="section">
<div class="container">
<h1>Your content here</h1>
</div>
</section>
{% include "sections/cta/cta-01.njk" %}Create in src/_includes/sections/{domain}/{domain}-{nn}.njk:
sections/
├── hero/hero-01.njk ← exists
├── hero/hero-02.njk ← add your variant
├── pricing/pricing-01.njk ← add a new domain
└── features/features-01.njk
Use in pages: {% include "sections/pricing/pricing-01.njk" %}
Edit src/assets/css/tokens.css — all components reference tokens via var():
:root {
--primary: oklch(0.55 0.15 250); /* Change this */
--surface: oklch(0.985 0 0); /* And this */
/* ... */
}Also update the @theme block in src/_includes/layouts/base.njk to map new tokens to Tailwind utilities.
Drop raw HTML/React/prototype files into source-reference/. AI agents can convert them to 11ty pages:
- Read
source-reference/_CONVENTIONS.mdfor the conversion rules - Agent decomposes the source into sections
- Agent creates
.njkpartials and pages - Review in dev server
| Command | Description |
|---|---|
npm run dev |
Dev server at localhost:3000 |
npm run build |
11ty build → out/ |
npm run build:standalone |
Flat HTML → out-standalone/ |
npm run build:spa |
SPA → out-spa/app.html |
npm run lint |
ESLint + Stylelint |
npm run format |
Prettier |
Bundled in .agents/skills/. See .agents/README.md for setup instructions.
To sync to your global skills (recommended):
mkdir -p ~/.agents/skills
cp -r .agents/skills/* ~/.agents/skills/