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.
Learn from Claude Code itself
Beginner · Elective · about 20 minutes · Needs: Install, sign in and look around · Verified against Claude Code v2.1.292 (stable) on 2026-10-15
Goal
By the end of this Elective you can use Claude Code's built-in teaching aids: /powerup, the Learning and Explanatory output styles, and its guide to its own features.
You need
- Your copy of the practice template with no uncommitted changes.
- Usage: light.
The idea
Claude Code can teach you while you work. Three aids are built in:
/powerupruns quick interactive lessons on Claude Code's features, with animated demos (Commands).- Output styles change how Claude answers (Output styles). In the Explanatory style, Claude adds short
Insightblocks 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-guideis a built-in helper for questions about Claude Code's own features (Create custom subagents). 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).
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). The Learning style builds that habit in.
Worked example
Start
claudein your practice copy and run/powerup. Pick a lesson, try what it shows, and follow the hints on screen. A lesson counts as finished when you pressEnteron its card (Enter to mark done). If a/poweruplesson names adefaultmode, that is Manual mode (Choose a permission mode), which lesson 2 covers.Switch the output style:
/output-style learningClaude Code saves the choice to
.claude/settings.local.jsonin this project, so every session you start here keeps this style until you run/output-style default. Your turn ends with that step; if you stop before it, run it yourself.Ask for a small change that leaves a decision to you:
Add a function to src/links.js that counts the external links on a page, with a test. Leave the decision about repeated links to me.Claude explains its choices in
Insightblocks, though not in every reply. When it reaches that decision, it adds aTODO(human)comment to the file and stops with aLearn by Doingrequest that says what to write (Output styles). Open the file it names in your editor, write your lines at theTODO(human)comment, save, and tell Claude you're done. Claude comments on your code and finishes the task; if it doesn't run the tests, ask it to. A style is an instruction, not a guarantee: if Claude writes all the code itself, ask it to leave the repeated-links decision to you.When the tests pass, set the change aside so later lessons start clean. Open a second terminal in the same folder and run:
git stash push --include-untracked -m b-teachersBack in Claude Code, ask about Claude Code itself, and name the helper so Claude hands the question to it (Invoke subagents explicitly):
Use the claude-code-guide agent: how do I make my own slash command in Claude Code?When Claude hands it over, the transcript shows a
claude-code-guide(...)row with a short task description in the brackets. If no such row appears, Claude answered without the helper: send the prompt again. Your wording will differ, but the answer should point you to skills, aSKILL.mdfile under.claude/skills/(Extend Claude with skills). It may also mention the older.claude/commands/folder, which still works.
Your turn
Run
/powerupand finish one more lesson.Switch to the Explanatory style with
/output-style explanatory, ask Claude to explainsrc/check-links.js, and read itsInsightblocks. Then, in your second terminal, save the setting for the check:cp .claude/settings.local.json .practice/b-teachers-style.jsonAsk
claude-code-guideabout a Claude Code feature you haven't used yet: start your prompt withUse the claude-code-guide agent:, and look for its row in the transcript. If you asked the helper something earlier in this session, Claude may send the question to that same helper: the transcript then showsResuming agentinstead of a newclaude-code-guide(...)row, and that counts too.When you're done, switch back with
/output-style default.
Check
This Elective has no npm run check: tick each item yourself. You are done when all of these are true:
-
.practice/b-teachers-style.json, saved in step 2 of Your turn, has anoutputStyleentry for the Explanatory style. Check it withcat .practice/b-teachers-style.json. - Self-check (not tested): you finished two
/poweruplessons.
If the file is missing or names another style, run /output-style explanatory in Claude Code, repeat the cp command in your second terminal, then run /output-style default.
Go further
- Output styles: every built-in style, and how to write your own.
Sources: Commands · Output styles · Create custom subagents · Choose a permission mode · Extend Claude with skills · How AI assistance impacts the formation of coding skills
Back to the Beginner index · Topic: Memory and context · Stuck on this lesson?