Use Claude Code

Build Software

Write, debug, refactor, and ship code from your terminal with Claude Code.

What's possible

  • Write new features across multiple files
  • Debug issues by reading error messages, logs, and stack traces
  • Refactor code — rename, restructure, modernize
  • Write and run tests
  • Handle git operations — commits, branches, PRs
  • Work with any language, framework, or build tool

Getting started

  1. 1

    Install Claude Code

    Run: curl -fsSL https://claude.ai/install.sh | bash on macOS or Linux. For Windows and other install methods, see the setup guide. Requires a Pro or Max plan.

  2. 2

    Navigate to your project

    Open your terminal and cd into your project directory. Claude Code works best when it can see your full codebase.

  3. 3

    Start Claude Code

    Run: claude. Claude Code will analyze your project structure and be ready to help.

  4. 4

    Describe what you want to build

    Tell Claude what feature to add, what bug to fix, or what to refactor. Be specific about the desired behavior.

  5. 5

    Review and approve changes

    Claude Code will propose file edits. Review each change, approve or reject, and iterate until the code is right.

Example prompts

Adding a feature

Add a dark mode toggle to the header. Use the existing theme context and persist the preference to localStorage.

Debugging

The login form submits but nothing happens. Check the form handler, the API route, and the auth middleware. Find and fix the issue.

Refactoring

Convert the user service from callbacks to async/await. Update all callers and make sure the tests still pass.

Tests

Write unit tests for the payment calculation module. Cover the standard case, discounts, tax, and edge cases like zero amounts.

Tips

  • The more context Claude has about your project, the better. A CLAUDE.md file in your repo root helps Claude understand your conventions.
  • Start with small, well-defined tasks before asking for large features. Build confidence in the workflow.
  • Use Claude Code for the boring parts — boilerplate, tests, repetitive refactors — so you can focus on design and architecture.
  • Always review the changes before accepting. Claude is fast but you know your codebase best.