vscode-docs
vscode-docs copied to clipboard
Agent mode best practices doc
We have docs for how to use agent mode. But we do not have a best practices doc. I really like this anthropic one that we should be inspired from https://www.anthropic.com/engineering/claude-code-best-practices
Also we should emphasis less tokens = faster, more precise
fyi @roblourens
#8585 @Ninjadeveloper007 This is the best practices and its suggested power tool.
Bash commands
- npm run build: Build the project
- npm run typecheck: Run the typechecker
Code style
- Use ES modules (import/export) syntax, not CommonJS (require)
- Destructure imports when possible (eg. import { foo } from 'bar')
Workflow
- Be sure to typecheck when you’re done making a series of code changes
- Prefer running single tests, and not the whole test suite, for performance
- we consider this as a Claud starting point,
-
- customize your set up
-
- create claud md files for documenting
-
- court files and utilitiy functions can be found @https://www.anthropic.com/engineering/claude-code-best-practices
-
- give it a try!