Script: - needs_ssot_refactor flag: warns if CLAUDE.md >100 lines with 0 @refs - Red warning in human output suggesting SSoT pattern Prompt: - Focus on incremental improvements, not generic advice - Stricter health score (penalize missing SSoT) - Domain-specific quick wins only - Improve existing CLAUDE.md instead of full rewrite - Don't suggest duplicates of existing agents/commands Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| examples | ||
| quiz | ||
| .gitignore | ||
| CHANGELOG.md | ||
| cheatsheet-en.md | ||
| claude-code-reference.yaml | ||
| claude-code-ultimate-guide_kimi.pdf | ||
| claude-code-ultimate-guide_notebooklm.pdf | ||
| claude-setup-audit-prompt.md | ||
| CONTRIBUTING.md | ||
| english-ultimate-claude-code-guide.md | ||
| LICENSE | ||
| llms.txt | ||
| README.md | ||
Master Claude Code: The Complete Guide from Beginner to Power User
Transform Anthropic's AI coding CLI into your superpower. 8500+ lines covering installation, agents, MCP servers, hooks, skills, and CI/CD integration—presented as a learning journey, not a reference manual.
By Florian BRUNIAUX | Founding Engineer @Méthode Aristote | Connect on LinkedIn
Why This Guide Exists
The Problem: Most Claude Code resources are either scattered blog posts or dense reference manuals. You're left piecing together workflows, guessing at best practices, and discovering critical concepts too late.
Our Solution: A structured learning journey that takes you from installation to advanced orchestration in hours, not weeks—with ready-to-use examples you can deploy immediately.
What Makes This Different
| Traditional Docs | This Guide |
|---|---|
| Lists features | Teaches workflows |
| Reference lookup | Progressive mastery |
| Theoretical concepts | Production-ready patterns |
| "Figure it out" | "Here's exactly how" |
Your Investment: 45 minutes to productivity. 2 hours to mastery. 8500+ lines organized by learning path, not alphabetically.
If this guide saves you hours of trial-and-error, please star it. Your support helps others discover this resource and motivates continued updates.
Prerequisites
- Node.js 18+ (or use the shell installer on macOS/Linux)
- Anthropic API key — Get one here
- ~$5-20/month typical usage cost (varies with usage intensity)
Start Here: Choose Your Path
🚀 Quick Start (15 minutes)
Goal: Be productive immediately.
# Install (all platforms)
npm install -g @anthropic-ai/claude-code
# Start coding
cd your-project
claude
Learn: Installation Guide → First Workflow → Cheat Sheet
🧭 Not Sure Where to Start?
| If you... | Start here | Time |
|---|---|---|
| Just installed Claude Code | Quick Start | 15 min |
| Want to understand core concepts | Junior Path | 45 min |
| Already use AI coding tools | Senior Path | 40 min |
| Need to configure a team setup | Power User Path | 2h |
| Need to evaluate/approve adoption | PM Path | 20 min |
| Want to check your current setup | Audit Your Setup | 2 sec |
| Want AI assistants to know Claude Code | LLM Reference | 1 curl |
| Want personalized recommendations | Deep Audit | 30 sec |
⚡ Audit Your Setup
Already have Claude Code installed? Scan your configuration in 2 seconds:
curl -sL https://raw.githubusercontent.com/FlorianBruniaux/claude-code-ultimate-guide/main/examples/scripts/audit-scan.sh | bash
Instant checks: Config files, tech stack, extensions, security hooks, MCP servers, CLAUDE.md quality
Want deeper analysis? Use claude-setup-audit-prompt.md for personalized recommendations (~3 min).
🤖 LLM Reference
Give any AI assistant instant Claude Code expertise (~2K tokens):
curl -sL https://raw.githubusercontent.com/FlorianBruniaux/claude-code-ultimate-guide/main/claude-code-reference.yaml
Use cases: Paste output into ChatGPT/Claude/Gemini, add to system prompts, or reference in Claude Code with @claude-code-reference.yaml
What's inside: Decision trees, command reference, context zones, MCP servers, agent templates, troubleshooting—optimized for machine consumption. Points to line numbers in the full guide for deep dives.
🔬 Deep Audit (Personalized Recommendations)
Get a comprehensive, context-aware audit that analyzes your project's README, CLAUDE.md files, and business domain to provide tailored recommendations:
🔒 Privacy: Everything runs locally on your machine. The script only downloads reference files from this repo—your project files (README, CLAUDE.md) are read locally and sent only to your own Claude CLI. Nothing is sent back to this repository or any third party.
Quick Version (~10 sec):
curl -sL https://raw.githubusercontent.com/FlorianBruniaux/claude-code-ultimate-guide/main/examples/scripts/audit-scan.sh | bash -s -- --json | claude -p "Analyze this Claude Code setup. Give: 1) Health score 0-100 2) Top 3 quick wins 3) CLAUDE.md template for detected stack. Be concise."
Full Audit with Context (~30 sec, recommended):
# Claude Code Deep Audit - Context-Aware Version
# Downloads reference files, reads YOUR local files, analyzes with Claude
REF=$(curl -sL https://raw.githubusercontent.com/FlorianBruniaux/claude-code-ultimate-guide/main/claude-code-reference.yaml)
SCAN=$(curl -sL https://raw.githubusercontent.com/FlorianBruniaux/claude-code-ultimate-guide/main/examples/scripts/audit-scan.sh | bash -s -- --json 2>/dev/null)
README_CONTENT=$(head -100 README.md 2>/dev/null || echo "No README.md found")
CLAUDE_MD=$(cat CLAUDE.md 2>/dev/null || echo "No CLAUDE.md found")
LOCAL_CLAUDE_MD=$(cat .claude/CLAUDE.md 2>/dev/null || echo "No .claude/CLAUDE.md found")
claude -p "Reference:
$REF
Scan results:
$SCAN
Project README (first 100 lines):
$README_CONTENT
Project CLAUDE.md:
$CLAUDE_MD
Local .claude/CLAUDE.md:
$LOCAL_CLAUDE_MD
IMPORTANT: Focus on INCREMENTAL improvements to existing setup. Don't suggest creating things that already exist. If CLAUDE.md exists, suggest specific improvements to it rather than a full rewrite.
Based on ALL this context, provide:
1. Stack Recap: runtime, framework, test runner, bundler, database, key integrations detected
2. Health Score (0-100) - be strict: penalize missing SSoT pattern if >100 lines without @refs
3. Findings table: Priority|Element|Status|Action (only gaps, not what exists)
4. Top 3 quick wins (<5 min) - MUST be specific to THIS project's domain (not generic advice)
5. If CLAUDE.md exists: list 3-5 specific improvements (not a full template). If missing: provide ~100 line template
6. Suggested agents/commands/hooks that DON'T duplicate existing ones - check extensions count first
7. Ideas to leverage Claude Code for this specific domain and detected integrations"
What you get:
- Stack recap: Runtime, framework, test runner, bundler, database, and key integrations auto-detected
- Strict health score (penalizes large CLAUDE.md without @refs)
- Incremental improvements: Specific fixes for YOUR setup, not generic advice
- Domain-aware suggestions (e.g., EdTech → session planning agents, E-commerce → inventory commands)
- Non-duplicate suggestions: Only recommends agents/commands you don't already have
Want maximum depth? Use claude-setup-audit-prompt.md with claude --ultrathink
🎯 By Role (Tailored Learning Paths)
|
Junior Developer (45 min to productivity)
|
Senior Developer (40 min to mastery)
|
|
Power User (2 hours for full mastery)
|
Product Manager (20 min overview)
|
📚 Complete Toolkit
Core Documentation
| File | Purpose | Time Investment |
|---|---|---|
| Ultimate Guide | 8500+ lines, 32K+ words, 10 sections | ~3 hours (or by section) |
| Cheat Sheet | 1-page printable reference | 5 minutes |
| LLM Reference | Machine-optimized index (~2K tokens) | For Claude/AI assistants |
| Setup Audit | Optimize your configuration | ~10 minutes |
| Examples Library | Production-ready templates | Browse as needed |
Alternative Formats (Interactive AI, PDFs)
- DeepWiki — AI-powered Q&A, semantic search, instant summaries
- NotebookLM Slides — Visual overview (~20 min)
- Kimi PDF — Full text export (~3 hours)
🎯 Production-Ready Examples
Copy-paste templates from examples/ for immediate use:
Slash Commands
| Command | Purpose | Highlights |
|---|---|---|
| /pr | Create PRs with scope analysis | Complexity scoring, auto-split detection |
| /release-notes | Generate release notes (3 formats) | CHANGELOG + PR body + Slack |
| /sonarqube | Analyze quality issues | Executive summary, action plans |
| /commit | Conventional commits | Follows team conventions |
Security & Automation Hooks
| Hook | Event | Purpose |
|---|---|---|
| dangerous-actions-blocker.sh | PreToolUse | Block rm -rf /, force push, secrets |
| notification.sh | Notification | macOS sound alerts |
| auto-format.sh | PostToolUse | Auto-format with Prettier |
GitHub Actions (CI/CD)
| Workflow | Trigger | Purpose |
|---|---|---|
| claude-pr-auto-review.yml | PR open | Auto code review with inline comments |
| claude-security-review.yml | PR open | Security scan (OWASP Top 10) |
| claude-issue-triage.yml | Issue opened | Auto-triage with labels |
See Complete Catalog — Includes agents, skills, memory templates, config files, workflows
📖 Guide Navigation
Jump directly to any section in the Ultimate Guide:
| Section | After this, you can... | When |
|---|---|---|
| 1. Quick Start | Run Claude Code and complete your first AI-assisted task | Day 1 |
| 2. Core Concepts | Manage context efficiently and avoid common pitfalls | Week 1 |
| 3. Memory & Settings | Create CLAUDE.md files that improve AI responses | First project |
| 4. Agents | Build custom AI personas for specialized workflows | Advanced |
| 5. Skills | Package reusable knowledge modules for your team | Scaling |
| 6. Commands | Create custom slash commands with variable interpolation | Automation |
| 7. Hooks | Automate security checks and formatting on every action | Production |
| 8. MCP Servers | Extend Claude with databases, browsers, and external tools | Extended |
| 9. Advanced Patterns | Orchestrate Trinity workflows and CI/CD pipelines | Power user |
| 10. Reference | Look up commands, shortcuts, and troubleshooting tips | Daily |
🔑 Golden Rules
Master these five principles before diving deeper:
- Always review diffs before accepting changes — Claude suggests, you decide
- Use
/compactbefore context hits 70% — prevention beats recovery - Be specific in requests — Include WHAT, WHERE, HOW, VERIFY
- Start with Plan Mode for risky/complex tasks — read-only exploration first
- Create CLAUDE.md for every project — single source of truth
Context Management Quick Reference:
| Context % | Status | Action |
|---|---|---|
| 0-50% | Green | Work freely |
| 50-70% | Yellow | Be selective |
| 70-90% | Orange | /compact now |
| 90%+ | Red | /clear required |
🌍 About This Guide
Our Philosophy
Learning journey over reference manual. We focus on:
- Understanding why before diving into how
- Real-world patterns you can use immediately
- Progressive complexity — start simple, master advanced at your pace
- Practical workflows over theoretical concepts
Think of this as your mentor for Claude Code mastery — not just documentation.
Origins & Transparency
This guide is the result of several months of daily practice with Claude Code. I don't claim expertise—I'm sharing what I've learned to help peers and evangelize AI-assisted development best practices.
Key Inspirations:
- Claudelog.com — Excellent patterns & tutorials
- zebbern/claude-code-guide — Comprehensive reference with security focus
- ykdojo/claude-code-tips — Practical productivity techniques
Created with Claude Code. Community-validated through contributions and feedback. Found an issue? Report it | Contribute
Windows Users: Most commands work with Git Bash. Use
%USERPROFILE%\.claude\for paths. PowerShell scripts may need adjustment. Report Windows issues | Help improve support
Language & Translation
Written in English for wider reach. French is my native language—I can translate directly or leverage AI + community for other languages. Request translations via issues.
🤝 Contributing
Found an error? Have a suggestion? See CONTRIBUTING.md for guidelines.
Ways to Help:
- Star the repo to increase visibility
- Report issues (especially Windows-specific)
- Submit PRs with corrections or enhancements
- Share your workflows in Discussions
- Request missing topics or examples
📚 Related Resources
Complementary Guides
- zebbern/claude-code-guide — Comprehensive troubleshooting with cybersecurity focus
- Claudelog.com — Tips, patterns, tutorials (highly recommended)
- ykdojo/claude-code-tips — Voice workflows, context management, terminal efficiency
- DeepTo Guide — XML prompts, session continuation, image processing
- Shipyard Cheat Sheet — CLI flags, MCP patterns
Community Collections
- awesome-claude-code — Extensive tool library (19.9k stars)
- awesome-claude-skills — Custom skills
- awesome-claude-code-subagents — Full-stack agents
Frameworks & Advanced Reading
- SuperClaude — Advanced configuration framework
- Nick Tune: Coding Agent Workflows — Autonomous patterns
Official Documentation
- Claude Code Docs — Anthropic official reference
📄 License
Licensed under CC BY-SA 4.0. Free to share and adapt with attribution and same-license distribution.
⭐ Support This Project
If this guide saved you time, helped you master Claude Code, or inspired your workflows:
- Star this repository — Help others discover it
- Share your success stories in Discussions
- Contribute improvements via Pull Requests
- Connect on LinkedIn to discuss AI-assisted development
Version 2.9.9 | January 2026 | Crafted with Claude