5 essential Claude Code tips & tricks you should be using

These are 5 powerful tips that help you get the most out Claude in your day-to-day development.

They give Claude better context to improve code quality, help you stay in the flow to build faster, and help you avoid costly token usage.

1. Get more consistent results with CLAUDE.md

Maintaining a good CLAUDE.md is one of the highest-leverage things you can do.

Think of it as onboarding documentation for Claude. Instead of repeatedly explaining your architecture, commands, and conventions, put the important information there:

Plain text
# Commands - Tests: `pnpm test` - Type checking: `pnpm typecheck` # Conventions - Use named exports - Prefer server components - Add tests for new business logic

Keep it concise and specific. Focus on things Claude repeatedly needs: commands, architectural boundaries, conventions, testing expectations, and unusual project constraints.

You avoid repetition and improve your productivity.

What about AGENTS.md?

If you use multiple coding tools, AGENTS.md is useful for instructions you want to share across them. Claude Code now supports AGENTS.md, so if it already contains everything Claude needs, you don’t necessarily need a separate CLAUDE.md.

You can also use both:

AGENTS.md   → shared instructions

CLAUDE.md   → Claude-specific instructions

And instead of duplicating instructions, you can import AGENTS.md into CLAUDE.md:

Plain text
@AGENTS.md

# Claude-specific instructions

– Use Plan Mode for large changes.

You can import other project documentation the same way, such as @README.md or @docs/architecture.md.

2. Stay in flow by running shell commands directly

Not everything needs an AI.

Claude Code lets you execute shell commands directly by prefixing them with the ! character.

Plain text
!git status !pnpm test !git diff --stat

It’s a tiny feature, but it makes Claude Code much nicer as a terminal workflow.

A useful rule: use Claude when you need reasoning; use ! when you already know what needs to run.

3. Avoid costly wrong turns with Plan Mode

For large changes, letting an agent immediately start editing files can produce a lot of code based on a bad assumption.

Plan Mode lets Claude investigate and think through the implementation first:

/plan

A good workflow is:

Explore → Plan → Review → Implement → Verify

This is particularly useful for migrations, architectural changes, tricky bugs, and features spanning multiple parts of a codebase.

Actually read the plan before implementation. Fixing a bad assumption there is much easier than fixing it after 20 files have changed.

For small, obvious changes, skip it. Plan Mode is most valuable when the approach itself requires thought.

4. Avoid costly wrong turns with Plan Mode

Claude Code can delegate work to multiple agents, allowing independent tasks to happen simultaneously instead of sequentially.

For example:

Agent A → backend

Agent B → frontend

Agent C → tests

Agent D → documentation

This isn’t just faster. Each agent gets a narrower context and can focus on one part of the problem.

Claude can decide to delegate work itself, but you can also explicitly ask it to parallelize:

Split this into independent workstreams and use parallel agents wherever tasks don’t depend on each other.

Or:

Use three parallel agents to investigate the API, frontend, and database layers. Combine their findings before implementing the fix.

The important distinction is independence. If one task depends on another’s output, running them simultaneously can create conflicting assumptions.

Parallelize independent work; sequence dependent work.

5. Work on multiple features at once with Claude Code worktrees

Claude Code’s native worktree support lets you run isolated Claude sessions against the same repository.

Launch one with:

claude –worktree

Or name it:

claude –worktree feature-auth

Claude creates the worktree and starts the session inside it, giving the task an isolated working copy and branch.

That means you can have:

Session A → authentication feature

Session B → payment bug

Session C → dependency upgrade

all progressing without their changes colliding.

Combined with parallel agents, you get two levels of concurrency: worktrees for separate Claude Code sessions, and subagents for parallel work within a session.

Getting more from Claude Code ultimately isn’t about magical prompts. It’s about orchestrating it well: give it persistent context, plan complex work, parallelize independent tasks, isolate concurrent sessions, and use the shell directly when reasoning isn’t required.



Leave a Comment

Your email address will not be published. Required fields are marked *