@vetaui/cursor-rules
v0.1.2
Published
Cursor rules pack for Veta-aware AI editing. Drop the .cursorrules file into your project so the agent generates idiomatic Veta code.
Readme
@vetaui/cursor-rules
Drop-in Cursor rules pack for the Veta design system. Tells the Cursor agent how to write idiomatic Veta + Flutter code: which barrels to import from, how to wire kits, when to call MCP discovery tools, and the reduce-motion / async / multi-step flow contracts every Veta consumer is expected to follow.
Install
npx -y @vetaui/cursor-rules # writes .cursorrules in your CWD
npx -y @vetaui/cursor-rules --force # overwrite an existing .cursorrulesThen restart Cursor (or reopen the project) so the agent picks it up.
What's inside
The rules pack mirrors shared/catalog/llm-rules.md from the Veta
monorepo. It enforces:
- imports from public barrels only (no
src/reach-ins), VetaMotiondurations + reduce-motion guard,VetaAsyncBuilder<T>for async UX,VetaFlowfor multi-step flows,configureVetaKits(...)wiring,- MCP-first discovery (
veta_describe,veta_recipe,veta_integrate).
Pair with the MCP server
This rules pack is most useful when the Veta MCP server is configured
in the same project. See @vetaui/mcp for setup.
