Skip to content

CodeWithBehnam/cc-docs

Claude Code

Auto-updated mirror of the Claude Code documentation, sourced from code.claude.com/docs/en/

Browse all 666 resources on the web

Docs Sync Last Commit License 65+ Doc Pages 64 Cheatsheets 33 Templates 237 Skills 197 Agents 112 Commands 108 Hook Scripts 11 Output Styles 8 Rules Hourly Updates


Last docs pull: 2026-04-29 18:38 UTC / 11:38 PT / 14:38 ET / 20:38 CET / 00:08+1 IST / 03:38+1 JST

A GitHub Actions workflow runs every hour, downloads the latest docs, and commits any changes automatically.

What's Included

Folder Contents
claude-code-docs/ 65+ full doc pages mirrored from code.claude.com/docs
cheatsheets/ 64 scannable quick-reference sheets (one per doc page)
templates/ 33 copy-paste-able templates across 9 categories
skills/ 237 skills - 15 core + 222 community skills in 16 categories
agents/ 197 agents - 12 core + 185 community agents in 14 categories
commands/ 112 commands - 12 core + 100 community commands in 12 categories
hooks/ 108 hooks - 10 core scripts + 98 community hooks (6 categories + Python hooks mastery)
output-styles/ 11 drop-in output style configurations for Claude Code
rules/ 8 language-specific coding rules (.claude/rules/) for TypeScript, Python, Go, and more
tips/ 7 curated tips files covering productivity, prompting, debugging, cost optimization
guides/ 7 step-by-step workflow guides (TDD, security audit, onboarding, CI/CD setup)
awesome.md Curated list of the best Claude Code resources, plugins, and tools

Documentation

The claude-code-docs/ folder contains the complete official Claude Code documentation - 65+ pages mirrored from code.claude.com/docs and updated hourly. These are the full, unabridged docs with all details, examples, and edge cases.

Start here if you're new: overview -> quickstart -> best-practices

Getting Started (4 pages) - Install, understand, get productive
Doc What You'll Learn
overview What Claude Code is, key capabilities, agentic coding workflow
quickstart Install, authenticate, first session, essential slash commands
setup Advanced install options, shell completion, system requirements, updating
how-claude-code-works Architecture deep dive: agentic loop, context management, tool execution
Core Usage (10 pages) - Daily workflow, commands, shortcuts
Doc What You'll Learn
interactive-mode REPL interface, slash commands, @-mentions, multi-turn conversations
cli-reference Every CLI flag, option, and command with examples
commands All slash commands: /help, /model, /permissions, /memory, and more
common-workflows Explore-fix, refactor, test, PR creation, plan mode, session management
best-practices Verification strategies, prompt techniques, CLAUDE.md tips, multi-session patterns
code-review Managed review service, multi-agent review, REVIEW.md, trigger modes
keybindings Keyboard shortcuts and custom keybinding configuration
fast-mode Faster output with same model, toggle behavior
output-styles Output formatting: markdown rendering, verbosity, width control
terminal-config Terminal optimization: fonts, colors, Unicode support, recommended terminals
Memory & Settings (6 pages) - Configuration, permissions, environment
Doc What You'll Learn
memory CLAUDE.md files, path-specific rules, auto-memory, imports, organization-wide policies
settings All config options, settings scopes (user/project/managed), precedence rules
model-config Model aliases (opus/sonnet/haiku), effort levels, extended context (1M), switching
permissions Permission modes, allow/deny/ask rules, wildcard patterns, file path restrictions
env-vars Every environment variable: auth, proxy, debug, model overrides, feature flags
statusline Customize the status bar: model, cost, token count, session info
Extensibility (11 pages) - Skills, hooks, MCP, plugins, agents
Doc What You'll Learn
features-overview Extension architecture overview: how skills, hooks, MCP, agents, and plugins layer
skills Create slash commands with frontmatter, templates, scripts, invocation control
sub-agents Create specialized agents with restricted tools, memory, isolation, hooks
agent-teams Multi-agent coordination, parallel exploration, task dependencies, quality gates
plugins Create plugins bundling skills, agents, hooks, MCP, and LSP servers
plugins-reference Plugin manifest schema, component types, CLI commands, lifecycle
discover-plugins Find and install community plugins, marketplace browsing
plugin-marketplaces Create and host plugin marketplaces for distribution
hooks Hook events reference, types (command/prompt/agent), exit codes, matchers, JSON output
hooks-guide Practical recipes: auto-format, file protection, notifications, verification
mcp Connect external tools via MCP: setup, .mcp.json, OAuth, popular integrations
IDE Integrations (6 pages) - VS Code, JetBrains, Chrome, Desktop, Web
Doc What You'll Learn
vs-code VS Code extension: inline chat, terminal integration, keybindings
jetbrains JetBrains plugin: IntelliJ, PyCharm, WebStorm, and other IDEs
chrome Chrome extension for web-based Claude Code (beta)
desktop Desktop app: features, configuration, native integration
desktop-quickstart Get running with the desktop app in minutes
claude-code-on-the-web Browser-based Claude Code experience
CI/CD & Automation (6 pages) - GitHub Actions, GitLab, headless, Slack
Doc What You'll Learn
headless Non-interactive mode: -p flag, JSON output, streaming, JSON schema validation
github-actions claude-code-action: PR review, issue implementation, triggers, Bedrock/Vertex
gitlab-ci-cd GitLab CI pipelines: MR review, comment triggers, OIDC auth, MCP integration
remote-control Access local sessions from phone/tablet/browser, server mode, QR codes
scheduled-tasks /loop for recurring tasks, cron scheduling, reminders, skill re-invocation
slack Slack integration: coding tasks from channels, status updates, PR creation
Cloud Providers (4 pages) - Bedrock, Vertex AI, Foundry, gateways
Doc What You'll Learn
amazon-bedrock AWS Bedrock setup: credentials, SSO, cross-region inference, guardrails, IAM
google-vertex-ai Google Vertex AI setup: gcloud auth, regions, 1M context, model pinning
microsoft-foundry Microsoft Foundry integration and configuration
llm-gateway LLM gateway proxies: LiteLLM, key rotation, multi-provider routing, audit
Enterprise & Security (9 pages) - Auth, sandboxing, compliance, privacy
Doc What You'll Learn
authentication Auth methods: API keys, OAuth, SSO, token management
security Security model, permission system, threat mitigations, safe practices
sandboxing OS-level isolation: filesystem rules, network restrictions, sandbox modes
network-config Proxy setup, custom CA certificates, mTLS, credential refresh, domain allowlist
server-managed-settings Org-wide settings delivery, policy enforcement, model restrictions (Teams/Enterprise)
third-party-integrations Enterprise deployment options and partner integrations
data-usage What data is collected, how it's used, privacy controls
zero-data-retention ZDR configuration, verification, and limitations
legal-and-compliance Compliance certifications, data processing terms
Operations (6 pages) - Costs, monitoring, debugging, containers
Doc What You'll Learn
costs Cost tracking, budget limits (--max-budget-usd), optimization strategies
analytics Team usage analytics dashboard, reports, tracking
monitoring-usage Usage metrics, API monitoring, performance tracking
checkpointing Auto-checkpoints, /rewind, restore options, session forking, summarization
devcontainer Dev container setup with pre-configured security, firewall, isolation
troubleshooting Common errors, diagnostic commands, fixes, debug mode
Reference (3 pages)
Doc What You'll Learn
tools-reference Every built-in tool: Read, Edit, Bash, Grep, Glob, Agent, and more
changelog Full release history with features, fixes, and breaking changes
llms.txt Raw doc index used by the download script

Cheatsheets

The cheatsheets/ folder has 64 quick-reference sheets - one for every doc page. Each distills the full documentation into scannable tables, essential commands, config snippets, and common gotchas. Perfect for when you know what you need but want the answer fast.

Full docs give you the complete picture. Cheatsheets give you the answer in 30 seconds.

Getting Started (5 sheets)
Cheatsheet Key Content
overview What Claude Code is, key capabilities, how it differs from other tools
quickstart Install command, first run, essential keybindings
setup System requirements, install methods, shell completion, updating
authentication Auth methods, API keys, OAuth, token management
features-overview Extension points at a glance: skills, hooks, MCP, agents, plugins
Usage (5 sheets) - Commands, workflows, keyboard shortcuts
Cheatsheet Key Content
interactive-mode REPL commands, slash commands, context management, multi-turn patterns
cli-reference All CLI flags and options in one table
commands Every slash command with description and usage
keybindings Keyboard shortcuts, custom keybinding config
common-workflows Explore-fix, refactor, test, PR creation, session management recipes
Configuration (9 sheets) - Settings, permissions, environment, models
Cheatsheet Key Content
settings Settings file locations, scopes, precedence, all config keys
env-vars Every environment variable with description and default
memory CLAUDE.md structure, path-specific rules, auto-memory, imports
permissions Permission modes, rule syntax, wildcard patterns, file path patterns
model-config Model aliases, effort levels, extended context, model switching
output-styles Output formatting options, verbosity levels
fast-mode Fast mode toggle, behavior differences
statusline Status line customization options
server-managed-settings Org-wide settings delivery, policy enforcement
Extensions (8 sheets) - Hooks, MCP, plugins, skills
Cheatsheet Key Content
hooks All hook events, types, exit codes, JSON output format, matchers
hooks-guide Practical hook recipes: formatters, protectors, verifiers
mcp MCP server setup, .mcp.json format, popular integrations
plugins Plugin structure, manifest format, installation, testing
plugins-reference Plugin API details, component types, CLI commands
discover-plugins Finding and installing community plugins
plugin-marketplaces Creating and distributing plugin marketplaces
skills Skill frontmatter, invocation control, string substitutions
Agents (5 sheets) - Subagents, teams, headless, scheduling
Cheatsheet Key Content
sub-agents Agent frontmatter, tool access, memory, isolation modes
agent-teams Multi-agent coordination, task lists, display modes, quality gates
headless Non-interactive mode, JSON output, streaming, session continuation
remote-control Remote access, server mode, QR codes, concurrent sessions
scheduled-tasks /loop syntax, cron expressions, reminders, task management
IDEs & Platforms (7 sheets)
Cheatsheet Key Content
vs-code VS Code integration, keybindings, panel usage
jetbrains JetBrains IDE integration, setup, features
chrome Chrome extension features and setup
desktop Desktop app features, installation, configuration
desktop-quickstart Getting started with the desktop app
claude-code-on-the-web Web-based Claude Code usage
terminal-config Terminal setup, font rendering, color support
CI/CD (4 sheets)
Cheatsheet Key Content
github-actions Action parameters, trigger modes, common claude_args
gitlab-ci-cd Pipeline config, MR events, Bedrock OIDC, Vertex WIF
slack Slack integration, routing modes, task triggers
devcontainer Devcontainer config, firewall rules, isolation
Cloud Providers (4 sheets)
Cheatsheet Key Content
amazon-bedrock Bedrock env vars, auth methods, model pinning, guardrails
google-vertex-ai Vertex AI env vars, regions, 1M context, model versions
microsoft-foundry Microsoft Foundry setup and configuration
llm-gateway Gateway endpoints, key rotation, provider routing
Security & Privacy (7 sheets)
Cheatsheet Key Content
security Security model, threat mitigations, safe practices
sandboxing Sandbox modes, filesystem rules, network restrictions
data-usage What data is collected, retention, privacy controls
zero-data-retention ZDR configuration, verification, limitations
network-config Proxy, custom CA, mTLS, credential refresh, domain allowlist
legal-and-compliance Compliance certifications, data processing terms
third-party-integrations Enterprise deployment options, partner integrations
Monitoring (4 sheets)
Cheatsheet Key Content
costs Cost tracking, budget limits, optimization strategies
monitoring-usage Usage metrics, API monitoring, performance tracking
analytics Team analytics dashboard, usage reports
checkpointing Checkpoint management, rewind options, session forking
Reference (6 sheets)
Cheatsheet Key Content
tools-reference Every built-in tool with permission level and description
best-practices Verification strategies, prompt tips, context management
code-review Review service config, trigger modes, REVIEW.md format
troubleshooting Common errors, diagnostic commands, fixes
how-claude-code-works Architecture, agentic loop, context management internals
changelog Latest release highlights and breaking changes

Templates

The templates/ folder has 33 ready-to-use, copy-paste-able templates. Find what you need, copy it into your project, and customize the placeholders.

Core Extension Patterns

Template Description
SKILL-TEMPLATE.md Skill patterns - reference, task, research, codegen, script-powered
SUBAGENT-TEMPLATE.md Subagent patterns - reviewer, debugger, domain expert, hooks, memory, background, worktree
HOOKS-TEMPLATE.md Hook patterns - formatter, protector, notifier, auditor, verifier, all event types

CLAUDE.md Starters

Template Description
CLAUDE-MD-PYTHON.md Python starter with pytest, ruff, uv/pip/poetry, Django/FastAPI variants
CLAUDE-MD-TYPESCRIPT.md TypeScript/Node.js starter with ESLint, Prettier, npm/pnpm/bun variants
CLAUDE-MD-REACT.md React/Next.js starter with App Router, Tailwind, Vite/shadcn variants
CLAUDE-MD-RAILS.md Ruby on Rails starter with RSpec, Rubocop, Hotwire, API-only variant
CLAUDE-MD-MONOREPO.md Monorepo starter with path-specific rules, workspace conventions, imports

CI/CD Workflows

Template Description
GITHUB-ACTIONS-PR-REVIEW.md GitHub Actions PR review with custom rules, Bedrock/Vertex options
GITHUB-ACTIONS-ISSUE-IMPL.md GitHub Actions auto-implement issues and create PRs
GITLAB-CI-REVIEW.md GitLab CI MR review with MCP, Bedrock OIDC, Vertex WIF
HEADLESS-SCRIPTS.md Shell scripts for batch migration, pre-commit, JSON output, lint-fix, docs

MCP Integrations

Template Description
MCP-GITHUB.md GitHub API access (issues, PRs, code search, Enterprise)
MCP-DATABASE.md Database access (PostgreSQL, MySQL, SQLite) with read-only safety
MCP-SLACK-NOTION.md Team tools (Slack, Notion, Linear, Jira, Sentry)
MCP-CUSTOM-SERVER.md Build your own MCP server (Node.js, Python, HTTP)

Plugins

Template Description
PLUGIN-MINIMAL.md Minimal plugin scaffold with single skill
PLUGIN-FULL.md Full plugin with skills, agents, hooks, MCP
PLUGIN-LSP.md Code intelligence plugin with LSP server

Permissions & Security

Template Description
PERMISSIONS-DEVELOPMENT.md Dev presets (balanced, Python, Rails, Go, restrictive, open)
PERMISSIONS-CICD.md CI/CD safe mode (read-only, test-running, controlled edits, cost controls)
SANDBOX-DEVCONTAINER.md Devcontainer with firewall, sandbox settings, Codespaces

Cloud Providers

Template Description
AWS-BEDROCK-SETUP.md AWS Bedrock (credentials, SSO refresh, model pinning, guardrails)
GCP-VERTEX-SETUP.md Google Vertex AI (gcloud auth, regions, 1M context, model pinning)
LLM-GATEWAY-SETUP.md LLM gateway/proxy (LiteLLM, key rotation, multi-provider routing)

Agent Teams

Template Description
AGENT-TEAM-CODE-REVIEW.md Multi-agent code review (security + performance + test coverage)
AGENT-TEAM-FEATURE-DEV.md Feature dev team (architect + implementer + test writer)
AGENT-TEAM-DEBUGGING.md Debug team (log analyst + code tracer + hypothesis tester)

Workflow Automation

Template Description
SCHEDULED-TASKS.md Scheduled tasks (build monitoring, PR checks, cron, reminders)
REVIEW-MD-TEMPLATE.md REVIEW.md templates for TypeScript, Python, Rails, Go, monorepo
REMOTE-CONTROL-SETUP.md Remote control (server mode, mobile access, concurrent sessions)

Enterprise

Template Description
ENTERPRISE-NETWORK.md Network config (proxy, custom CA, mTLS, credential refresh, firewall)
ENTERPRISE-MANAGED-SETTINGS.md Managed settings (org-wide permissions, model restrictions, audit)

Skills

The skills/ folder has 237 skills - 15 core skills plus 222 community skills organized into 16 categories. Copy any skill to .claude/skills/ in your project (or ~/.claude/skills/ for all projects). Invoke with /skill-name or let Claude auto-invoke when relevant.

Skills vs Commands: Skills support directories with supporting files, frontmatter for invocation control, and subagent execution. Commands are simpler single-file alternatives. Both create slash commands.

Core Task Skills (10 skills) - Workflows you invoke manually
Skill Command Description
commit /commit Run tests, generate conventional commit message, stage and commit
pr /pr [base] Push branch and create PR with auto-generated description via gh
fix-issue /fix-issue <number> Read GitHub issue, implement fix, write tests, commit
tdd /tdd <feature> Red-green-refactor TDD cycle
refactor /refactor <target> Refactor while preserving behavior, with test verification
doc-gen /doc-gen <target> Generate or update documentation for a module
migrate /migrate <path> <target> Migrate code from one framework to another
debug /debug <error> Systematic debugging with hypothesis testing
changelog /changelog [version] Generate changelog from git history
Core Research Skills (5 skills) - Run in isolated subagents
Skill Command Description
review /review Review current diff for bugs, security, and style
explain /explain [target] Explain code with diagrams and analogies
security-scan /security-scan [path] OWASP Top 10 vulnerability audit
onboard /onboard Generate codebase overview for new team members
perf-audit /perf-audit [target] Find performance bottlenecks
Core Reference Skills (1 skill) - Auto-loaded background knowledge
Skill Description
api-conventions REST API design conventions (auto-loaded when writing API code)
Community Skills (222 skills in 16 categories) - From community repos

Sources: wshobson/agents, affaan-m/everything-claude-code, garrytan/gstack, disler, mitsuhiko/agent-stuff, EveryInc/compound-engineering-plugin. Each skill is in its own subdirectory with a SKILL.md file and optional reference files.

Category Count What's Inside
api-architecture/ 10 REST/GraphQL design, microservices, CQRS, event sourcing, saga orchestration, OpenAPI
backend-development/ 20 Workflow orchestration, error handling, auth patterns, .NET, Node.js, DHH Rails style, Andrew Kane gems, DSPy.rb
frontend-development/ 19 Next.js App Router, React state, Tailwind, design systems, accessibility, mobile UI, agent-browser, frontend-design
language-specific/ 23 Python (15 skills), TypeScript, Go concurrency, Rust async, Bash defensive scripting
devops-infrastructure/ 21 CI/CD pipelines, K8s, Terraform, GitOps, service mesh, secrets, agent sandboxes, rclone
testing-quality/ 12 E2E testing, TDD, code review, JS/Python testing, browser automation, test-browser
security/ 14 STRIDE threat modeling, SAST, PCI/GDPR compliance, binary analysis, damage control, Ghidra RE
ai-ml/ 13 RAG, prompt engineering, LangChain, LLM eval, embeddings, vector search, agent-native architecture, Gemini imagegen
business/ 15 Market sizing, financial modeling, Stripe/PayPal, risk metrics, investor materials
content-research/ 12 Article writing, deep research, market research, content engine, video editing, web search, summarization, style editing, Proof docs
productivity/ 35 QA, code reviews, shipping, justfile, worktrees, fork-terminal, meta-skill, library, Mac control, tmux, mermaid, Google Workspace, CE workflow (brainstorm/plan/review/work/compound), create-agent-skills, coding-tutor
team-workflow/ 11 Multi-reviewer coordination, parallel debugging, task decomposition, agent orchestration
data-engineering/ 6 Airflow DAGs, dbt, Spark optimization, SQL tuning, PostgreSQL
observability/ 5 Distributed tracing, Grafana dashboards, Prometheus, SLO/SLI, Sentry error tracking
blockchain/ 4 Solidity security, DeFi protocols, NFT standards, Web3 testing
game-embedded/ 3 Godot GDScript, Unity ECS patterns, OpenSCAD 3D modeling

Agents

The agents/ folder has 197 agents - 12 core agents plus 185 community agents organized into 14 categories. Copy any .md file to .claude/agents/ in your project (or ~/.claude/agents/ for all projects).

Core Agents (12 agents) - Battle-tested, ready to use
Agent Model Description
code-reviewer sonnet Read-only code review for quality, security, best practices
security-auditor opus Deep OWASP security audit with severity ratings
test-writer sonnet Write tests matching project framework and style
debugger inherit Hypothesis-driven root cause analysis
docs-writer sonnet Write JSDoc, docstrings, README content
refactorer sonnet Refactor for readability, runs tests before/after
performance-analyst sonnet Find N+1 queries, memory leaks, slow algorithms
db-reader haiku Read-only database queries (blocks write SQL via hook)
api-designer sonnet Design RESTful endpoints with OpenAPI output
migration-planner inherit Phased migration plans with scope analysis
dependency-checker haiku Audit npm/pip/bundle/cargo for vulnerabilities
onboarding-guide sonnet Generate architecture overviews (uses project memory)
Community Agents (185 agents in 14 categories) - From VoltAgent, disler, mitsuhiko, and EveryInc

Sources: VoltAgent/awesome-claude-code-subagents, disler, mitsuhiko/agent-prompts, EveryInc/compound-engineering-plugin (MIT license).

Category Count What's Inside
core-development/ 10 API designer, backend/frontend/fullstack developer, mobile, Electron, GraphQL, microservices, UI, WebSocket
language-specialists/ 26 Angular, C++, C#, Django, .NET, Elixir, Flutter, Go, Java, JS, Kotlin, Laravel, Next.js, PHP, PowerShell, Python, Rails, React, Rust, Spring Boot, SQL, Swift, TypeScript, Vue
infrastructure/ 16 Azure, cloud architecture, databases, deployment, DevOps, Docker, incidents, K8s, networking, platform, security, SRE, Terraform, Terragrunt, Windows
quality-security/ 30 Architecture review, code simplicity, data integrity/migration, deployment verification, DHH Rails, Kieran Python/Rails/TypeScript, pattern recognition, performance oracle, schema drift, security sentinel, frontend races, agent-native, plus original VoltAgent agents
data-ai/ 12 AI engineering, data analysis/engineering/science, database optimization, LLM architecture, ML/MLOps, NLP, PostgreSQL, prompt engineering
developer-experience/ 18 Build systems, CLI tools, dependencies, documentation, DX optimization, Git workflows, legacy modernization, MCP, refactoring, docs scraping, scout reports, bug reproduction, PR comment resolution, spec flow analysis
specialized-domains/ 12 API docs, blockchain, embedded systems, fintech, gaming, IoT, M365, mobile apps, payments, quant analysis, risk management, SEO
business-product/ 11 Business analysis, content marketing, customer success, legal, product/project management, sales engineering, Scrum, technical writing, UX research, WordPress
meta-orchestration/ 12 Agent installation/organization, context management, error coordination, IT ops, knowledge synthesis, multi-agent coordination, performance monitoring, task distribution, workflows, meta-agent, work-completion-summary
research-analysis/ 15 Competitive analysis, data/market research, research analysis, scientific literature, search, trend analysis, citations, research lead/subagent, best-practices researcher, framework docs, git history, learnings, repo analyst
lang-engineering/ 10 Compiler, lexer, parser, runtime, VM, coroutine, memory, object system, language analysis, language architect
poc-engineering/ 7 Architecture design, detailed planning, implementation, problem analysis, programming lead, software architect, task breakdown
design/ 4 Design implementation reviewer, design iterator, Figma design sync, Ankane README writer
team/ 2 Builder (implementation) and validator (quality assurance) team agents for paired workflows

Commands

The commands/ folder has 112 commands - 12 core commands plus 100 community commands organized into 12 categories. Copy any .md file to .claude/commands/ in your project.

Core Commands (12 commands) - Essential daily workflows
Command Argument Description
/commit - Run tests, stage, generate conventional commit message
/pr - Summarize changes, push, create PR with gh
/review - Diff against main, report by priority
/fix-issue <issue-number> Fetch issue, implement fix, write tests, commit
/tdd <feature> Red-green-refactor TDD cycle
/deploy <staging|production> Run tests, build, deploy with safety checks
/lint-fix - Auto-detect linter, fix issues, report remainder
/deps-update - Audit, list outdated, update safe ones, run tests
/explain <file or symbol> ASCII diagram, analogy, walkthrough, gotchas
/release <version> Changelog, version bump, tag, push, GitHub release
/db-migrate <description> Generate migration with up/down, test rollback
/new-feature <feature name> Scaffold following existing patterns
Community Commands (100 commands in 12 categories) - From community repos

Sources: wshobson/agents, davila7/claude-code-templates, disler, EveryInc/compound-engineering-plugin (MIT license).

Category Count What's Inside
development/ 20 Feature scaffolding, build, cook, prime, plan, quick-plan, start, infinite loop, quiz-me, teach-me, sync-tutorials
git-workflow/ 12 Git quality gates, onboarding, Conductor project management (6), worktree management (4)
team-management/ 12 Agent team orchestration (spawn/status/delegate/feature/review/debug/shutdown), standup notes
testing/ 8 TDD cycle (red/green/refactor), test generation, API mocking, performance testing
refactoring/ 7 Refactor with SOLID principles, tech debt analysis, dependency audit, context save/restore
data-migration/ 7 Data pipelines, SQL migrations, code migration, dependency upgrades, legacy modernization
debugging/ 6 Error analysis, error tracing, smart debug, distributed tracing, incident response
review-quality/ 7 Full review orchestrator, PR enhancement, AI-powered review, multi-agent review, UI review
ai-tools/ 5 AI assistant building, LangGraph agents, prompt optimization, agent improvement
deployment-infra/ 7 CI/CD automation, config validation, cost optimization, monitoring, SLO, install, maintenance
security/ 5 SAST scanning, security hardening, dependency vulnerabilities, compliance, XSS scanning
documentation/ 4 Doc generation, code explanation, C4 architecture docs, blog articles

Hook Scripts

The hooks/ folder has 108 hooks - 10 core bash scripts plus 98 community hook configurations organized into 6 categories plus a comprehensive Python hooks mastery system. Wire them into .claude/settings.json.

Core Hook Scripts (10 scripts) - Production-ready workflow enforcement
Script Event Description
auto-format.sh PostToolUse Run prettier/black/gofmt/rubocop after file edits
protect-files.sh PreToolUse Block edits to .env, lockfiles, .git/, secrets
notify-desktop.sh Notification Cross-platform desktop notification
lint-on-save.sh PostToolUse Run linter after file edits (non-blocking)
block-dangerous-commands.sh PreToolUse Block rm -rf /, DROP TABLE, force-push to main
log-tool-usage.sh PostToolUse Append JSON lines to audit log
validate-sql.sh PreToolUse Block SQL mutations, allow SELECT only
test-after-edit.sh PostToolUse Auto-run related test file after edits
inject-context.sh SessionStart Re-inject context after compaction
stop-check.sh Stop Check for uncommitted changes before stopping
Community Hooks (98 hooks in 7 sections) - From davila7 and disler

Sources: davila7/claude-code-templates, disler/claude-code-hooks-mastery (MIT license). See hooks/community/README.md for installation instructions.

Category Count What's Inside
automation/ 20 Discord/Slack/Telegram notifications (simple, detailed, error), Vercel auto-deploy, build-on-change, dependency checker, deployment health monitor
development-tools/ 16 Smart formatting, lint-on-save, file backup, debug window, TDD gate, plan gate, scope guard, Next.js code quality enforcer, worktree Ghostty layout
pre-tool/ 9 Backup before edit, console.log cleaner, dangerous command blocker, file protection, secret scanner (30+ providers), WebSearch year updater
git/ 8 Conventional commits enforcer, prevent direct push to main, branch name validation, auto-git-add, smart commit
post-tool/ 6 JS/Python formatters, git-add-changes, test runner (multi-framework), security scanner (semgrep/bandit/gitleaks)
monitoring/ 5 Desktop notification on stop, LangSmith tracing, performance budget guard, CPU/memory performance monitor
disler-hooks-mastery/ 33 Complete Python hooks system: 13 lifecycle hooks (all event types), 4 validators (ruff, ty, file content, new file), LLM integrations (Anthropic, OpenAI, Ollama), TTS (ElevenLabs, OpenAI, pyttsx3), human-in-the-loop patterns, observability

Rules

The rules/ folder has 8 language-specific coding rules. Copy to .claude/rules/ in your project. Claude auto-loads a rule when working with files matching its glob patterns.

All 8 Rules - Path-specific coding conventions
Rule Globs Description
typescript **/*.ts, **/*.tsx Strict mode, no any, union types over enums, optional chaining
python **/*.py PEP 8, type hints, f-strings, pathlib, dataclasses
react **/*.tsx, **/*.jsx Functional components, hooks, accessibility, error boundaries
go **/*.go Error checks, table-driven tests, context first param
rails **/*.rb, **/*.erb Fat models, thin controllers, scopes, service objects
rust **/*.rs Result over panic, ? operator, minimize unsafe
sql **/*.sql, **/migrations/** Reversible migrations, index foreign keys, BIGINT IDs
testing **/*test*, **/*spec* Arrange-Act-Assert, one concept per test, no sleep

Tips & Tricks

The tips/ folder has 7 curated tips files organized by topic. Practical, actionable techniques from daily Claude Code usage.

Topic What You'll Learn
Productivity Session management, context control, keyboard shortcuts, /btw, /fork
Prompting Prompt engineering specific to Claude Code, verification criteria, plan mode
Debugging Systematic debugging, hypothesis testing, /rewind after failed fixes
Cost Optimization Token management, subagents for research, /effort, /fast, budget limits
Multi-Session Worktrees, fan-out patterns, writer/reviewer, agent teams
Security Permission deny rules, /sandbox, hook-based protections, devcontainers

Output Styles

The output-styles/ folder has 11 drop-in output style files from disler. Copy to .claude/output-styles/ and select via /output-style in Claude Code.

All 11 Output Styles - Customize Claude's response format
Style Description
bullet-points Concise bullet-point format for scannable output
genui Generative UI components in responses
html-structured HTML-structured output for rich formatting
markdown-focused Clean markdown with headers and code blocks
observable-tools-diffs Show tool calls and diffs visibly
observable-tools-diffs-tts Observable output with text-to-speech summaries
table-based Tabular output format for structured data
tts-summary-base Base template for TTS-friendly summaries
tts-summary Text-to-speech optimized summary output
ultra-concise Minimal output, maximum signal
yaml-structured YAML-structured output format

Guides

The guides/ folder has 7 step-by-step workflow guides. Each includes exact prompts to type and expected outcomes at each step.

Guide When to Use
TDD Workflow Implementing features test-first with Claude Code
Security Audit Running a comprehensive security review
Onboarding a New Codebase First day on an unfamiliar project
Migration Playbook Migrating frameworks, libraries, or patterns
PR Review Workflow Professional code review with subagents
CI/CD Setup Adding Claude Code to GitHub Actions or GitLab CI
Monorepo Setup Configuring layered CLAUDE.md and per-package skills

Awesome Claude Code

The awesome.md file is a curated list of the best Claude Code resources: official docs, community plugins, MCP servers, CLAUDE.md examples, guides, tools, and enterprise resources.

How it works

  1. Scripts/download-cc-docs.sh fetches the doc index from code.claude.com/docs/llms.txt
  2. Extracts all .md URLs and downloads each page
  3. Cleans up JSX/MDX artifacts (component tags, theme={null}, etc.)
  4. The GitHub Actions workflow commits and pushes if anything changed

Using these docs with Claude Code

Add this repo as a reference in your CLAUDE.md:

See https://github.com/CodeWithBehnam/cc-docs for Claude Code documentation.

Or clone it locally and point to specific files for context.

Manual Update

bash Scripts/download-cc-docs.sh

Contributing

Contributions are welcome! See CONTRIBUTING.md for guidelines.

This project follows the Contributor Covenant Code of Conduct and is licensed under MIT.

Related Projects

Other great Claude Code community projects worth checking out:

Repository Stars Focus
anthropics/claude-code 78k+ Official Claude Code repository
anthropics/claude-plugins-official 11k+ Official Anthropic-managed plugin directory
affaan-m/everything-claude-code 77k+ Skills, instincts, memory, and security optimization system
hesreallyhim/awesome-claude-code 28k+ Curated list of skills, hooks, commands, and plugins
sickn33/antigravity-awesome-skills 24k+ 1000+ agentic skills collection
VoltAgent/awesome-claude-code-subagents 13k+ 100+ specialized subagents
VoltAgent/awesome-agent-skills 11k+ 500+ agent skills from dev teams and community
SuperClaude-Org/SuperClaude_Framework 21k+ Configuration framework with specialized commands and personas
wshobson/agents 31k+ Multi-agent orchestration for Claude Code
shanraisshan/claude-code-best-practice 16k+ Best practices collection
coleam00/context-engineering-intro 12k+ Context engineering strategies for Claude Code
davila7/claude-code-templates 22k+ CLI tool for configuring and monitoring Claude Code
garrytan/gstack 13k+ Opinionated Claude Code setup with 6 tools
disler/claude-code-hooks-mastery 3.3k+ Master Claude Code hooks with Python-based system, validators, LLM/TTS integrations
disler/claude-code-damage-control 428+ Safety skill preventing destructive actions with pattern-based damage control
disler/agent-sandbox-skill 340+ Manage isolated sandbox environments for agent execution
disler/bowser 193+ Browser automation with composable skills, subagents, and justfile architecture
disler/fork-repository-skill 138+ Fork agent to work in parallel terminals
mitsuhiko/agent-stuff 1.6k+ Script-powered skills from the creator of Flask: Ghidra RE, Sentry, tmux, web-browser, OpenSCAD
mitsuhiko/agent-prompts 101+ Specialized agents for language engineering (compiler, lexer, parser, VM) and POC engineering
EveryInc/compound-engineering-plugin - Compound engineering workflow: 27 review/research/design agents, 46 skills, CE brainstorm-plan-review-work cycle

Star History

Star History Chart


claude claude-code anthropic documentation ai-coding developer-tools cheatsheet

About

Auto-updated mirror of Claude Code documentation from code.claude.com, refreshed every hour via GitHub Actions

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors