Leave Localhost logoLeave LocalhostDocs
AI Agent DX

Using Claude Code

Claude Code is an AI coding assistant from Anthropic that runs in your terminal and understands your codebase context.

Claude Code is an AI coding assistant from Anthropic that runs in your terminal and understands your codebase context.

Setup

  1. Install Claude Code following the official instructions from Anthropic.
  2. Initialize it in the root of the leave-localhost-starter repository.

Best Practices

  • Context Awareness: Claude Code automatically reads the CLAUDE.md file in the root directory (which serves as a brief index to the larger AGENTS.md file) to understand the project structure and rules.
  • Task Delegation: You can use Claude Code for terminal-heavy tasks like running tests, finding specific files, or executing Turborepo commands.
  • Code Generation: When asking Claude to generate components, explicitly remind it to use the packages/ui directory for shared components or apps/app for product-specific views, as defined in the workspace boundaries.
  • Skill Usage: If you need to use a specific skill (like adding a Shadcn component), mention the skill name so Claude knows to look in the .agents/skills directory for detailed instructions before proceeding.

On this page