StarterApp Docs
InstallationAI Agent Setup

Claude Code Setup

Configure Claude Code CLI with pre-built commands and codebase context.

StarterApp includes native Claude Code integration through pre-configured commands in .claude/commands. The setup mirrors all workflows from /llms/commands, enabling slash command usage without additional configuration.

First-Party Integration

The .claude/commands directory and CLAUDE.md provide complete codebase context. Claude Code reads architectural documentation, security patterns, and template references automatically when starting sessions.

Installation

Install the Claude Code CLI globally:

Claude Code Installation
# Install via npm
npm install -g @anthropic/claude-code

# Verify installation
claude --version

Authentication

Configure Claude Code with an Anthropic API key:

Run the initialization command:

Initialize Claude Code
claude init

Obtain an API key from console.anthropic.com ↗

Enter the API key when prompted. The key is stored securely in the system configuration.

Verify authentication by running:

Verification
claude /help

Pre-configured Commands

The repository includes built-in slash commands available immediately:

Project Context

The CLAUDE.md file provides comprehensive codebase information:

Workflow Examples

Starting a Development Session

Navigate to the project directory and start Claude Code:

Start Session
cd ~/projects/starterapp
claude

Initialize codebase context:

Prime Context
/prime

Begin development tasks with full codebase awareness

Feature Implementation Flow

Design the system architecture:

Architecture Design
/architect "user notification system with email and SMS"

Create a feature specification in features/notifications.md based on the architecture output

Generate implementation plan:

Generate PRP
/generate-prp features/notifications.md

Review the generated PRP and approve execution

Execute the plan:

Execute PRP
/execute-prp features/notifications.prp.md

Validate implementation with tests:

Validation
/tdd --focus features/notifications

Command Reference

Quick reference for common Claude Code workflows:

Template Awareness

Claude Code automatically references patterns from /llms/templates/ when generating code:

Pro Tip

Reference templates in prompts by file name: "Create a protected page using auth-page-template.tsx pattern". Claude Code reads the template and applies the pattern correctly.

AI-First Development

Claude Code integration enables advanced development workflows:

Next Steps

After Claude Code setup:

Additional Resources