30+ commands, best practices, CLAUDE.md template, example prompts, and troubleshooting — all in one place.
Choose your platform and be up and running in minutes.
brew install anthropic/brew/claude-code cd ~/your/mobile/app claude # Follow browser login prompt
irm https://install.anthropic.com | iex # NOTE: Use PowerShell NOT CMD! # CMD will show && token error
curl -sL https://install.anthropic.com | bash # OR package managers: sudo apt install claude-code sudo dnf install claude-code
Natural language commands organized by category — copy and paste these as starting points.
Follow these checks to get the best results from Claude Code consistently.
Copy this into your project root and customize for your team. Claude Code reads this every session.
Total time: 25–45 minutes vs. 2–4 hours manually.
What do I want to build? Clear requirements, acceptance criteria, dependencies.
"Build [feature] with [requirements]" — be specific about what you need.
Claude Code shows its approach. Approve, reject, or request changes before any execution.
Claude Code creates/edits files across your project, maintains consistency, runs tests.
Check code quality, style consistency, test results, no breaking changes, security.
"Can you adjust [component] to [requirement]?" — refine until satisfied.
"Commit and push these changes" — or commit manually when satisfied.
A structured approach to fixing bugs with Claude Code.
Error message, full stack trace, steps to reproduce, platform (iOS / Android).
Understand what broke, verify the fix addresses root cause, check for side effects.
Run affected tests, test on both iOS and Android, verify the full flow works end-to-end.
Critical security practices when using AI-assisted code generation.
const API_KEY = "sk_live_abc123xyz";
const DB_PASS = "myPassword123";
const API_KEY = process.env.STRIPE_API_KEY;
const DB_PASS = process.env.DB_PASSWORD;
Use these as templates — adapt to your project's specific needs.
"Create a complete authentication system with: - Login screen with email/password validation - Signup screen with password strength indicator - JWT token management - Redux store for auth state - API integration - Error handling for auth failures - Logout functionality - Automatic token refresh"
"Build a user list screen that: - Shows users in a scrollable list - Implements pagination (10 items per page) - Has search/filter functionality - Shows loading and empty states - Handles network errors - Has pull-to-refresh - Uses FlatList for performance"
"Add image upload feature: - Image picker integration - Preview before upload - Loading state during upload - Error handling for large files - Resize optimization - Display success/error messages - Store image URL in Redux"
"Optimize the ProductList component: - It's re-rendering too often - Current performance: 2000ms for 50 items - Use FlatList instead of ScrollView - Implement item memoization - Add virtual scrolling - Target: 500ms for 50 items with smooth scrolling"
"Fix navigation inconsistency: - Works correctly on iOS - Broken on Android (back button doesn't work) - Use platform-specific handling where needed - Test on both platforms - Ensure consistent UX across devices"
Complete these in order during the hands-on lab session.
claude, ask "What does this project do?" and observe understanding.Common issues and how to resolve them in under 2 minutes.