|| अलख निरंजन ||
कोई न जाये यहाँ से खाली हाथ, यहाँ बसते हैं सदगुरु नवनाथ।
देना हर काम में साथ सदगुरु नवनाथ.
💬 General Questions
? What exactly is Claude Code?
Claude Code is an AI-powered development assistant that lives in your terminal and IDE. It understands your entire codebase and can:
  • Create new files and edit existing ones
  • Work across multiple files simultaneously
  • Run tests and commands
  • Manage git workflows
  • All through natural language commands
Unlike autocomplete tools like Copilot, it can plan and execute complete features, not just suggest the next line of code. It's an "agent" — it plans, executes, and verifies.
? Will Claude Code replace developers?
No. Claude Code is designed to augment developers, not replace them:
  • Handles routine coding tasks (boilerplate, scaffolding)
  • Executes your vision — it doesn't create the vision
  • You maintain full control and oversight
  • You review all changes before committing
  • Architecture, decisions, and quality gates remain your responsibility
  • Developers now focus on higher-level work: design, planning, orchestration
Think of it as expanding what one developer can accomplish, not eliminating developers.
? Is it safe to use in production?
Yes, when used properly. Key safety measures:
  • You review all code before it's committed
  • Your testing and CI/CD pipelines still apply
  • Code is yours — you control all quality gates
  • Security reviews remain your responsibility
  • Integration with existing workflows is seamless
Production safety depends on your oversight — just like any code your team writes.
? Can it work with our existing tech stack?
Yes — any language or framework. Including:
  • React Native, Flutter, Android (Kotlin), iOS (Swift/SwiftUI)
  • TypeScript, JavaScript, Kotlin, Swift, Java, Python, Go, Rust, and more
  • Custom tooling and internal libraries
The better you document your patterns in CLAUDE.md, the better it works with your specific stack.
? How much does Claude Code cost?
Two options:
  • Claude Pro Subscription — $20/month, straightforward, unlimited within plan limits
  • Anthropic Console API Key — pay per token, more transparent, suitable for organizations
Check current pricing at anthropic.com. Far cheaper than the developer time it saves.
? Can it work offline?
No. Claude Code requires an internet connection to communicate with the Claude API. However:
  • Works with any standard internet connection
  • No VPN or special firewall setup typically needed
  • Can work with corporate proxies
  • Bandwidth usage is minimal
? How does it handle large codebases?
Claude Code handles large codebases well:
  • Builds context gradually from file structure and contents
  • Understands interdependencies between modules
  • Focuses on files relevant to the current task
  • CLAUDE.md helps guide decision-making for your specific patterns
Tip: Work on feature branches and let Claude focus on one feature at a time for best results.
? What about legacy code?
Works great with legacy code:
  • Can understand older patterns and paradigms
  • Helps gradually modernize — incrementally, not all-at-once
  • Maintains consistency with existing code style
  • Can add tests to untested legacy code
  • Can refactor incrementally without breaking working functionality
Perfect for "we have 10-year-old code and need to add features safely."
🔧 Setup & Installation
? I got an error during installation — what should I do?
Check your error against these common issues:
  • Windows "token '&&' not valid": You're in CMD, not PowerShell. Open Windows PowerShell instead.
  • macOS "Permission denied": Use nvm to install Node.js, or use Homebrew (handles permissions correctly).
  • Linux "command not found": Installation may not have completed. Restart terminal and check PATH variable.
  • "Connection refused": Check internet connection and verify your firewall isn't blocking the install.
? How do I update Claude Code?
brew upgrade claude-code         # Homebrew (macOS)
winget upgrade Anthropic.ClaudeCode  # Windows WinGet
apt upgrade claude-code          # Debian/Ubuntu
dnf upgrade claude-code           # Fedora/RHEL
Keep Claude Code updated for the latest features and security fixes.
? I forgot my login — how do I authenticate again?
Claude Code uses browser-based authentication:
  1. Run: claude
  2. Browser opens automatically
  3. Log in with your Anthropic account
  4. Return to terminal — you're logged in
  5. This only needs to happen once per machine
To log out manually: claude --logout
⚡ Usage Questions
? How specific do my prompts need to be?
It depends on task complexity:
  • Simple tasks (vague is OK): "Create a button component" · "Add a logout button" · "Fix this error [with error message]"
  • Complex tasks (be specific):
"Create a settings screen with:
- Dark mode toggle with Redux persistence
- Notification preferences (push, email, SMS)
- Language selection with i18n
- Save to backend API
- Handle all error cases
- Include accessibility labels"
General rule: The more specific, the fewer revisions you'll need.
? What if I don't like what Claude Code generated?
You have many options:
  • Ask for changes: "Use TypeScript interfaces instead of types" · "Make the styling consistent with our theme"
  • Iterate: "Simplify this implementation" · "Add comments to explain the logic"
  • Start over: Delete generated files, ask again with a better/different prompt
  • Manual edit: Edit the generated code yourself — you have full control
The key is: it's collaborative. Keep iterating until you're satisfied.
? How do I know what Claude Code will do before it does it?
Claude Code shows a plan first:
  1. You make a request
  2. Claude Code displays "Here's my plan:"
  3. You review the approach
  4. You approve, reject, or request changes
  5. Only then does Claude Code execute
This gives you a chance to catch misunderstandings before any files are changed.
? Can Claude Code modify my git history?
No. Claude Code works with:
  • ✓ Creating new branches
  • ✓ Making new commits
  • ✓ Pushing to remote
  • ✓ Opening PRs
But it cannot:
  • ✗ Rewrite existing git history
  • ✗ Force push
  • ✗ Delete remote branches
Safe by design.
👥 Team & Organization Questions
? How do we ensure code quality with Claude Code?
Your existing quality gates still apply — Claude Code doesn't bypass them:
Code Generation → Code Review → Testing → Linting → CI/CD → Deploy
  • Manual code review (now also AI-assisted)
  • Automated tests (now potentially more comprehensive)
  • Linting and formatting (checked before commit)
  • CI/CD pipelines (completely unchanged)
  • Security scans (unchanged)
? How do we manage different code styles on the team?
Create and maintain a shared CLAUDE.md file in your repository:
# Code Standards
- Components: PascalCase
- Functions: camelCase
- Always use TypeScript
- Redux for global state
- Jest for testing
- ESLint config at root
Claude Code will follow these patterns consistently. Update CLAUDE.md as your standards evolve — commit it to the repo so all teammates benefit.
? Can junior developers use Claude Code?
Yes — with great benefits:
  • Faster learning: See working, pattern-correct code generated
  • More independence: Can tackle tasks without waiting for senior review on every decision
  • Fewer blockers: Don't need expert help for every implementation detail
  • Knowledge transfer: Generated code teaches architectural patterns
Guidelines for juniors: Still require full code review · Start with smaller tasks · Ask questions about generated code · Build understanding over time. Claude Code actually accelerates junior developer growth.
? What about IP and code ownership?
You own all generated code:
  • Generated code is yours to use however you want
  • Modify or delete as needed — no restrictions
  • No licensing conflicts with your project
  • No sharing requirements with Anthropic
  • Deploy to production with full confidence
You control everything. The code is indistinguishable from code you wrote yourself.
? How do we measure productivity gains?
Track these metrics:
  • Velocity: Features per week, story points completed, time per task
  • Quality: Test coverage %, bugs per release, code review time
  • Experience: Developer satisfaction, onboarding time, knowledge sharing
Realistic expectations:
  • Week 1: 10–15% gain (learning curve)
  • Week 2–4: 40–60% gain (integration phase)
  • Month 2+: 60–80% gain (mastery phase)
🔒 Security Questions
? Where does my code go when I use Claude Code?
Claude Code sends to Anthropic servers:
  • Your natural language prompt
  • Code context (only files Claude needs to understand the task)
  • Error messages (for debugging)
Claude Code does NOT send:
  • ✓ Your entire codebase (only relevant files)
  • ✓ API keys or secrets (you use environment variables)
  • ✓ Private or sensitive data
All generated code stays on your machine. Anthropic servers do not permanently store your code.
? How do I keep API keys and credentials safe?
Always use environment variables:
// ✓ Good
const API_KEY = process.env.STRIPE_API_KEY;
const DB_PASSWORD = process.env.DB_PASSWORD;

// ✗ Never do this
const API_KEY = "sk_live_abc123xyz";
const DB_PASSWORD = "myPassword123";
Claude Code understands this pattern and will always follow it in generated code. Use .env files locally and a proper secret manager (AWS Secrets Manager, HashiCorp Vault) in production.
? What about security of generated code?
Claude Code understands security and will:
  • ✓ Not intentionally create security vulnerabilities
  • ✓ Follow proper authentication patterns
  • ✓ Recommend environment variables for secrets
  • ✓ Validate input and handle errors gracefully
But you should still:
  • Review all generated code before committing
  • Run your security scanning tools
  • Implement your security review gates
  • Never blind-trust any code — AI-generated or otherwise
Security responsibility remains with your team.
? Is my code private / confidential?
  • Your Local Machine: Code stays on your machine. Claude Code executes locally with full visibility.
  • Anthropic Servers: Only receives prompts and code context needed. Not used for training without permission.
  • Enterprise: Can use Anthropic Console with private deployments where code never leaves your infrastructure.
Check Anthropic's current privacy policy at anthropic.com for exact details and enterprise options.
🚀 Advanced Questions
? Can Claude Code integrate with our internal tools and APIs?
Yes, through MCP (Model Context Protocol). Supported integrations:
  • Google Drive (access design docs, specifications)
  • Slack (retrieve context, post updates)
  • Jira (manage issues and requirements)
  • Custom MCP servers for your internal tools
Example: "Create a feature based on the Jira ticket I just linked"
? What models does Claude Code use?
Claude Code uses Claude Sonnet by default — the latest and most capable model optimized for agentic coding tasks. You don't need to configure this manually. The model is automatically updated as newer versions are released. For enterprise, you can configure specific model versions via Anthropic Console.
? Can I customize Claude Code's behavior?
Yes, through CLAUDE.md:
# Guidelines
- Use TypeScript always
- Redux for state, not Context
- Tests for all business logic
- ESLint strict mode
- No console.log in production
- Components: PascalCase
No code-level customization or configuration files needed. Well-written CLAUDE.md guidelines produce consistently excellent results.
🆘 Troubleshooting Scenarios
! Claude Code doesn't understand my project
Create or update CLAUDE.md with:
# Project Structure
/src/screens    - React Native screens
/src/components - Reusable components
/src/services   - API calls and utilities
/src/redux      - Redux slices

# Stack
React Native + TypeScript + Redux + Jest

# Patterns
- Use Redux selectors (not direct state access)
- Custom hooks for logic extraction
- API calls in services layer only
This "teaches" Claude Code about your specific project structure and conventions.
! Generated code doesn't match our style
Add style rules to CLAUDE.md:
# Code Style
- 2-space indentation (not 4)
- Always use const (not let)
- Semicolons required
- Trailing commas in objects
- Max line length: 100 characters

# Component Pattern
- Functional components only
- Props destructured in signature
- TypeScript interfaces required
More specific rules = better matching results.
! Tests are failing after Claude Code changes
Simply ask Claude Code to fix them:
"Fix the failing tests that were broken by these changes"
OR
"Run tests and show me what's failing, then fix them"
Claude Code can diagnose and fix its own generated code. This is an expected part of the iteration cycle — first pass isn't always perfect, and that's fine.
! "Model is unavailable" error
Usually means one of:
  • API is temporarily down (rare, usually brief)
  • Your authentication expired
  • No internet connection
  • Rate limit reached
Solution steps:
  1. Check internet connection
  2. Try logging in again: claude --logout then claude
  3. Wait a moment and retry
  4. Check status at: anthropicstatus.com
! Claude Code is running slowly
Try these optimizations:
  • Check internet speed — Claude Code is API-dependent
  • Break large tasks into smaller, focused requests
  • Work on feature branches with focused scope
  • Let it build context gradually — first request in a project takes longer
  • Close other heavy applications consuming bandwidth
📊 Troubleshooting Flowchart
Problem? ├─ Installation Error │ ├─ PowerShell/CMD? → Use PowerShell │ ├─ macOS Permission? → Use nvm or brew │ └─ Linux? → Check PATH and reinstall │ ├─ Login Issues │ ├─ Browser won't open? → claude --logout then claude │ ├─ Connection error? → Check internet connection │ └─ Still broken? → Clear ~/.claude directory │ ├─ Generation Issues │ ├─ Wrong output? → More specific prompt │ ├─ Doesn't understand project? → Create CLAUDE.md │ ├─ Wrong code style? → Update CLAUDE.md │ └─ Code doesn't work? → Share error with Claude Code │ ├─ Performance Issues │ ├─ Too slow? → Check internet speed │ ├─ Errors? → Use smaller, focused tasks │ └─ Crashes? → Restart terminal, try again │ └─ Security Concerns ├─ Code privacy? → Read Anthropic privacy policy ├─ API key exposed? → Rotate immediately └─ Suspicious activity? → Contact support
☎️ When to Escalate

Contact support if you experience:

  • Claude Code crashes repeatedly after troubleshooting
  • Authentication issues that persist despite re-login
  • API errors that continue after following troubleshooting steps
  • Unexpected behavior patterns that seem like bugs
  • Security concerns about generated code or data handling
📋 Quick Reference → 📄 Syllabus 🖼️ Slides