Landing page + documentation site for UI Craft, the design engineering skill for AI coding agents.
Live: skills.smoothui.dev
- Landing (
/) — hero + 4 before/after comparison sliders, 4 modes, knobs (CRAFT / MOTION / DENSITY), 20 domains chunked into 4 clusters, 15 commands grouped by intent (Review & ship / Plan & transform / Taste dial), "Works in every agent" matrix, anti-slop demo, differentiated install / "what changes" CTAs. - Docs (
/docs) — 13 reference pages grouped into Skill, CLI, and Reference sections. Covers getting-started, skill-anatomy, variants, commands,ui-craft-detect, plus per-domain references (heuristics, personas, state-design, dataviz, copy, motion, ai-chat, forms).
- Astro 6 with content collections at
src/content/docs/ - Tailwind CSS v4
- Vanilla JS — comparison sliders with keyboard nav, Figma rulers, brand-inspect overlay, GitHub stars fetch with localStorage 1h TTL
- Deploys to Vercel
This project uses pnpm:
pnpm install
pnpm devRuns at localhost:4321.
pnpm build
pnpm preview.uicraftrc.json at the root silences two detector rules that are intentional editorial choices on this site (unit-mixing, pixel-radius-inconsistency). Editorial prose mixes px for borders with rem for scale on purpose.
Run the detector locally against the landing source:
npx ui-craft-detect srcTarget: 0 findings. The landing is dogfooded — it's a walking demonstration of the rules ui-craft teaches.
- Skill repo: github.com/educlopez/ui-craft
- npm CLI: npmjs.com/package/ui-craft-detect — static anti-slop detector, 33 rules, zero deps
- Agent skills registry: skills.sh
- Author's other packages: smoothui-cli, design-bites, sparkbites-mcp
MIT
