Problem
Users frequently run vp dev when they actually intend to run the project's dev script. This causes confusion because vp dev is a Vite+ built-in command, while many projects expect script-based behavior.
Current behavior
- Some guidance already points users toward
vp run <script> for validation tasks
- Other docs/prompts still describe Vite usage in terms of
vp dev / vp build
- This mixed guidance likely contributes to incorrect usage
Expected behavior
Guidance should clearly distinguish:
vp dev -> Vite+ built-in command
vp run dev / vpr dev -> project script execution path
When the goal is to respect custom scripts, framework wrappers, or more complex project setups, docs/prompts should prefer the script-based path.
Suggested improvements
- Update generated prompts /
AGENTS.md / docs to prefer vpr where appropriate
- Clarify when to use:
vp dev
vp run dev
vpr dev
- Add a runtime hint when a user runs
vp dev and a matching dev script exists, e.g.:
- "You are running
vp dev as a Vite+ built-in command. If you meant to run the dev npm script, use vpr dev instead."
- Apply the same hint pattern to other built-in commands that collide with script names
- Add evals/tests to catch prompt/doc regressions around this distinction
Why this matters
Using the script path better preserves project-specific behavior, especially for meta-frameworks, custom wrappers, and more complex setups.
Reference
Problem
Users frequently run
vp devwhen they actually intend to run the project's dev script. This causes confusion becausevp devis a Vite+ built-in command, while many projects expect script-based behavior.Current behavior
vp run <script>for validation tasksvp dev/vp buildExpected behavior
Guidance should clearly distinguish:
vp dev-> Vite+ built-in commandvp run dev/vpr dev-> project script execution pathWhen the goal is to respect custom scripts, framework wrappers, or more complex project setups, docs/prompts should prefer the script-based path.
Suggested improvements
AGENTS.md/ docs to prefervprwhere appropriatevp devvp run devvpr devvp devand a matchingdevscript exists, e.g.:vp devas a Vite+ built-in command. If you meant to run the dev npm script, usevpr devinstead."Why this matters
Using the script path better preserves project-specific behavior, especially for meta-frameworks, custom wrappers, and more complex setups.
Reference