PrimeVue + project tokens
Enforces PrimeVue and the project's semantic token system. OpenProps is optional: detect before enforcing OpenProps-specific rules.
When chained from parent skills, validate_vue.py runs in a shell subagent by default. See reference/subagents.md.
When to use
- Editing
.vuesingle-file components or project stylesheets - Agent is about to add UI components, tokens, or layout
- Validating generated Vue against team design system
Instructions
- Read
context/VOCABULARY.mdandcontext/ANTI_PATTERNS.md,context/PROSE_ANTI_SLOP.mdbefore writing UI code. - Read
heyeddi-design/reference/token-strategy.md: detect OpenProps vs customtokens.css. - Reuse PrimeVue components from the project catalog: never invent props.
- Use semantic CSS variables from project
tokens.css/design.md: OpenProps-backed (var(--surface-1)) or custom (var(--brand)). No scattered hex in.vue/ CSS. - After edits, run
python scripts/validate_vue.py --project-root <root>. - Fix all reported issues before finishing.
Scripts
validate_vue.py: runsvue-tsc --noEmitand stylelint if installed