Cursor
Install
mkdir -p .cursor/skills/mdvs .cursor/rules
mdvs scaffold skill > .cursor/skills/mdvs/SKILL.md
mdvs scaffold snippet --platform cursor > .cursor/rules/mdvs.mdc
What you get
- Skill: agent learns when to call which mdvs command, how to interpret violations, and the schema-evolution loop. Cursor reads skills from
.cursor/skills/,.agents/skills/,.claude/skills/, and.codex/skills/—mdvs scaffold skill --platform cursorwrites to.cursor/skills/as the native path. - Snippet:
.cursor/rules/mdvs.mdcwithalwaysApply: true. Cursor includes it in every conversation automatically.
Hooks
mdvs doesn’t ship a verified Cursor hook config. To wire mdvs hook handle into Cursor’s PostToolUse mechanism, follow the Cursor hooks docs.
As a harness-independent fallback, the pre-commit hook runs mdvs check on every commit.
Per-platform notes
- Project rules: Cursor also honors
AGENTS.mdat workspace root. If you’d rather paste the universal snippet there:mdvs scaffold snippet >> AGENTS.md(without--platform). - mdvs on PATH:
mdvsmust be available to any subprocess Cursor runs. On macOS, Cursor launched from Spotlight may not see your shell PATH — symlinkmdvsinto/usr/local/bin/or install viacargo install --path crates/mdvs.