We wrote up what we've learned about using Claude Code internally...

@alexalbert__
Alex Albert@alexalbert__
89 views Apr 23, 2025 ~1 min read
Advertisement
1
We wrote up what we've learned about using Claude Code internally at Anthropic.

Here are the most effective patterns we've found (many apply to coding with LLMs generally):
Media image
2
1/ CLAUDE md files are the main hidden gem. Simple markdown files that give Claude context about your project - bash commands, code style, testing patterns. Claude loads them automatically and you can add to them with # key
3
2/ The explore-plan-code workflow is worth trying. Instead of letting Claude jump straight to coding, have it read files first, make a plan (add "think" for deeper reasoning), then implement.

Quality improves dramatically with this approach.
4
3/ Test-driven development works very well for keeping Claude focused. Write tests, commit them, let Claude implement until they pass.
5
4/ A more tactical one, ESC interrupts Claude, double ESC edits previous prompts. These shortcuts save lots of wasted work when you spot Claude heading the wrong direction
6
5/ We're using Claude for codebase onboarding now. Engineers ask it "why does this work this way?" and it searches git history and code for answers which has cut onboarding time significantly.
7
6/ For automation, headless mode (claude -p) handles everything from PR labeling to subjective code review beyond what linters catch.

Or try the --dangerously-skip-permissions mode. Spin up a container and let Claude loose on something like linting or boilerplate generation
8
7/ The multi-Claude workflow is powerful: one writes code, another follows up behind and reviews.

You can also use git worktrees for parallel Claude sessions on different features.
9
Check out the blog post for more details and more best practices: anthropic.com/engineering/cl…
Actions
What You Can Do
  • Export as PDF or Markdown
  • Batch Export to Notion
  • Bookmark & Highlight
  • Screenshot Tweet
Create Free Account

Includes 7-day Premium trial

Advertisement