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: show the learning app in README, with a quick start and how the guide stays current (#107)
Wesam Abousaid3b40d982f3e5
diff --git a/.github/scripts/fixtures/image-readme-capture-too-big/fixture.json b/.github/scripts/fixtures/image-readme-capture-too-big/fixture.jsonnew file mode 100644index 0000000..c586df9--- /dev/null+++ b/.github/scripts/fixtures/image-readme-capture-too-big/fixture.json@@ -0,0 +1,5 @@+{+ "rule": "images",+ "expect": "fail",+ "about": "A README capture of the learning app over the 200 KB capture budget."+}diff --git a/.github/scripts/fixtures/image-readme-capture-too-big/generate.mjs b/.github/scripts/fixtures/image-readme-capture-too-big/generate.mjsnew file mode 100644index 0000000..a7b2b3e--- /dev/null+++ b/.github/scripts/fixtures/image-readme-capture-too-big/generate.mjs@@ -0,0 +1,8 @@+import { mkdirSync, writeFileSync } from 'node:fs';+import { join } from 'node:path';++// A capture just over the budget, written here rather than committed.+export default function generate(root) {+ mkdirSync(join(root, 'assets', 'readme'), { recursive: true });+ writeFileSync(join(root, 'assets', 'readme', 'learn-too-big.png'), Buffer.alloc(201 * 1024));+}diff --git a/.github/scripts/fixtures/image-readme-capture-too-big/tree/README.md b/.github/scripts/fixtures/image-readme-capture-too-big/tree/README.mdnew file mode 100644index 0000000..61c0993--- /dev/null+++ b/.github/scripts/fixtures/image-readme-capture-too-big/tree/README.md@@ -0,0 +1,3 @@+# Demo++<img src="assets/readme/learn-too-big.png" width="640" alt="The step turned green once the file was saved." />diff --git a/.github/scripts/rules/images.mjs b/.github/scripts/rules/images.mjsindex 041ca09..6f2596f 100644--- a/.github/scripts/rules/images.mjs+++ b/.github/scripts/rules/images.mjs@@ -15,7 +15,7 @@ const KB = 1024;const KEBAB = /^[a-z0-9]+(?:-[a-z0-9]+)*(?:\.[a-z0-9]+)*$/;const BUDGET = [[/\.svg$/, 50 * KB, 'an SVG may be up to 50 KB'],- [/^assets\/lessons\/.+\.(png|jpe?g|webp)$/, 200 * KB, 'a capture may be up to 200 KB'],+ [/^assets\/(lessons|readme)\/.+\.(png|jpe?g|webp)$/, 200 * KB, 'a capture may be up to 200 KB'],[/^assets\/brand\/social-card\.png$/, 1000 * KB, 'the social card must be under 1 MB'],];const ALLOWED_ORPHANS = [/^assets\/brand\/[^/]+\.svg$/, /^assets\/brand\/social-card\.png$/];diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex b9a0e30..5e5575f 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -286,11 +286,12 @@ Callouts are GitHub alerts, at most two per lesson, each with one meaning:- Diagrams are Mermaid, with `accTitle:` and `accDescr:` lines. The sentence before the diagram states its takeaway in words.- Terminal state that the docs give as text is shown as text in a code block, not as a screenshot.- A screen capture is allowed only when recognizing the real interface is the point and text cannot show it: at most three across the Beginner level. Each is taken in the practice template, cropped to the relevant interface (no startup banner, no Anthropic logo), scrubbed of personal paths, usernames, account emails, org names and tokens, given a 1px border, and captioned `Claude Code vX.Y.Z (stable), YYYY-MM-DD`.+- README may also show up to three captures of the practice template's learning app, `npm run learn`, under the same rules, with the hero's text in a `<details>` block below it.- Every image has alt text that says what the reader should learn from it, not "screenshot" and not a repeat of the caption.- Text in a diagram or image reaches 4.5:1 contrast in GitHub's light and dark themes; other marks reach 3:1.- No third-party images (logos, icons, slides, product screenshots), no animation and no embedded video. The one exception is the Claude mascot, [`assets/brand/claude-jumping.svg`](assets/brand/claude-jumping.svg) (MIT, credited in README), which jumps beside README's title and appears on the social card in its own colors.- The `images` check enforces the alt text, the Mermaid lines, and the names, references and budget below.-- New images go under `assets/`: `assets/brand/` for the guide's identity and `assets/lessons/<lesson-id>/` for captures. Names are kebab-case, and paths are explicit and relative. Budget: an SVG up to 50 KB, a capture up to 200 KB. Every image that is not a capture ships its editable source beside it. Hand-drawn SVG is for the guide's identity pieces only.+- New images go under `assets/`: `assets/brand/` for the guide's identity, `assets/lessons/<lesson-id>/` for captures and `assets/readme/` for README's. Names are kebab-case, and paths are explicit and relative. Budget: an SVG up to 50 KB, a capture up to 200 KB. Every image that is not a capture ships its editable source beside it. Hand-drawn SVG is for the guide's identity pieces only.### Headingsdiff --git a/README.md b/README.mdindex 6428e93..3e11084 100644--- a/README.md+++ b/README.md@@ -2,26 +2,100 @@**Learn Claude Code in three levels, from your first session to unattended multi-agent runs.**+You learn by doing: every core lesson and capstone ends with a check you run in your own practice copy, and Beginner lesson 1 runs step by step in a terminal app beside Claude Code.\+**[Try it now](#try-it-now)** · [Pick your level](#pick-your-level) · [Every page](#everything-in-the-guide)+An independent community guide. Not affiliated with or endorsed by Anthropic.[](CHANGELOG.md#v202610---2026-10-05) [](https://github.com/wesammustafa/Claude-Code-Everything-You-Need-to-Know/releases/latest) [](LICENSE) [](https://github.com/hesreallyhim/awesome-claude-code)+<p align="center">+ <img src="assets/readme/learn-step-turns-green.png" width="640" alt="The app noticed the saved file on its own: all three commands are ticked, the step's box turned green, and it quotes the version line it found in .practice/version.txt." />+ <br />+ <sub>The learning app, <code>npm run learn</code>, at Beginner lesson 1, step 3: you type in your other terminal, and the step turns green by itself. Claude Code v2.1.285 (stable), 2026-10-10.</sub>+</p>++<details>+<summary>The same screen as text</summary>++```text+B1 Install, sign in and look around GUIDED step 3 of 12++in your other terminal ✔ DONE++Save the version+Go to your practice copy and save that output for the check:++ $ cd /Users/Shared/claude-code-practice ✔+ $ mkdir -p .practice ✔+ $ claude --version > .practice/version.txt ✔++Done when .practice/version.txt holds a line such as X.Y.Z (Claude Code).++Step 3 done!+.practice/version.txt holds 2.1.285 (Claude Code)+3 steps this session++enter next: Start, sign in, trust b back m map q quit+```++</details>++## Try it now++1. Make your practice copy: open [claude-code-practice](https://github.com/wesammustafa/claude-code-practice), select **Use this template** > **Create a new repository**, and clone your copy. Or open your copy in a Codespace, where Node.js and Claude Code come preinstalled.+2. In your copy, start the app. It needs Node.js LTS and git, and there is nothing to install with npm:++ ```bash+ npm run learn+ ```++3. Open a second terminal in the same folder. The app tells you what to type there, starting with installing Claude Code, and checks your work as you go:++ ```text+ this window your other terminal+ npm run learn where you type commands+ one step at a time, ---> and run Claude Code+ checks your work (this app checks it)+ ```++The app teaches Beginner lesson 1 step by step; for the other Beginner lessons, it watches the lesson's check while you follow the page. It has no AI in it and changes none of your work: it reads your files, runs `git status` and the lesson's check, and writes only its own file.++Prefer to read? Every lesson works from its page alone. Each core lesson ends with a check you run from your practice copy, for example `npm run check -- b-1`: each item prints `PASS` or `FAIL`, with a hint for what to fix.++## Help that fades as you learn++The help shrinks as you get better: GUIDED shows every command, HINTED gives the goal and a hint each time you press `h`, and CHALLENGE gives just the goal.++<table>+ <tr>+ <td width="50%" valign="top"><img src="assets/readme/learn-help-guided.png" width="380" alt="At step 1 the app names the window to type in and shows the exact install command." /></td>+ <td width="50%" valign="top"><img src="assets/readme/learn-help-challenge.png" width="380" alt="By step 11 the app gives only the goal and the lesson's rule, and reports from git status that nothing in the copy has changed yet." /></td>+ </tr>+ <tr>+ <td><b>Step 1 of 12, GUIDED:</b> the exact command, and the window to type it in.</td>+ <td><b>Step 11 of 12, CHALLENGE:</b> the goal alone, while the app watches your copy.</td>+ </tr>+</table>++<sub>Beginner lesson 1, steps 1 and 11. Claude Code v2.1.285 (stable), 2026-10-10.</sub>+<a id="-choose-your-path"></a>## Pick your level### Beginner**For you if** you're new to Claude Code and comfortable with a terminal and git.\-You'll take one change from request to commit, safely, and give your project a memory. About 2½ hours.\+You'll take one change from request to commit, safely, and give your project a memory. About 2½ hours: 5 lessons, a capstone and 3 Electives.\**[Start Beginner](docs/beginner/README.md)**### Intermediate**Ready if** you can plan a change in plan mode, review the diff and commit it, and keep a long session on track.\-You'll shape Claude Code to your project with skills, hooks, subagents, MCP and plugins. About 3 hours.\+You'll shape Claude Code to your project with skills, hooks, subagents, MCP and plugins. About 3 hours: 8 lessons, a capstone and 4 Electives.\**[Start Intermediate](docs/intermediate/README.md)**### Advanced**Ready if** you can write a project skill, enforce a rule with a hook, delegate to a subagent and connect an MCP server.\-You'll run Claude Code in parallel, unattended in CI, and for a team, within limits you set. About 3 hours 20 minutes, plus run time.\+You'll run Claude Code in parallel, unattended in CI, and for a team, within limits you set. About 3 hours 20 minutes, plus run time: 7 lessons, a capstone and 5 Electives.\**[Start Advanced](docs/advanced/README.md)**## Install@@ -32,6 +106,13 @@ curl -fsSL https://claude.ai/install.sh | bashmacOS, Linux and WSL. For Windows and other installers, see the [official setup page](https://code.claude.com/docs/en/setup). Claude Code needs a paid Claude plan (Pro, Max, Team or Enterprise), a Claude Console account, or a supported cloud provider ([Quickstart](https://code.claude.com/docs/en/quickstart)).+## How the guide stays current++- Every lesson page carries a Stamp: the Claude Code `stable` version its claims were checked against, and the date ([The stamp](CONTRIBUTING.md#the-stamp)).+- The checks are tested too: in the practice template, CI shows every check failing on its `main` branch, where no exercise is done, and passing on its reference solutions ([Assert checks](https://github.com/wesammustafa/claude-code-practice/blob/main/.github/workflows/assert-checks.yml)).+- Scheduled checks keep watch between editions: external links and new `stable` releases weekly, expiry markers daily, and the app's quotes of the lessons weekly. Each opens a tracking issue ([Maintainer routine](CONTRIBUTING.md#maintainer-routine)).+- The examples are inert until you copy them into a project, and they follow a [safety contract](CONTRIBUTING.md#adding-a-skill): local only (apart from the MCP lesson's pinned server), least privilege, and a smoke test that runs without Claude.+<a id="-whats-inside"></a><a id="-reading-tips"></a>## Everything in the guide@@ -62,7 +143,9 @@ macOS, Linux and WSL. For Windows and other installers, see the [official setupFound something stale? [Report it with a source](https://github.com/wesammustafa/Claude-Code-Everything-You-Need-to-Know/issues/new?template=stale-content.yml). Stuck on a lesson? Use the link at the bottom of that lesson. Claude Code is a product of Anthropic.-[MIT License](LICENSE) · [Contributing](CONTRIBUTING.md) · [Changelog](CHANGELOG.md)+If the guide helped you, a star helps other learners find it.++[MIT License](LICENSE) · [Contributing](CONTRIBUTING.md) · [Changelog](CHANGELOG.md) · [Security](SECURITY.md)*Mascot: [`assets/brand/claude-jumping.svg`](assets/brand/claude-jumping.svg) comes from [shanraisshan/claude-code-best-practice](https://github.com/shanraisshan/claude-code-best-practice), Copyright (c) 2025-2026 Shayan Rais, used under the [MIT License](https://github.com/shanraisshan/claude-code-best-practice/blob/main/LICENSE).*diff --git a/assets/readme/learn-help-challenge.png b/assets/readme/learn-help-challenge.pngnew file mode 100644index 0000000..221cb9eBinary files /dev/null and b/assets/readme/learn-help-challenge.png differdiff --git a/assets/readme/learn-help-guided.png b/assets/readme/learn-help-guided.pngnew file mode 100644index 0000000..623b23aBinary files /dev/null and b/assets/readme/learn-help-guided.png differdiff --git a/assets/readme/learn-step-turns-green.png b/assets/readme/learn-step-turns-green.pngnew file mode 100644index 0000000..9ca2c9aBinary files /dev/null and b/assets/readme/learn-step-turns-green.png differ