In short.
Common workflows is a documentation page of everyday recipes for Claude Code, an AI coding assistant. It is aimed at developers who want practical starting prompts. Its main catch is that it is a brief recipe collection that does not cover installation, pricing, licensing or the detail behind each feature. The page combines natural-language prompt examples (for example, give me an overview of this codebase) with a handful of concrete commands: claude, claude --continue, claude --resume, claude --worktree feature-auth, claude --permission-mode plan, and git log --oneline -20 | claude -p with a prompt. It also documents specifics worth knowing. For @ references, a file is included only if it fits the Read tool's 25,000-token default limit, and a text file larger than 256KB is not included. The CLAUDE_CODE_DISABLE_FILE_MENTIONS setting requires v2.1.299 or later. There is also a security caveat: files included automatically through @ references bypass PreToolUse hooks, because no tool call is made. The page says a Read deny rule stops matching paths from being included but does not make hooks run. Disabling file mentions stops automatic inclusion, so matching hooks run when Claude later opens the path with a tool such as Read. The page provides no independent test results, measured effectiveness, pricing or reuse terms, so its claims about Claude's behaviour are the vendor's own description.
Researched and written by an AI model and checked by a second AI model. How it works
Scope is the complete text of the single page at [https://code.claude.com/docs/en/common-workflows.md]. The feature guides it links to, such as best practices, sessions, worktrees, subagents, non-interactive mode, permissions, hooks, MCP and scheduling, are outside this scope and are described only as far as this page mentions them. The page does not cover installation, pricing or reuse terms, and it includes no licence, changelog, independent test results or measured effectiveness. Recipes, commands, limits and scheduling options are described as the page states them; how they behave in practice is unknown.
The overview
What this resource is
This is the Common workflows page of the Claude Code documentation, at [https://code.claude.com/docs/en/common-workflows.md]. Its own description is step-by-step guides for exploring codebases, fixing bugs, refactoring, testing, and other everyday tasks with Claude Code. The page appears to be vendor documentation: it is hosted on the Claude Code docs site, links to Anthropic's blog, and refers to Anthropic-managed cloud scheduling.
It is a learning resource, not software you install. It teaches how to use features of Claude Code through short recipes. The page says each prompt pattern works in any Claude Code surface and should be adapted to your project's wording.
Overall assessment
This is a practical, readable onboarding page. Most recipes are plain-English prompts that a beginner can copy. The later sections add real commands and a few precise operational details (token and file-size limits, a minimum version for one setting, a hooks caveat) that an experienced developer will find useful.
Its weaknesses are scope and depth. Each recipe is a short sequence of prompts with a few tips, and installation, authentication, pricing and licensing are not covered. The page provides no independent test results or measured effectiveness, so how well each recipe works in practice is unknown. Treat it as a quick-start map that points to other pages for detail, not as a complete manual.
Who it is for
The page suits developers who already have Claude Code or are about to start and want example prompts: someone joining a new project who needs an overview, someone debugging a failing npm test, someone writing tests or documentation, or someone preparing a pull request.
Experienced developers may mostly value the later sections: resuming sessions with --continue or --resume, parallel sessions with git worktrees, plan mode, delegating exploration to subagents, non-interactive use with claude -p for CI or pre-commit hooks, and the table comparing scheduling options. The page also says Claude Code works in non-code folders such as a notes vault of markdown files, so it may interest people who are not writing software.
It is a poor fit for readers who want a comparison of AI coding tools, an installation guide, or cost information; none of those are on the page.
What the page shows Claude Code doing
The page describes these tasks, each with example prompts: giving a codebase overview and explaining architecture, data models and authentication; finding relevant files and tracing a flow from front end to database; investigating an error and proposing and applying a fix; finding deprecated API usage and refactoring while keeping behaviour; identifying untested functions, generating tests that match existing project patterns, and running them; summarising changes and creating a pull request; adding documentation such as JSDoc comments; and analysing images (screenshots, diagrams, mockups) by drag and drop, paste, or file path.
It also covers workflow features: @ references to files, directories and MCP resources in the form @server:resource; scheduling through cloud scheduled tasks, desktop scheduled tasks, GitHub Actions, or the /loop command; resuming earlier conversations; isolated parallel sessions with git worktrees; plan mode, which proposes changes without editing until approved; subagents that explore in their own context window and return a summary; and piping input into claude -p for scripting. It notes Claude can answer questions about its own features from the current documentation and mentions /powerup for interactive lessons.
Using it
Requirements
The page assumes Claude Code is already installed and usable. It does not explain installation, account type, sign-in, supported operating systems, or which models are used, so those requirements are unknown from this page.
Requirements it does state: a project directory to start in; for worktrees, a git repository with at least one commit, because each worktree is created from an existing commit; and Claude Code v2.1.299 or later for the CLAUDE_CODE_DISABLE_FILE_MENTIONS setting. On pull request linking, the page says Claude Code links a session to a PR when Claude creates it with gh pr create or glab mr create, and when Claude works on an existing PR. It does not give a full list of prerequisites for linking. Cloud scheduled tasks are configured at [https://claude.ai/code/routines], and GitHub Actions scheduling runs in your CI pipeline. Details for those are on linked pages, not on this page.
How it works
The core pattern is conversational: you start claude in a project directory and type requests in natural language. Claude reads files with its tools, proposes or makes edits, and can run commands such as your tests. The page says Claude examines existing test files to match style, frameworks and assertion patterns. It also says Claude reads files fresh on each tool call, so it sees edits made in other applications.
For @ references, the page says a referenced file is included when it fits the Read tool's token limit (25,000 tokens by default). A text file larger than 256KB is not included, and a directory reference shows a file listing rather than contents. Referencing a file also adds CLAUDE.md files from that file's directory and parent directories to context. The page warns that PreToolUse hooks do not run for @ inclusions because no tool call is made. It gives two mitigations: add a Read deny rule for specific paths, or set CLAUDE_CODE_DISABLE_FILE_MENTIONS=1 so Claude receives only the path and reads it with its own tools (where hooks then run). The page says this variable is ignored in project and local settings.
Conversations are saved locally. Plan mode makes Claude read and propose without editing until approval, and the status bar shows plan mode while active. A worktree is a separate checkout on its own branch. A subagent uses its own context window to keep the main context clean. Scheduled tasks run autonomously and cannot ask clarifying questions, so the page advises prompts that state what success looks like and what to do with results.
Setup and first steps
Using the first recipe takes three steps shown on the page: change into the project root with cd, start Claude Code by running claude, then ask for an overview with a prompt such as give me an overview of this codebase. Follow up with narrower questions about architecture, data models or authentication.
Optional setup the page mentions: install a code intelligence plugin for your language to get precise go-to-definition and find-references navigation; start in plan mode with claude --permission-mode plan, or press Shift+Tab until the status bar shows plan mode; start a worktree session with claude --worktree followed by a name; continue the latest session in the directory with claude --continue, or choose one with claude --resume or /resume. Installing Claude Code itself and signing in are not described.
Example from the page
The refactoring recipe is a representative sequence. First ask: find deprecated API usage in our codebase. Then ask: suggest how to refactor utils.js to use modern JavaScript features. Then apply it with: refactor utils.js to use ES2024 features while maintaining the same behavior. Finally verify with: run tests for the refactored code. The page's tips add that you can ask for benefits to be explained, request backward compatibility, and refactor in small testable increments.
A second example from the scripting section is the single command git log --oneline -20 | claude -p "summarize these recent commits", which runs Claude non-interactively on piped input. The page shows no sample output for either example, so what Claude returns is unknown.
Assessment & evidence
Limitations and cautions
This is a recipe page, not a full reference. It states that Claude can generate tests following project conventions and analyse code paths for edge cases, but gives no benchmarks, failure rates or examples of output, so effectiveness rests on the vendor's description alone. Several sections end with a pointer to a linked page for detail (sessions, worktrees, subagents, non-interactive mode, plan mode), so this page on its own gives only the entry point to each feature.
Specific cautions from the page start with @ references. Files you reference with @ are included without a tool call, so they bypass PreToolUse hooks. A Read deny rule stops matching paths from being included, but it does not make hooks run. Setting CLAUDE_CODE_DISABLE_FILE_MENTIONS=1 stops automatic inclusion, so matching hooks run when Claude later opens the path with a tool such as Read. A referenced file is included only when it fits the Read tool's token limit (25,000 tokens by default), and a text file larger than 256KB referenced with @ is not included. Other cautions: worktrees need an existing commit; --continue prints No conversation found to continue and exits if the directory has no earlier session; scheduled tasks cannot ask clarifying questions; and the file-mention setting needs v2.1.299 or later. The page itself advises reviewing generated pull requests before submitting.
The page gives some platform-specific shortcuts. You paste images with Ctrl+V, or Alt+V on Windows and WSL, and open referenced images with Cmd+Click on Mac or Ctrl+Click on Windows and Linux. However, it does not provide a complete operating-system compatibility list, and compatibility with particular models or plans is not established.
Reasoning behind this assessment
The page is concrete rather than promotional: it gives exact commands, named settings, numeric limits, a minimum version and an explicit security caveat. That specificity makes it a useful learning aid.
Its limits are equally clear from the text. The page provides no independent test results or measured effectiveness, so what Claude does in each recipe, how plan mode or worktrees behave, and how scheduling works are known only from the vendor's own description. The page also covers only the entry point to each feature and leaves depth to linked pages.
Alternatives and related reading
The page does not compare Claude Code with other AI coding assistants or name any, so it offers no basis for choosing between tools.
For more depth on the same product, the page links to Best practices, Manage sessions, Worktrees, Subagents, Non-interactive mode, Monorepos and large repos, and Extend Claude Code; their content is not described on this page. For some tasks the page itself points to non-AI building blocks: git worktree for isolated checkouts, GitHub Actions for repo-event or cron automation, and ordinary Unix pipes for scripting. You can use those directly without an AI assistant if you do not need Claude's involvement.
Evidence base
The evidence is the complete text of one documentation page: the Claude Code Common workflows page at [https://code.claude.com/docs/en/common-workflows.md], as it stood on 2026-11-13. It consists of documentation prose with command and prompt examples. The page includes no source code, licence or reuse terms, changelog, pricing, independent test results or measured effectiveness.
Access & freshness
Costs
The page states no prices, plan requirements, usage limits or token costs for Claude Code, so cost is unknown from this evidence. It does not say whether scheduled tasks, cloud routines, GitHub Actions runs, subagents, or large @ references consume more of any allowance. The only cost-adjacent details are the 25,000-token default Read limit and 256KB text file limit for @ references. Check Anthropic's pricing and plan pages before relying on automation or heavy use.
Rights and data handling
The page contains no licence or reuse statement, so the rights for copying or redistributing its text or prompts are unknown. The example prompts are short, but no permission terms are given. Link to the page rather than reproducing it.
On data handling, the page says conversations are saved locally and that cloud scheduled tasks run in the cloud, Anthropic-managed by default. It does not describe what project content is sent to a model service, retention, or privacy terms. It also says @ references include file contents in the conversation unless disabled. For sensitive repositories, read Anthropic's privacy and security documentation, which is outside this page.
Freshness
This description reflects the page as it stood on 2026-11-13 (01:12 UTC). The page shows no publication or last-updated date. The only version marker is the statement that CLAUDE_CODE_DISABLE_FILE_MENTIONS requires Claude Code v2.1.299 or later. Command names, flags, limits and scheduling options may change as the product changes. The page also notes that Claude looks up answers about its own features in the current documentation, so the live page may differ from the version described here. Check the live page and your installed version before relying on specific flags or limits.
Suggested next steps
If you are new to Claude Code, work through the codebase overview and find-relevant-code recipes first, in a repository you can safely experiment in. Use plan mode (claude --permission-mode plan) before allowing edits.
Before adopting it for team use, confirm pricing and data-handling terms elsewhere, because this page does not cover them. If you rely on PreToolUse hooks to control what Claude reads, add Read deny rules or set CLAUDE_CODE_DISABLE_FILE_MENTIONS=1 as the page describes, and confirm your version supports it. Review any generated tests, refactors and pull request descriptions before merging. Test scheduled or piped automation on a small, low-risk task first, with an explicit success criterion in the prompt.
