Claude Code Guide

The complete guide to Claude Code setup. 100+ hours saved. 370x optimization. Production-tested patterns for skills, hooks, and MCP integration.

View the Project on GitHub ytrofr/claude-code-guide

Quick Start - Claude Code in 30 Minutes

Get productive with Claude Code immediately

This quick-start guide gets you from zero to a working Claude Code setup in 30 minutes. You will install Claude Code, configure project context via CLAUDE.md, set up hooks for workflow automation, and connect MCP servers for external tool integration.


What is Claude Code?

Claude Code is Claude’s official CLI tool that provides:

vs Regular Claude: Web chat forgets everything between sessions. Claude Code maintains project context forever.


Prerequisites (5 min)

1. Install Claude Code

# Follow official installation
# https://claude.com/claude-code

2. Verify Prerequisites

# Check installations
claude-code --version   # Should show version
git --version           # Should show version
node --version          # Should show v18+
npx --version           # Should show version
jq --version            # Should show version (or install: brew install jq)

Quick Setup (30 min)

Three Paths - Choose One:

# 1. Clone this guide
git clone https://github.com/YOUR_USERNAME/claude-code-guide
cd claude-code-guide

# 2. Navigate to your project
cd ~/my-project

# 3. Run wizard
bash ../claude-code-guide/scripts/setup-wizard.sh
# Follow prompts (10-15 min)

# 4. Validate
../claude-code-guide/scripts/validate-setup.sh

Path B: Manual Template Copy

# 1. Copy template
cp -r claude-code-guide/template/.claude ~/my-project/
cp -r claude-code-guide/template/memory-bank ~/my-project/

# 2. Customize (10 min)
cd ~/my-project
# - Rename .template files
# - Replace [PLACEHOLDERS]
# - Add GitHub token

# 3. Install skills (2 min)
cp .claude/skills/starter/*.md ~/.claude/skills/

# 4. Validate (2 min)
../claude-code-guide/scripts/validate-setup.sh

Path C: From Scratch (Learning Experience)

Follow the detailed guide: → docs/guide/02-minimal-setup.md


Verify Setup Works

Start Claude Code

cd ~/my-project
claude-code

Test Basic Functionality

Ask Claude these questions:

1. "What are my core patterns?"
   ✅ Should reference CORE-PATTERNS.md

2. "What's the current feature status?"
   ✅ Should read system-status.json

3. "List my GitHub repositories"
   ✅ Should use GitHub MCP (if configured)

4. "I'm getting a database connection error"
   ✅ Should reference troubleshooting-decision-tree-skill (if installed)

All working? Setup is complete! 🎉


What You Just Created

Configuration

Skills (in ~/.claude/skills/)

Tools


Immediate Benefits

You can now:


Next Steps (Optional)

Week 1: Add More Value (2-3 hours)

→ See guide/03-phase-1-essential.md

Week 2-3: Specialized Workflows (4-6 hours)

→ See guide/04-phase-2-productive.md

Month 2+: Full Ecosystem

→ See guide/05-phase-3-advanced.md


Troubleshooting

Setup Issues

Problem: Validation fails Solution: Check error output, fix specific issues, run again

Problem: Claude doesn’t load patterns Solution: Verify file paths in .claude/CLAUDE.md start with @memory-bank/

Problem: MCP not connecting Solution: Run ./scripts/check-mcp.sh for detailed diagnostics

Getting Help


Success Checklist

All checked? You’re ready to be productive with Claude Code! 🚀


Quick Start: 30-minute path to productive Claude Code Next: Complete Guide for advanced features Help: Troubleshooting