vscode-docs icon indicating copy to clipboard operation
vscode-docs copied to clipboard

Agent mode best practices doc

Open isidorn opened this issue 7 months ago • 1 comments

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

isidorn avatar Jul 07 '25 14:07 isidorn

#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,
    1. customize your set up
    1. create claud md files for documenting
    1. court files and utilitiy functions can be found @https://www.anthropic.com/engineering/claude-code-best-practices
    1. give it a try!

Ninjadeveloper007 avatar Jul 09 '25 01:07 Ninjadeveloper007