Claude Code Examples - Quick Reference Card
ReferencePro13 minupdated 2026-10-28
🚀 Installation Quick Commands
Slash Commands
# Install all
cp 01-slash-commands/*.md .claude/commands/
# Install specific
cp 01-slash-commands/optimize.md .claude/commands/Memory
# Project memory
cp 02-memory/project-CLAUDE.md ./CLAUDE.md
# Personal memory
cp 02-memory/personal-CLAUDE.md ~/.claude/CLAUDE.mdSkills
# Personal skills
cp -r 03-skills/code-review-specialist ~/.claude/skills/
# Project skills
cp -r 03-skills/code-review-specialist .claude/skills/Subagents
# Install all
cp 04-subagents/*.md .claude/agents/
# Install specific
cp 04-subagents/code-reviewer.md .claude/agents/MCP
# Set credentials
export GITHUB_PERSONAL_ACCESS_TOKEN="your_token"
export DATABASE_URL="postgresql://..."
# Install config (project scope)
cp 05-mcp/github-mcp.json .mcp.json
# Or user scope: add to ~/.claude.jsonHooks
# Install hooks
mkdir -p ~/.claude/hooks
cp 06-hooks/*.sh ~/.claude/hooks/
chmod +x ~/.claude/hooks/*.sh
# Configure in settings (~/.claude/settings.json)Plugins
# Install from examples (if published)
claude --plugin-dir ./07-plugins/pr-review
/plugin install devops-automation
/plugin install documentationCheckpoints
# Checkpoints are created automatically with every user prompt
# To rewind, press Esc twice or use:
/rewind
# Then choose: Restore code and conversation, Restore conversation,
# Restore code, Summarize from here, or Never mindAdvanced Features
# Configure in settings (.claude/settings.json)
# See 09-advanced-features/config-examples.json
# Planning mode
/plan Task description
# Permission modes (use --permission-mode flag)
# manual - Ask for approval on every action (config value "default"; "manual" is its alias since v2.1.200)
# acceptEdits - Auto-accept file edits, ask for others
# plan - Read-only analysis, no modifications
# auto - Background classifier decides permissions automatically
# dontAsk - Only pre-approved tools run; everything else is denied
# bypassPermissions - Accept all actions (--permission-mode bypassPermissions; --dangerously-skip-permissions is equivalent)
# Session management
/resume # Resume a previous conversation (no args = picker of past sessions)
/rename "name" # Name the current sessionThis guide continues on the Pro plan
You have seen the introduction and the first example. With Pro you unlock this guide and every other one - updated every day, with ready-to-copy examples.
In this guide (Pro): 🎯 Common Use Cases · 📁 File Locations Reference · 🔍 Finding Examples · 🎓 Learning Path · Feature Highlights · Tips & Tricks · 📊 Feature Matrix · 🔗 Quick Links · 📞 Common Questions · ✅ Checklist
€7.99/month · No commitment · Cancel anytime
Open-source community guide (MIT) · curated and maintained by Doutor AI.
Need a tailor-made solution?
Not sure where to start with AI in your business? Get a free assessment and a tailored plan - no commitment.
Save hours every week with AI, no hassle
Doutor AI gives you 1,859 ready-to-copy AI prompts, by industry and in plain English - plus a complete technical library for those who want to go further.