AI Agents & IDE Integration
Vue Doctor is designed for seamless collaboration with AI coding assistants (Claude Code, Cursor, GitHub Copilot, Windsurf, Antigravity, etc.).
1. Automatic Agent Setup
Install Vue Doctor instructions for all detected coding agents with a single command:
bash
npx @remylagerweij/vue-doctor@latest agents installSupported Targets
| Agent / Tool | File Managed |
|---|---|
| Claude Code | .claude/skills/vue-doctor/SKILL.md |
| Cursor | .cursor/rules/vue-doctor.mdc |
| GitHub Copilot | Block in .github/copilot-instructions.md |
| Generic / Codex | Block in AGENTS.md |
| Windsurf | .windsurf/rules/vue-doctor.md |
| Antigravity | .agents/rules/vue-doctor.md |
Targeting Specific Agents
To install instructions only for specific agents:
bash
npx @remylagerweij/vue-doctor@latest agents install --agent claude,cursor2. Dry Run & Removal
Preview changes without modifying the filesystem:
bash
npx @remylagerweij/vue-doctor@latest agents install --dry-runRemove all installed agent instruction blocks:
bash
npx @remylagerweij/vue-doctor@latest agents install --remove3. The Agent Remediation Playbook
Instruct your AI agent to follow the standard loop:
- Scan Changed Files: ```bash npx @remylagerweij/vue-doctor@latest . --scope changed --format json ```
- Prioritize: Fix security vulnerabilities and correctness errors first.
- Lookup Guidance: Use
explainfor any rule requiring clarification: ```bash npx @remylagerweij/vue-doctor@latest explain vue-doctor/security/no-unsafe-html-sink ``` - Apply Codemods: ```bash npx @remylagerweij/vue-doctor@latest . --fix ```
- Verify: Re-run the scan to ensure all findings are resolved without disabling rules.