Claude Code guide in three levels, Beginner to Advanced: hands-on lessons with checked exercises, every volatile fact cited to its source. Independent community guide.
JavaScript agent-skillsagentic-codingai-agentsanthropicanthropic-claudebest-practicesclaudeclaude-aiclaude-codeclaude-code-guideclaude-code-hooksclaude-code-pluginsclaude-code-skillsclaude-code-tutorialclaude-code-workflowsguidelearn-claude-codemcpsubagentstutorial
docs: cite or reword the claims the stale-docs audit could not verify (#124)
Wesam Abousaidd6bb1b1d0f06
diff --git a/docs/advanced/electives/publish-a-plugin.md b/docs/advanced/electives/publish-a-plugin.mdindex 5dd6ce3..8d50a5a 100644--- a/docs/advanced/electives/publish-a-plugin.md+++ b/docs/advanced/electives/publish-a-plugin.md@@ -10,7 +10,7 @@ By the end of this Elective you can check a plugin's files with `claude plugin v- The marketplace layout from [lesson 6](../06-share-your-setup.md): a marketplace that lists a plugin by a relative path.- Where to practice: a new folder outside your other repositories, which becomes its own private GitHub repository. Electives have no template check.-- bash, `jq` and git 2.31 or later, on macOS, Linux or WSL 2. With an older git, `claude plugin eval` stops before running any case ([Requirements](https://code.claude.com/docs/en/plugin-evals#requirements)).+- bash, `jq` and git, on macOS, Linux or WSL 2, for this lesson's commands. `claude plugin eval` needs git 2.31 or later when git is installed: with an older git, it stops before running any case ([Requirements](https://code.claude.com/docs/en/plugin-evals#requirements)).- The GitHub CLI, signed in with `gh auth login`. Claude Code clones a private marketplace with the git credentials your machine already holds, SSH or HTTPS, and never prompts for one; for HTTPS, `gh auth setup-git` after that sign-in stores one it can use ([Grant access to a private marketplace](https://code.claude.com/docs/en/plugins/host-marketplace#grant-access-to-a-private-marketplace)).- Usage: moderate. Every eval run is a real model call on your account ([Test plugins with evals](https://code.claude.com/docs/en/plugin-evals)). The Worked example makes one run. Your turn's full run runs each case three times with the plugin and three times without it; its cheap variant runs each case once.@@ -110,7 +110,7 @@ Publishing is a `.claude-plugin/marketplace.json` in a git repository: once it's- The skill makes one change a grader can see, such as starting each subject with a type like `refactor:`, checked by a new `regex` grader in `names-the-rename`. `version` in `plugin.json` is `1.0.1`, and the marketplace entry sets no `version` of its own ([Release a new version](https://code.claude.com/docs/en/plugins/host-marketplace#release-a-new-version)).- Both strict validations pass, and one full run, `claude plugin eval . --threshold <score> --no-publish` from the plugin's folder, ends with every case at or above the threshold you chose, a score from 0 to 1 such as `0.8` ([Command options](https://code.claude.com/docs/en/plugin-evals#command-options)). Cheap variant: add `--runs 1 --ablation none`.- `evals/` is committed, `evals/results/` isn't, and the release is pushed.-- `claude plugin update commit-helper@<you>-plugins` installs 1.0.1 and ends with `Restart to apply changes.` ([Plugin loading reference](https://code.claude.com/docs/en/plugins/loading#check-which-stage-a-plugin-reached)). If it says the plugin is already at the latest version, the new `version` isn't pushed yet.+- `claude plugin update commit-helper@<you>-plugins` installs 1.0.1 and ends with `Restart to apply changes.` ([Plugin loading reference](https://code.claude.com/docs/en/plugins/loading#check-which-stage-a-plugin-reached)). If it says the plugin is already at the latest version, the version Claude Code computes for the plugin is unchanged ([Versions and updates](https://code.claude.com/docs/en/plugins/loading#versions-and-updates)): check that the `plugin.json` with `1.0.1` is pushed.Then, from the repository's root, save the plugin list with `claude plugin list --json > .practice/a-publish-list.json` ([JSON output](https://code.claude.com/docs/en/plugins/cli-reference#json-output)), and only then run `claude plugin marketplace remove <you>-plugins --scope user`. Removing a marketplace from its last scope also uninstalls its plugins ([plugin marketplace remove](https://code.claude.com/docs/en/plugins/cli-reference#plugin-marketplace-remove)), so the saved list is what the Check below reads. Deleting the repository is optional: `gh repo delete <you>/claude-plugins --yes` needs the `delete_repo` scope, which `gh auth refresh -s delete_repo` adds ([gh repo delete](https://cli.github.com/manual/gh_repo_delete)).diff --git a/docs/beginner/electives/built-in-teachers.md b/docs/beginner/electives/built-in-teachers.mdindex ed1ec02..f6629a0 100644--- a/docs/beginner/electives/built-in-teachers.md+++ b/docs/beginner/electives/built-in-teachers.md@@ -17,7 +17,7 @@ Claude Code can teach you while you work. Three aids are built in:- **`/powerup`** runs quick interactive lessons on Claude Code's features, with animated demos ([Commands](https://code.claude.com/docs/en/commands)).- **Output styles** change how Claude answers ([Output styles](https://code.claude.com/docs/en/output-styles)). In the **Explanatory** style, Claude adds short `Insight` blocks that explain the choices behind its code. The **Learning** style adds the same blocks and also leaves a few lines of real decisions for you to write.-- **The guide to Claude Code**: `claude-code-guide` is a built-in helper for questions about Claude Code's own features ([Create custom subagents](https://code.claude.com/docs/en/sub-agents)). Name it in your prompt, or Claude may answer from its own knowledge instead.+- **The guide to Claude Code**: `claude-code-guide` is a built-in helper for questions about Claude Code's own features ([Create custom subagents](https://code.claude.com/docs/en/sub-agents)). Claude usually calls it on its own when you ask about Claude Code, and when you name it in your prompt, Claude typically hands the question to it ([Invoke subagents explicitly](https://code.claude.com/docs/en/sub-agents#invoke-subagents-explicitly)).Why write some of the code yourself? In an Anthropic study, developers who learned a new library with an AI assistant scored lower, on average, on a quiz about it than developers who coded by hand. The ones who scored well used the assistant to ask questions and get explanations, not just to produce code ([How AI assistance impacts the formation of coding skills](https://www.anthropic.com/research/AI-assistance-coding-skills)). The Learning style builds that habit in.diff --git a/docs/beginner/electives/ide-extensions.md b/docs/beginner/electives/ide-extensions.mdindex 3d22628..750f4f5 100644--- a/docs/beginner/electives/ide-extensions.md+++ b/docs/beginner/electives/ide-extensions.md@@ -33,20 +33,20 @@ In VS Code:What happens if linkcheck.json holds an array instead of an object?```-4. Switch the mode at the bottom of the prompt box to Manual, then ask for a small edit, such as a comment above `parseConfig`. The edit opens side by side with the original, and Claude asks for permission in the chat panel. Choose **No** there ([Configure permissions](https://code.claude.com/docs/en/permissions#add-a-comment-when-you-answer-a-permission-prompt)). The **Reject this change** buttons inside the diff only revert one change in the proposal; they don't finish the review.+4. Switch the mode at the bottom of the prompt box to Manual, then ask for a small edit, such as a comment above `parseConfig`. The edit opens side by side with the original, and Claude asks for permission in the chat panel. Reject the edit there ([VS Code](https://code.claude.com/docs/en/vs-code)). The **Reject this change** buttons inside the diff only revert one change in the proposal; they don't finish the review.In a JetBrains IDE:1. Install the [Claude Code plugin](https://plugins.jetbrains.com/plugin/27310-claude-code-beta-) from the JetBrains Marketplace and restart the IDE.2. Click the Claude Code button in the IDE, or press `Cmd+Esc` (Mac) or `Ctrl+Esc` (Windows and Linux), to start Claude Code in the IDE's terminal. If nothing happens, open the IDE's terminal and run `claude`: started there, it connects to the IDE on its own. If the IDE shows "Cannot launch Claude Code", it can't find `claude` on your `PATH`: set the full path to `claude` under **Settings** > **Tools** > **Claude Code \[Beta]** > **Claude command** ([plugin settings](https://code.claude.com/docs/en/jetbrains#general-settings)).3. Open `src/config.js`, select the body of `parseConfig`, and press `Cmd+Option+K` (Mac) or `Alt+Ctrl+K` (Windows and Linux). The prompt gets a reference such as `@src/config.js#L7-17`. Ask the same question.-4. Press `Shift+Tab` until the status bar under the prompt reads `⏸ manual mode on` ([Choose a permission mode](https://code.claude.com/docs/en/permission-modes#switch-permission-modes)). On native Windows, if `Shift+Tab` does nothing, press `Alt+M` instead ([Interactive mode](https://code.claude.com/docs/en/interactive-mode)). Then ask for the same small edit: it opens in the IDE's diff viewer, and Claude asks for permission in the terminal. Choose **No**.+4. Press `Shift+Tab` until the status bar under the prompt reads `⏸ manual mode on` ([Choose a permission mode](https://code.claude.com/docs/en/permission-modes#switch-permission-modes)). On native Windows, if `Shift+Tab` does nothing, press `Alt+M` instead ([Interactive mode](https://code.claude.com/docs/en/interactive-mode)). Then ask for the same small edit: it opens in the IDE's diff viewer, and Claude asks for permission in the terminal. Choose **No** ([Configure permissions](https://code.claude.com/docs/en/permissions#add-a-comment-when-you-answer-a-permission-prompt)).## Your turn1. Install the extension or the plugin for the editor you use.2. Open `src/links.js`, select the whole `findLinks` function, and press the reference shortcut: `Option+K` (Mac) or `Alt+K` (Windows and Linux) in VS Code, `Cmd+Option+K` (Mac) or `Alt+Ctrl+K` (Windows and Linux) in JetBrains. Then ask what kinds of links it finds.-3. Switch to Manual mode as in the Worked example, ask for a small edit, and look it over in the diff view. Then choose **No** at Claude's permission prompt: in the chat panel in VS Code, in the terminal in JetBrains.+3. Switch to Manual mode as in the Worked example, ask for a small edit, and look it over in the diff view. Then reject the edit at Claude's permission prompt: in the chat panel in VS Code, or by choosing **No** in the terminal in JetBrains.## Check@@ -56,7 +56,7 @@ This Elective has no `npm run check`: tick each item yourself. You are done when- [ ] `git diff` prints nothing, because you rejected the edit.- [ ] Self-check (not tested): you asked a question with a reference to the lines you had selected.-If `git diff` shows the edit, it was applied: the session wasn't in Manual mode, or you approved it. Discard it with `git restore <file>`, using the file `git diff` names. Then switch to Manual, ask for the edit again, and choose **No**.+If `git diff` shows the edit, it was applied: the session wasn't in Manual mode, or you approved it. Discard it with `git restore <file>`, using the file `git diff` names. Then switch to Manual, ask for the edit again, and reject it.## Go furtherdiff --git a/docs/beginner/electives/screenshots-and-images.md b/docs/beginner/electives/screenshots-and-images.mdindex 2c757e1..14623d6 100644--- a/docs/beginner/electives/screenshots-and-images.md+++ b/docs/beginner/electives/screenshots-and-images.md@@ -32,7 +32,7 @@ Some things are faster to show than to describe: an error on screen, a layout, aIt prints the broken link in `guide.md`, then `1 broken link(s)`.2. Take a screenshot of that output and copy it to the clipboard. On a Mac, press `Ctrl` as well as the usual keys, such as `Ctrl+Shift+Cmd+4`: without it, macOS saves the screenshot as a file, on your desktop by default ([Take a screenshot on Mac](https://support.apple.com/en-us/102646)).-3. Start `claude` and paste the image. An `[Image #1]` chip appears in the prompt box ([Interactive mode](https://code.claude.com/docs/en/interactive-mode#general-controls)). If no chip appears, no image was added: drag the screenshot file into the Claude Code window, or give its path as in Your turn. Then ask:+3. Start `claude` and paste the image. An `[Image #1]` chip appears in the prompt box ([Interactive mode](https://code.claude.com/docs/en/interactive-mode#general-controls)). If no chip appears, drag the screenshot file into the Claude Code window instead, or give its path as in Your turn. Then ask:```textThis is the link checker's output. Change the last line so it also says how many Markdown files were checked, like "1 broken link(s) in 2 files".diff --git a/docs/intermediate/01-first-skill.md b/docs/intermediate/01-first-skill.mdindex f094d35..c018a52 100644--- a/docs/intermediate/01-first-skill.md+++ b/docs/intermediate/01-first-skill.md@@ -55,7 +55,7 @@ flowchart LR```followed by five numbered steps and the rule "Don't change any files."-2. Start `claude` in the repository and run `/skills` ([Commands](https://code.claude.com/docs/en/commands)). The list includes `five-whys`, marked as a project skill.+2. Start `claude` in the repository and run `/skills` ([Commands](https://code.claude.com/docs/en/commands)). The list includes `five-whys`, a project skill because it lives in `.claude/skills/` ([Choose where skills load](https://code.claude.com/docs/en/skills#where-skills-live)).3. Run the skill by name, with a problem from your repository. In the practice template:```text@@ -69,7 +69,7 @@ flowchart LRWhy does the test suite pass even though samples/guide.md has a broken link? I want the root cause, not a quick fix.```- Before Claude answers, the transcript shows a call to the `Skill` tool for `five-whys`: Claude loaded the skill on its own ([Tools reference](https://code.claude.com/docs/en/tools-reference)).+ Before Claude answers, the transcript should show a call to the `Skill` tool for `five-whys`, which means Claude loaded the skill on its own ([Tools reference](https://code.claude.com/docs/en/tools-reference)).## Your turndiff --git a/docs/intermediate/07-mcp.md b/docs/intermediate/07-mcp.mdindex ed9b4e8..f8c0db0 100644--- a/docs/intermediate/07-mcp.md+++ b/docs/intermediate/07-mcp.md@@ -70,7 +70,7 @@ In an interactive session, Claude Code asks you to approve a project's servers bShare the server with your team at project scope.-1. Remove your local copy, which would otherwise take precedence over a project server of the same name: `claude mcp remove chrome-devtools -s local`.+1. Remove your local copy, which would otherwise take precedence over a project server of the same name ([Scope hierarchy and precedence](https://code.claude.com/docs/en/mcp#scope-hierarchy-and-precedence)): `claude mcp remove chrome-devtools -s local`.2. Save this partial file as `.mcp.json` at the repository root, and replace each `TODO` with the values from the Worked example's command:```jsondiff --git a/docs/reference/README.md b/docs/reference/README.mdindex f3d3a92..34e477d 100644--- a/docs/reference/README.md+++ b/docs/reference/README.md@@ -6,7 +6,7 @@ Pages to look things up in. Each one adds a table or decision aid that the offic- [Models and effort](models.md)- [Commands by level](commands.md)-- [Feature map](feature-map.md): every feature's stability label and who gets it.+- [Feature map](feature-map.md): the stability label of each feature a Learner is likely to meet, and who gets it.- [Further learning](further-reading.md)- [Glossary](glossary.md): the guide's own words.