Skip to content

Guide Overview

Practice makes Claude perfect.

This guide is a community-driven reference for Claude Code configuration, demonstrating patterns for skills, subagents, hooks, and commands.

What You Will Learn

Whether you are just getting started or looking to optimize your workflow, this guide covers everything from initial setup to advanced orchestration patterns.

Core Concepts

Claude Code is built around a set of composable primitives. Understanding these concepts is the key to getting the most out of it.

ConceptLocationDescription
Subagents.claude/agents/<name>.mdAutonomous actor in a fresh isolated context with custom tools, permissions, model, memory, and persistent identity
Commands.claude/commands/<name>.mdKnowledge injected into existing context -- simple user-invoked prompt templates for workflow orchestration
Skills.claude/skills/<name>/SKILL.mdKnowledge injected into existing context -- configurable, preloadable, auto-discoverable, with context forking and progressive disclosure
Workflows.claude/commands/Orchestrated multi-step patterns combining commands, agents, and skills
Hooks.claude/hooks/User-defined handlers (scripts, HTTP, prompts, agents) that run outside the agentic loop on specific events
MCP Servers.claude/settings.json, .mcp.jsonModel Context Protocol connections to external tools, databases, and APIs
Pluginsdistributable packagesBundles of skills, subagents, hooks, MCP servers, and LSP servers
Settings.claude/settings.jsonHierarchical configuration system for permissions, model config, output styles, sandboxing, keybindings, and more
Status Line.claude/settings.jsonCustomizable status bar showing context usage, model, cost, and session info
MemoryCLAUDE.md, .claude/rules/Persistent context via CLAUDE.md files and @path imports
Checkpointingautomatic (git-based)Automatic tracking of file edits with rewind (Esc Esc or /rewind) and targeted summarization
CLI Startup Flagsclaude [flags]Command-line flags, subcommands, and environment variables for launching Claude Code

Legend

A = Agents, C = Commands, S = Skills. These three primitives compose together to form orchestration workflows.

Hot Features

These are some of the most notable and recently shipped features in Claude Code:

  • Power-ups -- Interactive lessons teaching Claude Code features with animated demos (/powerup)
  • Ultraplan -- Draft plans in the cloud with browser-based review, inline comments, and flexible execution (/ultraplan)
  • Claude Code Web -- Run tasks on cloud infrastructure with long-running tasks, PR auto-fix, and parallel sessions
  • No Flicker Mode -- Flicker-free alt-screen rendering with mouse support and stable memory (CLAUDE_CODE_NO_FLICKER=1)
  • Computer Use -- Let Claude control your screen -- open apps, click, type, and screenshot your display
  • Auto Mode -- Background safety classifier replaces manual permission prompts (claude --enable-auto-mode)
  • Channels -- Push events from Telegram, Discord, or webhooks into a running session
  • Slack -- Mention @Claude in team chat with a coding task for web-based sessions
  • Code Review -- Multi-agent PR analysis that catches bugs, security vulnerabilities, and regressions
  • GitHub Actions -- Automate PR reviews, issue triage, and code generation in CI/CD pipelines
  • Chrome -- Browser automation via Claude in Chrome for testing, debugging, and data extraction
  • Scheduled Tasks -- /loop runs prompts locally on a recurring schedule; /schedule runs them in the cloud
  • Voice Dictation -- Push-to-talk speech input with 20-language support (/voice)
  • Simplify and Batch -- Built-in skills for code quality (/simplify) and bulk operations (/batch)
  • Agent Teams -- Multiple agents working in parallel on the same codebase with shared task coordination
  • Remote Control -- Continue local sessions from any device (/remote-control)
  • Git Worktrees -- Isolated git branches for parallel development

Orchestration Pattern

The core architectural pattern in Claude Code is Command --> Agent --> Skill:

  1. A Command serves as the entry point (user types a slash command)
  2. The command invokes an Agent (subagent) to perform the work
  3. The agent uses Skills (preloaded or invoked) for specialized tasks

This pattern provides clean separation of concerns: commands handle user interaction, agents manage execution context, and skills encapsulate domain knowledge.

Example: Weather Orchestrator

The repository includes a working example of this pattern:

  • /weather-orchestrator command asks for C/F preference, invokes the weather agent, then invokes the SVG skill
  • weather-agent fetches temperature data using its preloaded weather-fetcher skill
  • weather-svg-creator skill creates an SVG weather card from the data

Try it: run claude then type /weather-orchestrator

Development Workflows

All major workflows converge on the same architectural pattern: Research --> Plan --> Execute --> Review --> Ship.

The community has produced several notable workflow frameworks:

WorkflowHighlights
Everything Claude CodeInstinct scoring, AgentShield, multi-lang rules
SuperpowersTDD-first, Iron Laws, whole-plan review
Spec KitSpec-driven, constitution, 22+ tools
gstackRole personas, /codex review, parallel sprints
Get Shit DoneFresh 200K contexts, wave execution, XML plans
BMAD-METHODFull SDLC, agent personas, 22+ platforms
OpenSpecDelta specs, brownfield, artifact DAG
oh-my-claudecodeTeams orchestration, tmux workers, skill auto-inject
Compound EngineeringCompound Learning, Multi-Platform CLI, Plugin Marketplace
HumanLayerRPI, context engineering, 300k+ LOC

Other Notable Workflows

  • Cross-Model Workflow -- Claude Code + Codex working together
  • RPI (Research-Plan-Implement) -- Structured phased approach
  • Ralph Wiggum Loop -- Autonomous development loop for long-running tasks
  • Boris Cherny's Workflow -- Tips from the creator of Claude Code
  • Andrej Karpathy's Workflow -- AutoResearch approach
  • Peter Steinberger's Workflow -- OpenClaw development approach

How to Use This Guide

1. Read through the guide like a course -- learn what commands, agents, skills,
   and hooks are before trying to use them.
2. Clone the best-practice repo and play with the examples: try /weather-orchestrator,
   listen to the hook sounds, run agent teams.
3. Go to your own project and ask Claude to suggest what best practices you should
   add, giving it the best-practice repo as a reference.

Getting Started

Head to Day 0 -- Setup to install Claude Code and authenticate.