On November 7 we released Velocity 2.5.0. Its goal was to take a project from a fresh scaffold to a designed site: ask your agent to set up the site for your business, and it would interview you, pick a design direction, remove the demo and build your pages from section recipes.
On November 8 we released 2.5.1, which removes most of that. This post covers what 2.5.0 added, what 2.5.1 kept, and why.
What 2.5.0 added
2.5.0 had two halves: a design layer, and a workflow for agents to use it.
The design layer
| Piece | What it did |
|---|---|
scripts/design.mjs | A design engine shipped to projects. direction wrote a design direction into theme.css and registered its fonts, tokens printed a WCAG AA contrast matrix for light and dark, and fonts checked that fonts, config and tokens agreed. |
| Five directions | Editorial, Warm local, Clinical, Bold product and Minimal portfolio, stored as data in .agents/design/directions/ |
| Theme controls | --theme-heading-scale, --theme-display-scale and --theme-section-space, all defaulting to 1 |
| 14 sections | HeroSplit, Pricing, FAQ, Testimonials and ten more, which projects copied into src/components/sections/ |
.agents/recipes.md and .agents/design.md | When to use each section, home-page blueprints by business type, and a design guide for agents |
Design rules in check:agent | design/raw-color, design/arbitrary-value, design/default-theme and design/section-outdated |
The agent workflow
velocity-start-site, a skill that takes a fresh, demo or customized project to the user’s own site: it detects the starting state, runs a short interview, writes a brief, removes the demo and builds the pages.- The site brief,
.agents/site.md, where the skill records what the site is, the facts the user gave and what’s still unknown, so later sessions build on it. Upgrades never touch it. - Placeholder rules. Agents mark anything they don’t know, such as prices, hours or testimonials, with
[[placeholder: what goes here]]instead of inventing it.check:agentlists every one that remains (content/placeholder), along with a scaffold name or email left insite.config.ts(config/default-identity) and pages with more than one<h1>.
What 2.5.1 removed
All of the design layer. The design engine, the five directions, the 14 sections, recipes.md, design.md and the theme controls are gone, along with the four design/* rules in check:agent and the design script. The velocity-rebrand skill went back to its 2.4.1 text. In total, 2.5.1 deleted over 2,900 lines.
What it kept
The agent workflow, slightly simplified:
velocity-start-siteand the brief. The skill still interviews you, writes.agents/site.md, removes the demo and builds your pages. Its design steps are now two lines: write down what the user said about the look, and apply it withvelocity-rebrand. Pages are built with Velocity’s own components, as listed in.agents/components.md.- Three
check:agentrules.content/placeholderandconfig/default-identitystay. The<h1>check stays too, renamed fromdesign/multiple-h1toa11y/multiple-h1. - 2.5.0’s bug fixes. The design engine found real contrast problems in Velocity’s base themes, such as dark-mode status badge text, and those fixes stay. So do the fix for the starter blog post rendering two
<h1>s, andMediaSlotmarking its placeholders.
Why we pulled it
The 2.5.1 commit gives the reason in two parts:
The design tools added in 2.5.0 didn’t produce the quality they promised and pulled Velocity away from what it is: a starter kit for Astro.
The first part is about results. 2.5.0 was released as “from scaffold to a designed site”, and the design tools didn’t deliver the quality that promise implied.
The second part is about scope, and it shows in what the revert kept. Everything that stayed helps an agent build on Velocity correctly: a brief so later sessions don’t start over, placeholders so it doesn’t invent facts, and checks it can run before it says it’s done. Everything that went was Velocity deciding what your site should look like. Velocity still gives you themes, tokens and components; how they come together is your call, or your agent’s, working from your brief.
Shipping something and pulling it a day later isn’t how we’d like releases to go. We’d still rather say so plainly than leave tools in your project that we don’t stand behind.
If you installed 2.5.0
Upgrade:
npm create velocity-astro@latest upgradeThe 2.5.1 migration deletes the files Velocity no longer ships and backs them up to .velocity-backup/ first:
scripts/design.mjs.agents/design/.agents/design.md.agents/recipes.md
If your package.json has a design script, delete it yourself. The upgrade leaves the rest alone:
- Your theme. A direction block in
src/styles/theme.csskeeps its colors and fonts. The theme controls are gone from Velocity’s tokens, so any--theme-heading-scale,--theme-display-scaleor--theme-section-spacelines in it no longer have an effect. - Your sections. Anything you copied into
src/components/sections/is untouched and stays yours. You won’t getdesign/section-outdatednotices about it anymore. - Your brief.
.agents/site.mdis kept, andvelocity-start-sitestill reads it.
We tested this path by upgrading a 2.5.0 project created with the CLI before releasing 2.5.1.
Get it
Start a new project:
npm create velocity-astro@latestThen ask your agent to set up the site for your business, and run npm run check:agent before you take its word that it’s done. The 2.4 post covers the check and the other skills, and the release notes are on GitHub.