Editing a codebase with Vesper Code
This is the core loop: describe a change in natural language, let Vesper Code find the right files, make the edits, and review them before they land.
1. Start in your repo
cd /path/to/your-repovesper
Vesper Code reads your project on demand. You do not need to paste files or explain the layout. The File Picker agent finds what is relevant.
2. Plan before you edit (recommended for anything non-trivial)
For a one-line fix, just describe it. For anything that spans files, plan first:
/plan
In plan mode Vesper Code proposes the approach and the files it intends to touch before changing anything. You approve or redirect. This is the cheapest place to catch a wrong assumption — before any code is written, not after.
3. Make the change
Describe the outcome you want, not the implementation:
"Add rate limiting to the public API routes and return 429 with a Retry-After header."
The Planner sequences the work, the Editor makes precise, context-aware edits across the files, and the Reviewer checks the result for correctness and regressions with fresh context. You see a diff, not a black box.
4. Review the diff
Read the diff like you would a teammate's pull request. The Reviewer agent has already done an adversarial pass, but you have context it does not — business rules, timing, taste. Accept, refine, or ask for a different approach.
Tips
- One task at a time. A focused request produces a focused, reviewable diff. Bundle five unrelated changes and review gets harder.
- Use
/initonce per project. It creates aknowledge.mdwhere you can record setup commands and conventions Vesper Code should respect. See Knowledge files. - Large repos: see Working with large projects.
Related
Need help? Join the Discord or email support@vespercode.com.