FlorianBruniaux/claude-code-ultimate-guide

Master Anthropic's Claude Code CLI in a few hours. Complete guide (8500+ lines): installation, agents, MCP servers, hooks, skills & CI/CD. Interactive knowledge quiz (159 questions). From beginner to power user.

License:GPLLanguage:JavaScript280
agentic-codingai-assistantai-codingai-pair-programminganthropicbest-practicesClaudeclaude-codecli-quizcli-toolcoding-assistantdeveloper-toolsinteractive-learningknowledge-testllmmcp-serversquiztutorial

Deep Analysis

完整的 Claude Code CLI 学习指南,包含 8500+ 行代码,涵盖安装、代理、MCP 服务器、钩子、技能和 CI/CD 集成,附带 159 道知识测验题

Core Features

Technical Implementation

Highlights
  • 8500+ 行完整代码文档
  • 159 道交互式知识测验题覆盖所有指南章节
  • 生产级示例库(14 个钩子、9 个命令、3 个 GitHub Actions 工作流)
  • 为 4 个不同角色定制的学习路径
  • 多种学习格式(快速入门、完整指南、速查表、PDF 导出)
Use Cases
  • 学习 Claude Code CLI 从入门到精通
  • 建立团队的 Claude Code 最佳实践标准
  • 创建自定义代理和技能来自动化工作流
  • 实现安全钩子防止危险操作
  • 在 CI/CD 管道中集成 Claude 代码审查
Limitations
  • 主要面向英文使用者
  • Windows 支持需要 Git Bash
  • 侧重 CLI 使用,不涵盖 Claude.ai Web 界面的所有功能
  • 依赖 Node.js 18+ 和 Anthropic API 密钥
Tech Stack
MarkdownJavaScript/Node.jsBash/ShellYAMLGitHub ActionsTypeScript

Claude Code Guide

License: CC BY-SA 4.0
GitHub stars
Ask Zread


Transparency note: This guide reflects my personal experience after several months of daily Claude Code usage. I'm sharing what I've learned, not claiming expertise. The tool evolves constantly, and so does my understanding. Feedback welcome.


Privacy Notice: Claude Code sends your prompts, file contents, and MCP results to Anthropic servers.


Get Started in 60 Seconds

Option A: One-liner (no clone needed)

claude "Fetch and follow the onboarding instructions from: https://raw.githubusercontent.com/FlorianBruniaux/claude-code-ultimate-guide/main/tools/onboarding-prompt.md"
📸 Preview: Interactive Onboarding Flow
Language selection
1. Choose your language
Goal selection
2. Select your goal
Level selection
3. Pick your experience level
Time selection
4. Set available time

Option B: From cloned repo

  1. Copy the prompt from tools/onboarding-prompt.md
  2. Run claude → Paste → Enter

Claude asks 2-4 questions then guides you through personalized content based on your profile.

Or browse directly: Cheat Sheet | Quick Start | Full Guide


5 Rules to Remember

  1. Review diffs before accepting changes
  2. /compact at 70% context usage (check with /status)
  3. Be specific: WHAT + WHERE + HOW + VERIFY
  4. Plan Mode first for risky/complex tasks (Shift+Tab×2)
  5. Create CLAUDE.md for every project

Choose Your Path

I want to... Go here
Learn step by step Run the onboarding command above
Find something specific Guide Navigation
Test my knowledge Quiz
Fix a problem Troubleshooting

Why This Guide?

Installation, agents, MCP servers, hooks, skills, and CI/CD integration—documented through several months of daily practice. A structured learning journey sharing what I've learned so far.

By Florian BRUNIAUX | Founding Engineer @Méthode Aristote | Connect on LinkedIn

The Problem: Most Claude Code resources are scattered blog posts or dense reference manuals. You're left piecing together workflows and discovering critical concepts too late.

This guide: A structured learning journey with ready-to-use examples. Your mileage will vary—the goal is to save you the exploration time I've already spent.

Traditional Docs This Guide
Lists features Teaches workflows
Reference lookup Progressive learning
Theoretical concepts Production-ready patterns
"Figure it out" "Here's exactly how"

Reading time: The Quick Start takes ~15 minutes. Full guide is ~3 hours but most people read by section as needed.

If this guide saves you hours of trial-and-error, please star it.

Prerequisites


⚡ Audit Your Setup

Already have Claude Code installed? Quickly scan your configuration:

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 tools/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/machine-readable/reference.yaml

Use cases: Paste output into ChatGPT/Claude/Gemini, add to system prompts, or reference in Claude Code with @machine-readable/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: The audit downloads reference files from this repo, then analyzes YOUR local files with your Claude CLI. Your project files are sent only to your Anthropic API endpoint, not 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/machine-readable/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/comma
Highly Recommended
agents

wshobson/agents

wshobson

Intelligent automation and multi-agent orchestration for Claude Code

The most comprehensive Claude Code plugin ecosystem, covering full-stack development scenarios with a three-tier model strategy balancing performance and cost.

25.6k2.8k3 days ago
Highly Recommended
awesome-claude-skills

ComposioHQ/awesome-claude-skills

ComposioHQ

A curated list of awesome Claude Skills, resources, and tools for customizing Claude AI workflows

The most comprehensive Claude Skills resource list; connect-apps is a killer feature.

19.9k2.0k3 days ago
Recommended
oh-my-opencode

code-yeongyu/oh-my-opencode

code-yeongyu

The Best Agent Harness. Meet Sisyphus: The Batteries-Included Agent that codes like you.

Powerful multi-agent coding tool, but note OAuth limitations.

17.5k1.2k3 days ago
Highly Recommended
ui-ux-pro-max-skill

nextlevelbuilder/ui-ux-pro-max-skill

nextlevelbuilder

An AI SKILL that provide design intelligence for building professional UI/UX multiple platforms

Essential for designers; comprehensive UI/UX knowledge base.

15.3k1.5k3 days ago
Recommended
claude-mem

thedotmack/claude-mem

thedotmack

A Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresses it with AI (using Claude's agent-sdk), and injects relevant context back into future sessions.

A practical solution for Claude's memory issues.

14.0k9143 days ago
Highly Recommended
planning-with-files

OthmanAdi/planning-with-files

OthmanAdi

Claude Code skill implementing Manus-style persistent markdown planning — the workflow pattern behind the $2B acquisition.

Context engineering best practices; an open-source implementation of Manus mode.

9.3k8113 days ago