claude-code-ultimate-guide/README.md
Florian BRUNIAUX c2de35caba docs: complete Cowork documentation v1.0 (Phase 2)
- Create comprehensive Cowork docs (23 files in cowork/)
  - 6 guides: overview, getting started, capabilities, security, troubleshooting
  - 60+ ready-to-use prompts across 4 categories
  - 5 step-by-step workflows
  - Reference materials: cheatsheet, FAQ, comparison, glossary

- Integrate Perplexity research (P0/P1/P2)
  - Exact error messages with solutions (VPN, Chrome host, context limits)
  - Competitive analysis (vs Copilot/Gemini/ChatGPT/Apple Intelligence)
  - Enterprise validation (TELUS, Rakuten, Zapier stats)
  - OCR accuracy benchmarks (97% field, 63% line-item)
  - Token budget planning per task type

- Document critical limitations
  - VPN incompatibility (#1 community issue)
  - Context limit reality (165K vs 200K theoretical)
  - Platform constraints (macOS only)
  - Usage limits and pricing (Pro $20, Max $100-200)

- Update central files
  - README.md: detailed Cowork section with tables
  - VERSION: 3.9.6 → 3.9.7
  - machine-readable/reference.yaml: add cowork_reference entry
  - machine-readable/cowork-reference.yaml: new LLM-optimized index (~1.5K tokens)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-20 11:23:43 +01:00

17 KiB

Claude Code Guide

Website

Stars Templates Quiz

License: CC BY-SA 4.0 Ask Zread

Complete guide to Claude Code with 60+ production-ready templates


Quick Start

Quickest path: Cheat Sheet — 1 printable page with daily essentials

Interactive onboarding (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"

Browse directly: Full Guide | Examples | Quiz

Prerequisites & Minimal CLAUDE.md Template

Prerequisites: Node.js 18+ | Anthropic API key

# Project: [NAME]

## Tech Stack
- Language: [e.g., TypeScript]
- Framework: [e.g., Next.js 14]
- Testing: [e.g., Vitest]

## Commands
- Build: `npm run build`
- Test: `npm test`
- Lint: `npm run lint`

## Rules
- Run tests before marking tasks complete
- Follow existing code patterns
- Keep commits atomic and conventional

Save as CLAUDE.md in your project root. Claude reads it automatically.


Why This Guide?

The problem: Awesome-lists give links, not learning paths. Official docs are dense. Tutorials get outdated in weeks.

This guide: Structured learning path with 60+ copy-paste templates, from first install to advanced workflows.

Reading time: Quick Start ~15 min. Full guide ~3 hours (most read by section).

By Florian BRUNIAUX | Founding Engineer @Méthode Aristote


🎯 Learning Paths

Junior Developer — Foundation path (7 steps)
  1. Quick Start — Install & first workflow
  2. Essential Commands — The 7 commands
  3. Context Management — Critical concept
  4. Memory Files — Your first CLAUDE.md
  5. Learning with AI — Use AI without becoming dependent
  6. TDD Workflow — Test-first development
  7. Cheat Sheet — Print this
Senior Developer — Intermediate path (6 steps)
  1. Core Concepts — Mental model
  2. Plan Mode — Safe exploration
  3. Methodologies — TDD, SDD, BDD reference
  4. Agents — Custom AI personas
  5. Hooks — Event automation
  6. CI/CD Integration — Pipelines
Power User — Comprehensive path (7 steps)
  1. Complete Guide — End-to-end
  2. Architecture — How Claude Code works
  3. Security Hardening — MCP vetting, injection defense
  4. MCP Servers — Extended capabilities
  5. Trinity Pattern — Advanced workflows
  6. Observability — Monitor costs & sessions
  7. Examples — Production templates
Product Manager — Overview path (5 steps)
  1. What's Inside — Scope
  2. Golden Rules — Key principles
  3. Data Privacy — Retention & compliance
  4. Adoption Approaches — Team strategies
  5. Context Management — Why it matters

📚 What's Inside

Core Documentation

File Purpose Time
Ultimate Guide Complete reference, 10 sections ~3 hours
Cheat Sheet 1-page printable reference 5 min
Architecture How Claude Code works internally 25 min
Methodologies TDD, SDD, BDD reference 20 min
Workflows Practical guides (TDD, Plan-Driven) 30 min
Data Privacy Retention & compliance 10 min
Security Hardening MCP vetting, injection defense 25 min
Claude Code Releases Official release history 10 min
Repository Structure
claude-code-ultimate-guide/
├── guide/                    # 📖 Core documentation
│   ├── ultimate-guide.md     # Complete reference (~11100 lines)
│   ├── cheatsheet.md         # 1-page printable reference
│   ├── architecture.md       # How Claude Code works internally
│   ├── methodologies.md      # 15 development methodologies
│   └── workflows/            # TDD, SDD, Plan-Driven guides
│
├── examples/                 # 📦 Production templates
│   ├── agents/               # Custom AI personas
│   ├── commands/             # Slash commands (/pr, /commit...)
│   ├── hooks/                # Security & automation (bash + PS)
│   ├── skills/               # Knowledge modules
│   └── scripts/              # Utility scripts
│
├── tools/                    # 🔧 Interactive utilities
│   ├── audit-prompt.md       # Setup audit
│   └── onboarding-prompt.md  # Personalized guided tour
│
├── machine-readable/         # 🤖 LLM/AI consumption
│   ├── reference.yaml        # Structured index (~2K tokens)
│   └── llms.txt              # Standard LLM context file
│
└── quiz/                     # 🧠 Interactive quiz (227 questions)
Examples Library (61 templates)

Slash Commands (18): /pr, /commit, /release-notes, /diagnose, /security, /refactor, /explain, /optimize, /ship...

Security Hooks (15): dangerous-actions-blocker, prompt-injection-detector, unicode-injection-scanner, output-secrets-scanner...

Utility Scripts: session-search.sh, audit-scan.sh

GitHub Actions: claude-pr-auto-review.yml, claude-security-review.yml, claude-issue-triage.yml

Browse Complete Catalog | Interactive Catalog

Knowledge Quiz (227 questions)

Test your Claude Code knowledge with an interactive CLI quiz covering all guide sections.

cd quiz && npm install && npm start

Features: 4 profiles (Junior/Senior/Power User/PM), 10 topic categories, immediate feedback with doc links, score tracking with weak area identification.

Quiz Documentation | Contribute Questions

Audit Tools

Quick scan (~2s):

curl -sL https://raw.githubusercontent.com/FlorianBruniaux/claude-code-ultimate-guide/main/examples/scripts/audit-scan.sh | bash

Deep audit with personalized recommendations: tools/audit-prompt.md

For AI Assistants (LLM-optimized)
Resource Purpose Tokens
llms.txt Standard context file ~1K
reference.yaml Structured index with line numbers ~2K

Quick load: curl -sL https://raw.githubusercontent.com/FlorianBruniaux/claude-code-ultimate-guide/main/machine-readable/reference.yaml

Alternative Formats

🔑 Golden Rules

  1. Always review diffs before accepting changes — Claude suggests, you decide
  2. Use /compact before context hits 70% — prevention beats recovery
  3. Be specific in requests — Include WHAT, WHERE, HOW, VERIFY
  4. Start with Plan Mode for risky/complex tasks — read-only exploration first
  5. Create CLAUDE.md for every project — single source of truth

Context management is critical. See the Cheat Sheet for thresholds and actions.


🌍 About

Origins & Philosophy

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.

Philosophy: Learning journey over reference manual. Understanding why before how. Progressive complexity — start simple, master advanced at your pace.

Created with Claude Code. Community-validated through contributions and feedback.

Key Inspirations:

Privacy & Data

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

Claude Cowork (for Non-Developers)

Cowork is Claude's agentic desktop feature for knowledge workers — same AI, files-only interface.

📦 Complete Documentation (23 files, v1.0):

Guide Description
Hub Complete documentation index
Getting Started Setup, first workflow, CTOC framework
Capabilities What Cowork can/cannot do
Security Safe usage practices
Troubleshooting Error messages + solutions
Cheatsheet 1-page printable reference
FAQ 20+ frequently asked questions
Comparison Cowork vs Copilot/Gemini/ChatGPT

📝 Ready-to-Use Prompts (60+):

🔧 Workflows (5 guides):

  • File organization, expense tracking, report synthesis, meeting prep, team handoff

Status: Research preview (Pro $20/mo or Max $100-200/mo, macOS only, VPN incompatible)

New in v1.0: Exact error messages, competitive matrix, enterprise validation, token budgets, VPN issue documentation

Ecosystem & Related Resources

Complementary guides:

Community: 🇫🇷 Dev With AI — 1500+ devs on Slack, meetups in Paris, Bordeaux, Lyon

Official docs: docs.anthropic.com/claude-code

Windows & Translation

Windows Users: Most commands work with Git Bash. Use %USERPROFILE%\.claude\ for paths. Report issues

Language: Written in English for wider reach. French is my native language. Request translations via issues.


🤝 Contributing

Found an error? Have a suggestion? See CONTRIBUTING.md.

Ways to Help: Star the repo • Report issues • Submit PRs • Share workflows in Discussions


📄 License & Support

Licensed under CC BY-SA 4.0. Free to share and adapt with attribution.

Stay Updated: Watch releases | Discussions | Connect on LinkedIn


Version 3.9.7 | January 2026 | Crafted with Claude