Claude Code Setup¶
AI Velocity Exclusive
Claude Code package is exclusive to AI Velocity tier.
Complete Claude Code integration following Anthropic's official best practices.
Quick Start¶
| Bash | |
|---|---|
Claude automatically reads CLAUDE.md and loads project context.
What's Included¶
CLAUDE.md (~400 lines)¶
Comprehensive project context file containing:
- Project Overview: Stack, architecture, clean architecture pattern
- Common Bash Commands: Poetry, Task, Docker, Database, Testing
- Core Files: Directory structure, key files explained
- Code Style Guidelines: Python & TypeScript standards
- Testing Instructions: pytest & vitest patterns
- Stripe Integration Patterns: Payment feature development
- Analytics Extension Patterns: Adding analytics
- Common Pitfalls: Important notes & gotchas
- MUI Theming: Theme system conventions
- RBAC Usage: Permission checking patterns
- Development Workflow: API development, migrations, client generation
View CLAUDE.md in project root
.claude/settings.json¶
Pre-configured tool permissions:
| JSON | |
|---|---|
Safe commands auto-approved, destructive commands require confirmation.
.claude/commands/ (6 Custom Commands)¶
/new-api-endpoint- Generate complete FastAPI endpoint/new-component- Create React component with MUI/add-payment-feature- Extend Stripe integration/create-migration- Generate database migration/run-tests- Execute test suite/fix-lint- Auto-fix linting issues
Using Claude Code¶
Basic Workflow¶
Power Features¶
Multi-Claude Workflow:
| Bash | |
|---|---|
Headless Mode (automation):
| Bash | |
|---|---|
CLAUDE.md Contents¶
Key Sections:¶
Project Overview (40 lines): - Full-stack SaaS boilerplate - Stack: FastAPI, React, Stripe, etc. - Architecture overview
Common Commands (100 lines):
- Development: poetry, task, npm
- Database: migrations, superuser creation
- API client generation
- Testing & linting
Core Files (80 lines):
- Backend structure (app/)
- Frontend structure (frontend/src/)
- Configuration files
Code Style (120 lines): - Python patterns (async, type hints, naming) - TypeScript patterns (React.FC, hooks, error handling)
Important Notes (40 lines): - ALWAYS use AsyncSession - NEVER commit sensitive data - ALWAYS regenerate API client after backend changes - Common pitfalls
Read full CLAUDE.md in project root
Customizing CLAUDE.md¶
- Edit
CLAUDE.mdin project root - Add project-specific patterns
- Document custom commands
- Add common gotchas
Tip: Keep under 500 lines for optimal performance.
Related Documentation¶
- Custom Commands - All 6 commands explained
- AI Workflows - Best practices
- Cursor Setup - Alternative AI tool
- Anthropic Best Practices
Files Location¶
CLAUDE.md- Root level.claude/settings.json- Permissions.claude/commands/- Custom slash commandsdocs/claude-workflows/getting-started.md- Detailed guide