Skip to content

Anthropic: Rethinking Claude Code Best Practices

Type: comparison. Status: watching (2026-11-19): per-idea results below; no overall decision.

A comparison of our workflow with the talk "Rethinking Claude Code Best Practices" by Lydia Hallie of Anthropic's Claude Code team, posted on the AI Engineer channel on 2026-11-12 (video). How these pages are built: index.

Independent origin

The owner developed this workflow independently, before and without knowing this talk or the practices it describes. Where the two agree, they arrived there separately. This page is a check against an outside view, not a source the workflow was built from.

Sources

A point the docs make and the talk does not is marked "docs, not the talk".

The talk's thesis

As models get better, the developer steps out of the loop: steering, approving, restricting, checking and starting sessions move to the model, the harness and the environment. The model steers, auto mode approves, deny rules and the environment restrict, tests, hooks and CI check, and an orchestrator session starts the others. The developer starts the first session and reviews what comes out (16:30).

Point by point

# Point Verdict Our side
1 Supervise many long-running sessions instead of steering each step; developers become managers of dozens of sessions (1:16) same A worker takes one issue from reading to a green pull request and reports in one line; the owner decides only at gates (sdlc/parallel-work.md, sdlc/decisions.md)
2 One orchestrator session splits the work, starts a session per task, checks what comes back and writes no code itself; the talk names Claude Code Projects, in beta (15:15) same One coordinator per repository hands each issue to a worker in its own worktree and never writes the code (sdlc/parallel-work.md). We built it from skills and GitHub, not on Projects
3 Auto mode instead of approving each command: a classifier judges everything beyond reading and editing in the project, the default since August, configured in plain English in settings (2:52, 4:07). claude auto-mode critique reviews custom auto-mode rules (docs, not the talk: configure auto mode) same A machine coordinator starts every worker with --permission-mode auto, and so do the sandbox launchers and the home unit; the workers of workflow:cloud-coordinator inherit the cloud coordinator's mode instead (setup/linux-host.md). On top of the classifier a PreToolUse guard (dcg) blocks destructive commands (plugins/dev-env/skills/dev-doctor/reference/dcg-guard.md)
4 Only the harness gives a guarantee: deny rules are checked before the classifier, which never sees a denied call (6:07). The test for what needs a rule: if Claude gets it wrong once, can I take it back? (6:38) Commit the deny rules to the repository so they come along to a cloud session (10:33) same .claude/settings.json commits a permissions.deny list for what cannot be taken back. It comes along to the sessions that load project settings: every session in a checkout and cloud sessions, not the CI review job (--setting-sources user) or a cloud thread of a Claude Code Project; dcg and the commit guard stay for what a pattern cannot express (architecture, 8.3)
5 Permissions decide whether a call runs, not what it reaches: run commands in a sandbox the operating system enforces, or better in a cloud session with its own machine and no local secrets (7:55, 9:18) same Each repository's coordinator and workers run in one Docker Sandbox microVM; tokens never enter the VM, a proxy injects them (setup/linux-host.md, setup/secrets.md). Cloud sessions are also used (plugins: cloud-coordinator)
6 Hooks for checks that must run, such as lint on every edit or tests before a task counts as done; a hook must exit 2, because with exit 1 the task is marked complete anyway (12:23, 13:00) same git-flow's commit guard refuses blanket staging and a secret in a commit with exit 2; dcg denies through the hook's JSON output; the pre-commit and pre-push hooks run the machine gate (plugins/git-flow, ci/checks.md)
7 CI runs the same checks on every pull request, however the session got there; every pull request is reviewed by Claude in a fresh context first, with separate agents checking each bug it finds (13:55, 14:34) same The machine gate runs before the push and again in CI; Copilot and a Claude review each look at the pull request once, in a context that did not write it (sdlc/quality-gate.md, ci/claude-review.md). We add a model half (workflow:ready) before the pull request opens
8 Human review by risk: docs and copy need no person, ordinary changes one reviewer, risky ones two; "merge when ready" for some (14:26) different Every pull request carries a merge label; merge:agent merges with no person, and changes to CI, hooks, .claude/ or an ADR wait for the owner (sdlc/decisions.md). Same principle, other tiers: ordinary changes need no human reviewer here
9 Say what done looks like in the prompt and split the work into tasks with their own tests; ask for the actual output (12:06) same An issue's acceptance must be testable, a worker checks that before building and builds test first (sdlc/work-items.md, sdlc/parallel-work.md)
10 CLAUDE.md holds only what Claude cannot see in the code; "important" and exclamation marks make today's models go off track, with more tool calls and worse results (3:12) different The repository CLAUDE.md points to docs, and the skill rules forbid capitals for emphasis and send a rule that must hold to a hook (SK-20, SK-21 in .claude/rules/writing-skills.md; reasoning in authoring/writing-skills.md). It still describes the layout, which the talk calls unneeded
11 /doctor prompt-audit checks CLAUDE.md and skills for what the current model no longer needs (3:52; commands) different Skills are audited against our own rule catalogue before a change merges, for trigger accuracy and context cost (authoring/writing-skills.md, authoring/evals.md); we do not run the per-model audit
12 A model per role: one that judges well for the orchestrator, one that does the work for the threads, set separately (15:57). Effort can be set per role too (docs, not the talk: Projects, effort) same A coordinator chooses a worker model per issue (haiku, sonnet or opus) and uses Sonnet subagents for housekeeping (plugins/workflow). Since #789 the sandbox launchers start a coordinator on Opus at low effort and every worker runs at high effort, Projects' default (a cloud coordinator's session worker excepted: create_session takes no effort); coordinator config and dev-doctor show a session's model and effort. Whether it lowers usage is measured on #789
13 In Anthropic's study, about 14 % of people caught a clearly dangerous command, auto mode blocked 89 %, and about one in ten still went through (5:42); the post gives 13.6 % and 937 of 1,053 (auto mode post) gap We have no such measurement; our answer is not to depend on the person at the keyboard but to contain the session and gate the merge (sdlc/decisions.md)
14 Open points while sessions run alone: the talk settles them before the run, with "done" defined and pass/fail checks along the way, and treats a stuck session as the next thing to hand over (11:12, 17:12). The docs add: the brief says what to do when something is missing and what needs a go-ahead, and when several threads guessed or stalled, the orchestrator lists what each assumed or waits on and the shared gap in the setup is fixed once (docs, not the talk: Projects) different Each open point is settled on its own: a worker stops with blocked and its question goes on a decision page for the owner, or the coordinator takes a working assumption after 50 minutes (sdlc/parallel-work.md, plugins/workflow). An issue body says what done looks like before a worker starts (sdlc/work-items.md). When two or more workers of a round block or guessed wrong, the coordinator names one shared cause, or "none found", ahead of the owner's questions; it files the fix as an issue instead of making it (plugins/workflow)

Where we differ in kind

  • A human gate stays where it counts. The talk moves review by risk, down to no person for docs and copy. Our merge labels are such tiers too, with other cut-offs: owner-only decisions (specs, ADRs, anything with a secret, CI or hooks changes) wait for the owner, routine changes merge without one (sdlc/decisions.md).
  • GitHub is the record. Claims, reports and state live in issues, labels and pull requests so that a coordinator on another machine sees them (sdlc/parallel-work.md). Projects keeps that state inside its own conversation.

What we could adopt

The result of checking each idea against the code and the docs (2026-11-13). A result is a recommendation: no issue is filed from this page, and the workflow does not change because of it.

  • Try auto mode, and read claude auto-mode critique against our dcg rules. Don't adopt: auto mode is already how machine and sandbox coordinators and their workers run (point 3); cloud workers inherit their coordinator's mode. critique reviews only custom autoMode prose in user or managed settings, not dcg's rules and not project settings, so the comparison it was meant for does not exist. Run on one machine's user settings it found conflicting entries there; that is a matter for that machine, not this repository.
  • Measure the cost of emphasis by counting tool calls. Don't adopt: the rules already forbid emphasis (point 10), and the talk's own tool, /doctor prompt-audit (point 11), finds what a model no longer needs without a measurement. Run once on the repository CLAUDE.md (2026-11-13, Opus 5.5), it found no emphasis and one history note to reword.
  • Set an effort level per issue next to the model. Needs the owner: no launcher, handover or skill sets effort today, and the talk does not ask for it; the docs allow it per session, per skill or subagent, and per role in Projects (point 12).
  • Check that hooks which must stop an action use exit 2. Don't adopt: done. The hooks that block (git-flow's commit guard, backend's Java format check) exit 2, dcg denies through the JSON output the hooks docs describe, and the one hook that exits 0 on purpose, dev-env's SubagentStop, says why. No hook of ours gates a task's completion with exit 1.
  • Look for the shared gap when several workers block (point 14, found while checking the page). Adopted: when two or more workers of a round report blocked or a wrong assumption, the coordinator first asks whether one gap in the setup or the issue template explains them and names it ahead of the questions; the fix is an issue of its own.
  • Verify this page against the video. Don't adopt: already done, see Sources.