This file provides baseline agent instructions for the whole repository.
Subproject files in vscode-extension/AGENTS.md and backend/AGENTS.md add local rules.
- Follow this file for any change in this repository.
- When working inside a subproject, also follow that subproject's
AGENTS.md. - If instructions conflict, the more specific (deeper)
AGENTS.mdwins for files in its scope.
vscode-extension/: TypeScript VS Code extension frontend and process orchestration.backend/: C#/.NET backend and LSP service.buildtools/: Helper scripts for packaging/testing across both parts.
Cross-project references:
- Extension guide:
vscode-extension/AGENTS.md - Backend guide:
backend/AGENTS.md
- Read related
README.mdand localAGENTS.mdbefore editing. - Make the smallest possible change that solves the requested task.
- Keep extension/backend contracts in sync (especially LSP message payloads and names).
- Run focused validation first, then broader checks only if needed.
- Summarize what changed, what was validated, and any follow-up risk.
- Build/package backend for extension usage:
./buildtools/publish-backend - Build VSIX package:
./buildtools/build-vsix - Backend tests:
./buildtools/test-backend - Extension unit tests:
./buildtools/test-extension
- Do not introduce new tooling when existing scripts already cover the task.
- Avoid wide refactors unless explicitly requested.
- Preserve backward compatibility for user-visible commands/settings unless asked to change behavior.
- Keep architecture boundaries clear: prefer placing domain/business logic in
backend/and keepvscode-extension/focused on user interaction, VS Code API integration, and presentation concerns.