For Vite
Project Spine for Vite
One compile step for any Vite-powered SPA. Agents stop guessing the bundler.
Project Spine inspects Vite repos regardless of framework — React, Vue, or Svelte — and emits deterministic agent instructions tied to your real config, not a generic Vite template from a tutorial.
What Spine detects in a Vite repo
- Framework plugin in vite.config
- TypeScript vs JavaScript
- Routing (react-router, vue-router, svelte-kit-style)
- Test runner (vitest, playwright)
Get started
~ — spine inspect --repo .
$ npm install -g project-spine@next $ spine inspect --repo . ✓ detected Vite 5/6 (React, Vue, Svelte) $ spine compile --brief ./brief.md --repo . ✓ wrote AGENTS.md, CLAUDE.md, copilot-instructions.md
Templates that fit Vite
- app-dashboardSPA with auth + role-aware routing.
- design-systemPrimitive library shipped from a Vite lib build.
Guardrails Spine compiles for Vite
- Bundle-size budgets surfaced as rules
- HMR + dev-server expectations documented
- Test coverage floor
- Dep graph and unused-export checks