Skip to content
Patchwork
Start free
All docs pages

Docs · The theme

Working with AI assistants

The rules and skills that tell an AI coding assistant how this theme is built.

AGENTS.md and .agents/velocity.md tell AI coding assistants, such as Claude Code, Codex, Cursor and Copilot, where everything is in the theme and which rules keep a change in line: no words written into components, colours from the tokens, one <h1> per page, a Content Security Policy that inline scripts must pass, and motion that respects reduced motion. CLAUDE.md points to them.

Skills

The skills in .agents/skills/ walk an assistant through common tasks:

Skill For
velocity-start-site Setting up the whole site from a brief
velocity-add-page A new page
velocity-add-component A new component
velocity-add-content A post, or a new kind of content
velocity-add-locale A new language
velocity-connect-forms Connecting the forms to a provider
velocity-rebrand A new colour, font, logo or name

Checking the work

pnpm validate ends with the agent-ready check, pnpm check:agent. It lists words missing from the translations, inline scripts the Content Security Policy would block, broken links, forms still without delivery, text written into components, placeholders and pages with more than one <h1>. Each finding names the file, the rule and the fix.

Don’t run create-velocity-astro upgrade on the theme: it would replace files Aurora has changed.