{"slug": "boris-cherny-s-claude-code-talk-every-tip-from-the-28-minute-video", "title": "Boris Cherny's Claude Code Talk: Every Tip From the 28-Minute Video", "summary": "Boris Cherny, a member of technical staff at Anthropic who created Claude Code, used a 28-minute talk at Anthropic's 2025 Code with Claude developer event to recommend codebase Q&A as the single most valuable practice, saying technical onboarding at Anthropic fell from \"about two or three weeks\" to \"about two or three days.\" Cherny advised asking Claude to brainstorm, plan and run the plan past the user before writing code, and giving Claude a way to check its own work through unit tests, Puppeteer screenshots or the iOS simulator. He also recommended keeping CLAUDE.md short with common bash commands, MCP tools, architecture decisions and important files, checking CLAUDE.md and an MCP JSON file into the repo for team sharing, running Claude in CI via `claude -p` with allowed tools and JSON output, and scaling with multiple repo checkouts or git worktrees running Claudes in parallel.", "body_md": "Boris Cherny, who created Claude Code, gave a **28-minute talk of practical tips** at Anthropic's Code with Claude event. Boris says little about prompt wording. He spends nearly the whole talk on **workflow**: what to ask first, when to plan, what to wire in, and how to let Claude check its own work.\n\nThis post walks through every tip in the order he gives it. For each one you get the claim, why it works, and a prompt you can paste into Claude Code today. If you are new to the tool, our [Claude Code commands reference](https://explainx.ai/blog/claude-code-commands-complete-reference-guide-2026) covers the commands he mentions.\n\n## TL;DR: the talk in one table\n\n| Question | Boris Cherny's answer | \n|---|---|\n| Where do I start? | Codebase Q&A. Ask questions before you edit anything. | \n| How do I stop Claude building the wrong thing? | Ask it to \"brainstorm ideas, make a plan, run it by me\" before it writes code. | \n| Do I need plan mode for that? | No. \"All you have to do is ask Claude.\" | \n| What makes results much better? | Give Claude a way to check its work: unit tests, Puppeteer screenshots, the iOS simulator. | \n| What goes in CLAUDE.md? | Common bash commands, MCP tools, architecture decisions, important files. Keep it short. | \n| How do I share setup with the team? | Check CLAUDE.md and an MCP JSON file into the repo. | \n| How do I run Claude in CI? | `claude -p` with a prompt, allowed tools and JSON output. | \n| How do power users scale? | Several checkouts of the repo or git worktrees, running Claudes in parallel. | \n\n## Who is Boris Cherny, and where is this talk from?\n\nBoris opens with \"I'm a member of technical staff here at Anthropic and I created Claude Code.\" The session is a workshop from Anthropic's **Code with Claude** developer event in 2025. In the transcript he says \"today we announced a GitHub app,\" which places it on the event's launch day. Several copies of the recording are on YouTube, with titles like \"Mastering Claude Code in 30 Minutes.\"\n\nThe talk is a set of working habits from the person who built the tool. It is not a full curriculum, and Boris says up front that it is \"going to be very practical,\" with no history or theory.\n\n## Tip 1: Set up the environment first\n\nBefore any prompting, Boris lists a few setup commands:\n\n- `/terminal-setup` gives you Shift+Enter for new lines, so you do not need backslashes.\n- `/theme` switches light, dark or color-blind-friendly themes.\n- `/install-github-app` lets you @-mention Claude on any GitHub issue or pull request.\n- The allowed-tools list lets you pre-approve commands you are prompted about all the time.\n\nThe unusual tip is **dictation**. On macOS he enables dictation in system settings and presses the key twice to speak his prompts. His reason: \"it helps a lot to have specific prompts,\" and talking is faster than typing a long, specific request. You \"just talk to Claude Code like you would another engineer.\"\n\n## Tip 2: Start with codebase Q&A, not edits\n\nBoris says this is the one thing he recommends \"above everything else.\" It is how Anthropic onboards engineers: on day one they install Claude Code and start asking questions about the codebase.\n\nHis numbers: onboarding for technical hires \"used to take about two or three weeks\" and \"is now about two or three days.\" Treat that as Anthropic's own claim about its own team, not a benchmark. The mechanism is believable, though. Claude explores the repo directly, so a new engineer stops queuing questions for teammates.\n\nTwo details matter for adoption:\n\n1. **No indexing.** Boris says there is no remote database of your code, nothing is uploaded for indexing, and Anthropic does not train generative models on the code. That also means no setup wait.\n2. **Questions go deeper than search.** Ask how a class is instantiated and Claude looks for real usage examples, not just matches.\n\nPrompts he gives as examples, adapted:\n\n```\nHow is the PaymentClient class instantiated, and where is it used?\nLook through git history: why does syncOrders have 15 arguments, and who added them?\nWhat did I ship this week?\n```\n\nThe git-history question works, Boris says, without special prompting: \"There's nothing in the system prompt about looking through git history. It knows it because the model is awesome.\" His own Monday ritual is asking \"what did I ship this week?\" and pasting the answer into the standup doc.\n\nA coding assistant answering questions about a codebase as part of Claude Code codebase Q&A\n\n## Tip 3: Make a plan before Claude writes code\n\nThe failure Boris describes is familiar. You ask for a huge feature and \"sometimes it gets this right on the first shot,\" but sometimes \"the thing that it builds is not at all the thing that you wanted.\"\n\nHis fix costs one sentence: ask Claude to \"brainstorm ideas, make a plan, run it by me, ask for approval before you write code.\" He adds that you do not need plan mode or any special tool: \"just say before you write code, make a plan. That's it.\"\n\nIf you do want the built-in version, see our [plan mode guide](https://explainx.ai/blog/claude-code-plan-mode-complete-guide-2026). The principle is the same. A wrong plan costs you a paragraph to fix. A wrong implementation costs you a diff.\n\nHe also shares his favorite shortcut prompt: \"commit, push, PR.\" Claude reads the log to learn your commit format, makes a branch, commits, pushes and opens the pull request. Nobody prompted it to do this. He credits the model: \"The model is good.\"\n\n## Tip 4: Give Claude your team's tools\n\nBoris names two kinds of tool:\n\n- **Bash tools.** He uses a made-up CLI called \"barley\" as the example. Tell Claude the tool exists and to run`--help` to learn it. If you use it often, put it in CLAUDE.md so it carries across sessions.\n- **MCP tools.** Add the server, tell Claude what it is for, and \"it'll just start using it.\"\n\nThe payoff, in his words, is that on a new codebase \"you can just give it all the tools your team already uses.\" For the protocol itself see [what is MCP](https://explainx.ai/blog/what-is-mcp-model-context-protocol-guide), and for setup see [connecting MCP servers to Claude Code](https://explainx.ai/blog/claude-code-mcp-servers-connect-tools-2026).\n\n## Tip 5: Give Claude a way to check its work\n\nThis is the tip with the biggest quality jump, and Boris calls it \"extremely powerful.\" If Claude can run unit tests, take a Puppeteer screenshot or screenshot the iOS simulator, it can iterate on its own output.\n\nHis example is a UI mock. Hand Claude a mock and ask for the web page, and \"it'll get it pretty good. But if you let it iterate two or three times, often it gets it almost perfect.\" In Anthropic's apps repo, the team checks in a Puppeteer MCP server so every engineer gets end-to-end testing and screenshots without installing anything.\n\nThe general rule: whatever your domain, \"give it a way to see its result.\" A test command, a linter, a screenshot or a type check all count.\n\n## Tip 6: Tune your context, starting with CLAUDE.md\n\nBoris says more context produces smarter decisions, because an engineer carries history and system knowledge that Claude lacks. The simplest delivery is `CLAUDE.md` in the project root. It is read into the first turn of every session.\n\nHis rules for it:\n\n| Rule | Detail from the talk | \n|---|---|\n| Check `CLAUDE.md` into source control | Write it once and share it with the team. | \n| Use a local `CLAUDE.md` for yourself | It is not checked in; it holds personal preferences. | \n| Put in commands, MCP tools, architecture decisions, key files | \"Anything you would typically need to know to work in this codebase.\" | \n| Keep it short | A long file \"is just going to use up a bunch of context.\" | \n| Nest files in child directories | They load on demand when Claude works in that directory. | \n| Enterprise root file | A company can manage one shared across all codebases. | \n\nHe also lists custom slash commands, stored in a `.claude/commands` folder at user or project level. Anthropic's own repo uses one that a GitHub Action runs to label incoming issues, \"so humans don't have to.\" And you can @-mention files to pull them in directly.\n\nHis advice on tuning: \"definitely take the time to tune context.\" Run it through a prompt improver, and decide who each piece is for: everyone, only on demand, the team, or just you.\n\nA project instructions file pinned beside a folder, the idea behind a short shared CLAUDE.md\n\nFor a deeper comparison of CLAUDE.md with skills and MCP, read [steering Claude Code with CLAUDE.md, skills, hooks and rules](https://explainx.ai/blog/steering-claude-code-claude-md-skills-hooks-subagents-rules-2026) and [what CLAUDE.md is](https://explainx.ai/blog/what-is-claude-md-persistent-memory-claude-code).\n\n## Tip 7: Share config with the team, and lock down what must not run\n\nBoris describes a hierarchy: project settings tied to your repo, global settings across projects, and **enterprise policies** that a company rolls out to everyone. The same layering applies to slash commands, permissions and MCP servers.\n\nTwo uses stand out:\n\n- **Auto-approve** a command all your engineers run, such as a shared test command, by putting it in the enterprise policy file.\n- **Block** a command or a URL that must never be fetched. Employees cannot override it.\n\nFor MCP, check an MCP JSON file into the repo. Anyone running Claude Code there is prompted to install the servers. His advice when the options feel overwhelming (\"an insane matrix\"): start with shared project context. \"Someone does a little bit of work and everyone on the team benefits.\"\n\n## Tip 8: Learn the key bindings\n\nBoris pauses for a quick reference sheet, because terminal UIs hide features. The ones he names:\n\n| Key | What it does | \n|---|---|\n| Shift+Tab | Switches to auto-accept edits. Bash commands still need approval. | \n| `#` then text | Tells Claude to remember something; it is written into CLAUDE.md. | \n| `!` then command | Runs a bash command locally and puts the output in context. | \n| `@` | Mentions files and folders. | \n| Esc | Stops Claude. He says it does not corrupt the session. | \n| Esc twice | Jumps back in history. | \n| `--resume` or`--continue` | Resumes a previous session. | \n| Ctrl+R | Shows full output, the same as Claude sees in context. | \n\nHis Escape habit is worth copying. If Claude proposes a 20-line edit and 19 lines look right, stop it, name the one line to change, and ask it to redo the edit.\n\nTreat these as a 2025 snapshot. Claude Code ships changes often, and the `#` memory shortcut in particular has been reworked since. Check `/help` and the [commands reference](https://explainx.ai/blog/claude-code-commands-complete-reference-guide-2026) before relying on any single key.\n\n## Tip 9: Use Claude as a Unix utility with the SDK\n\nBoris says `claude -p` is \"what the SDK is,\" and it is the same one Claude Code uses. You pass a prompt, allowed tools (including specific bash commands) and an output format such as JSON or streaming JSON.\n\nHe calls it \"a super intelligent Unix utility.\" Anthropic uses it \"in CI all the time\" and for incident response. You can pipe a log in, pipe `git status` through it, or pull data from a CLI like Sentry and pipe the result to Claude. His summary: \"we've barely scratched the surface.\"\n\n```\ngit status | claude -p \"Summarize what changed and flag anything risky\" --output-format json | jq -r '.result'\n```\n\nCheck the flag names against your installed version. They have changed over time.\n\n## Tip 10: Run many sessions in parallel\n\nBoris describes himself as \"a Claude normie,\" running one session at a time with a few terminal tabs. Power users, he says, almost always run SSH sessions and tmux tunnels into Claude, keep several checkouts of the same repo, or use **git worktrees** to isolate parallel runs. \"You can run as many sessions as you want.\"\n\nAnthropic was still working on making this easier at the time. It has since shipped more tooling, which we cover in the [desktop parallel sessions and worktrees guide](https://explainx.ai/blog/claude-code-desktop-parallel-sessions-sidebar-worktrees-nested-sessions-guide-2026) and the [subagents guide](https://explainx.ai/blog/claude-code-subagents-multi-agent-workflows-2026).\n\nParallel git worktree branches, the setup power users run for Claude Code parallel sessions\n\n## What he said in the Q&A\n\nFour answers from the audience questions are useful:\n\n- **Hardest part to build:** making bash commands safe. Bash can change system state, but approving every command is unusable. The result is read-only command detection, static analysis for safe combinations, and \"a pretty complex tiered permission system\" with allow and block lists.\n- **Images:** Claude Code is \"fully multimodal.\" You can drag in, paste or point to an image path. He drops in a mock, asks for an implementation, and adds a Puppeteer server so it can iterate.\n- **Why a CLI and not an IDE:** people at Anthropic use VS Code, Zed, Xcode, Vim and Emacs, so the terminal is the common denominator. He also predicted \"a good chance that by the end of the year people aren't using IDEs anymore.\"\n- **Internal use:** about 80 percent of technical staff at Anthropic use Claude Code every day, including researchers who use the notebook tool.\n\nThat IDE prediction did not fully come true. Editors are still common, and Claude Code now also runs in a desktop app and in cloud sessions. Take it as a statement of the team's bet in 2025, not a forecast to plan around.\n\n## What people are asking about the video\n\n**Is it worth 28 minutes?** If you already use CLAUDE.md, plan first and have a test command wired in, you will recognize most of it. If not, tips 2, 3 and 5 alone change results.\n\n**Is it a full curriculum?** No. It is one practitioner's habits, with no exercises or feedback. Our [Claude Code course guide](https://explainx.ai/blog/claude-code-course-free-paid-live-learning-path-2026) compares free and paid paths for people who want structure.\n\n**What is not in it?** Hooks, skills and subagents get no coverage, because they came later or were not the talk's focus. [Hooks](https://explainx.ai/blog/claude-code-hooks-automate-actions-tool-calls-2026) and skills are the next layer once CLAUDE.md is solid. Cost control is also absent; see [token efficiency and prompt caching](https://explainx.ai/blog/claude-code-token-efficiency-prompt-cache-sessions-guide-2026).\n\n## What to do this week\n\n1. Open a repo you know badly and ask Claude five questions about it before touching code.\n2. Add \"before you write code, make a plan and wait for my approval\" to your next large task.\n3. Trim your CLAUDE.md to commands, style rules and key files. Delete anything Claude can find by reading the code.\n4. Name one command Claude can run to check its work, and put it in CLAUDE.md.\n5. If you work on a team, check in the shared files so one person's setup helps everyone.\n\n## Related on explainx.ai\n\n*Details from the talk reflect what Boris Cherny said at Code with Claude in 2025. Commands, shortcuts and features in Claude Code change often. Check the official docs for current behavior. Published November 28, 2026.*", "url": "https://wpnews.pro/news/boris-cherny-s-claude-code-talk-every-tip-from-the-28-minute-video", "canonical_source": "https://explainx.ai/blog/boris-cherny-mastering-claude-code-30-minutes-talk-tips-claude-md-plan-first-2026?utm_source=rss&utm_medium=feed&utm_campaign=blog", "published_at": "2026-11-28 00:00:00+00:00", "updated_at": "2026-11-28 12:11:53.569712+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "ai-products"], "entities": ["Boris Cherny", "Anthropic", "Claude Code", "Code with Claude", "GitHub", "Puppeteer", "MCP"], "also_reported_by": [], "takeaway": "Ask Claude Code to brainstorm, plan and get approval before writing code, and give it a verification loop such as unit tests, Puppeteer screenshots or the iOS simulator so it can check its own work.", "recommendation": {"advice": "Before letting a coding agent edit, ask it to brainstorm, plan and run the plan past you, then give it unit tests or screenshots to verify its own output.", "playbook": "coding-agents", "playbook_url": "https://wpnews.pro/playbooks/coding-agents"}, "alternates": {"html": "https://wpnews.pro/news/boris-cherny-s-claude-code-talk-every-tip-from-the-28-minute-video", "markdown": "https://wpnews.pro/news/boris-cherny-s-claude-code-talk-every-tip-from-the-28-minute-video.md", "text": "https://wpnews.pro/news/boris-cherny-s-claude-code-talk-every-tip-from-the-28-minute-video.txt", "jsonld": "https://wpnews.pro/news/boris-cherny-s-claude-code-talk-every-tip-from-the-28-minute-video.jsonld"}}