You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Regenerate demo.gif to show the single `curl | bash` install (was the old
clone + ./setup.sh flow)
- Add the one-command install to the Quickstart intro
- Clean up link text: human-readable labels instead of raw ./paths.md
- Consistency fixes from a full doc review:
- reframe "command" as a manual-only skill (was contradicting the reference)
- bridge "three modes" (tutorials) to "six modes" (reference)
- add a Related nav footer to every guide (were dead-ends)
- uniform "Source:" link format; /resume, /usage(5h), Opus-4.6 wording,
de-duplicate Ctrl+R, move /memory out of the prefixes table
- allowed-tools comma-separated in command assets (copy-paste correctness)
- align setup.sh allowlist with the asset; test suite "(32 checks)" wording
Build/lint/shellcheck/tests all green; 0 render anomalies across all pages.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: assets/commands/review-pr.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
name: review-pr
3
3
description: Review the current diff for bugs, edge cases, and risks, then suggest concrete fixes. Use before opening or merging a PR. Read-only — makes no changes.
Copy file name to clipboardExpand all lines: assets/commands/write-tests.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
name: write-tests
3
3
description: Write focused tests for a given file or function and run them until they pass. Use when asked to add or improve test coverage. Pass the target as an argument, e.g. /write-tests src/auth.ts.
Copy file name to clipboardExpand all lines: docs/environment/monitoring-cost-ratelimits.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Run `/usage` to see your session token use plus **plan usage bars**:
13
13
- A **5-hour window** (the rolling session limit).
14
14
- A **weekly window**.
15
15
16
-
`/usage` also **attributes** usage to what's consuming it — skills, subagents, and MCP servers — so you can see what's expensive. Press **`d`** and **`w`** to switch between the daily and weekly views.
16
+
`/usage` also **attributes** usage to what's consuming it — skills, subagents, and MCP servers — so you can see what's expensive. Press **`d`** and **`w`** to switch between the 5-hour and weekly views.
17
17
18
18
When you're near a limit, `/usage` shows the **time until your window resets**, which is the number you actually plan around.
Copy file name to clipboardExpand all lines: docs/explanation/how-claude-works.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ With a verifiable target, each loop iteration moves closer to correct. Without o
33
33
34
34
## The context window
35
35
36
-
Everything Claude knows in a session lives in its **context window** — its working memory. It's finite, and performance degrades as it fills. Keeping context lean (clearing between tasks, compacting mid-task) is central to good results. See [./context-window.md](./context-window.md) for the details.
36
+
Everything Claude knows in a session lives in its **context window** — its working memory. It's finite, and performance degrades as it fills. Keeping context lean (clearing between tasks, compacting mid-task) is central to good results. See [the contextwindow](./context-window.md) for the details.
37
37
38
38
## The customization layers
39
39
@@ -50,4 +50,4 @@ A simple way to remember the difference: CLAUDE.md is *always* loaded, a skill i
50
50
51
51
The loop does the work; the layers shape it. Give Claude a clear goal, a lean context, and a way to verify itself, and it behaves like a capable colleague rather than a fancy autocomplete.
Copy file name to clipboardExpand all lines: docs/explanation/when-to-use-what.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,12 +25,12 @@ These look similar but solve different problems:
25
25
| Mechanism | Use when… | Trigger |
26
26
| --- | --- | --- |
27
27
|**Skill**| a capability is **sometimes relevant** and reusable | loads when the task matches |
28
-
|**Command**| you want a **named shortcut** you invoke on demand| you type `/name`|
28
+
|**Command**| you want a **named shortcut** you invoke yourself (a skill with `disable-model-invocation`)| you type `/name`|
29
29
|**Hook**| something must happen **every time**, deterministically | fires automatically on an event |
30
30
|**MCP**| you need to **connect an external tool** (database, API, service) | available once configured |
31
31
32
32
-**Use a skill when** you have know-how that applies now and then — a testing convention, a deploy procedure — and you want Claude to pull it in automatically.
33
-
-**Use a command when** you want to trigger something yourself by name.
33
+
-**Use a command when** you want a skill that runs *only* when you invoke it by name — set `disable-model-invocation: true`. Commands and skills are one mechanism; a command is just a manually-triggered skill.
34
34
-**Use a hook when** the action is non-negotiable: format on every edit, block commits to `main`, log every tool call.
35
35
-**Use MCP when** Claude needs to reach a system it can't touch with files and shell — but keep your MCP set **lean**, since each server adds context and surface area.
36
36
@@ -49,7 +49,7 @@ Start on Sonnet. Step up to Opus when a task is genuinely hard; drop to Haiku wh
49
49
-**`/clear`** between **unrelated** tasks — start each task with clean working memory.
50
50
-**`/compact`** mid-task when context grows heavy but you still need continuity.
51
51
52
-
And one more reset worth memorizing: if you've **corrected Claude two or more times** on the same point, stop fighting the thread. Run `/clear` and **rewrite the prompt** from scratch — a clean start beats a confused one. (Why context hygiene matters: [./context-window.md](./context-window.md).)
52
+
And one more reset worth memorizing: if you've **corrected Claude two or more times** on the same point, stop fighting the thread. Run `/clear` and **rewrite the prompt** from scratch — a clean start beats a confused one. (Why context hygiene matters: [the contextwindow](./context-window.md).)
53
53
54
54
## At a glance
55
55
@@ -59,4 +59,4 @@ And one more reset worth memorizing: if you've **corrected Claude two or more ti
59
59
- Default to **Sonnet**; **Opus** for hard, **Haiku** for trivial.
60
60
- New task → **/clear**. Long task filling up → **/compact**.
Copy file name to clipboardExpand all lines: docs/getting-started/installation.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ The native installer is recommended because it auto-updates in the background. P
20
20
The native install drops a binary at `~/.local/bin/claude`. Make sure that directory is on your `PATH` if the `claude` command isn't found after installing.
21
21
22
22
> [!TIP]
23
-
> On a fresh Mac, you can skip the manual steps entirely. See [../environment/bootstrap-setup.md](../environment/bootstrap-setup.md) for a one-command setup that installs everything at once.
23
+
> On a fresh Mac, you can skip the manual steps entirely. See [the one-command setup](../environment/bootstrap-setup.md) for a one-command setup that installs everything at once.
24
24
25
25
## Platform notes
26
26
@@ -57,6 +57,6 @@ claude doctor
57
57
> [!NOTE]
58
58
> If `claude` isn't recognized, open a new terminal so your shell picks up the updated `PATH`, then try `claude doctor` again.
59
59
60
-
Next: [./quickstart.md](./quickstart.md)
60
+
Next: [Quickstart](./quickstart.md)
61
61
62
-
**Source:**https://code.claude.com/docs/en/setup
62
+
**Source:**[Set up Claude Code](https://code.claude.com/docs/en/setup)
0 commit comments