Prompt chains ยท 14 workflows

How Claude Code works

Each flow is an ordered chain of real prompts from the catalog: system sections, tools, and agents, showing how they reinforce each other in typical tasks. Open a flow for an overview diagram and a step-by-step breakdown with links to every prompt.

Fixing a Bug

From symptom to patch using search, read, edit, and verification

7 steps
debuggingtoolsworkflow

Exploring a Codebase

Discovery with glob, grep, reads, and optional Explore agent

6 steps
navigationread-onlyagents

Project Onboarding

How /init bootstraps project understanding and generates CLAUDE.md

6 steps
onboardinginitproject-setup

Planning & Task Management

Plan mode, Plan agent, todos, and background tasks

6 steps
planningtasksorganization

Autonomous Mode

Self-driving coding with periodic critique and course-correction

6 steps
autonomousproactiveself-driving

Multi-Agent Orchestration

Coordinator mode, Agent tool, and worker personas

6 steps
coordinatorparallelworkers

Swarm & Team Collaboration

Coordinated multi-agent teams with shared state and inter-agent messaging

6 steps
swarmteamscollaborationagents

Memory & Context

Environment injection, memory taxonomy, filtering, extraction, and output shaping

8 steps
memorycontextsessionextraction

Context Compaction

How growing conversations are compressed to stay within context limits

6 steps
contextcompactionlong-sessions

Skills & Self-Improvement

How Claude Code discovers, executes, and iteratively refines reusable skills

6 steps
skillsself-improvementlearning

Hooks & Automation

Shell hooks, scheduled tasks, and command safety policies

6 steps
hookscronautomationsafety

MCP & External Tools

Extending capabilities with Model Context Protocol servers and resources

5 steps
mcpextensibilityexternal-tools

Session Insights

The /insights analytics pipeline that turns usage history into a personalized report

6 steps
analyticsinsightsreporting

Web Research & Integration

Search, fetch, then write and validate in the repo

5 steps
webintegrationtools

Flows are editorial paths for learning; the live product composes prompts dynamically via source-level assembly.