claude-code / segment_1_quickstart
CLAUDE.md223 starsChanged 4 months agoMITView on GitHub
This directory teaches install + first contact with Claude Code. The lesson goal is to demonstrate that CLAUDE.md is the smallest, sharpest lever for giving a stateless model project state. This file itself becomes a teaching artifact in Segment 2. Plain-spoken senior engineer. Bold key terms. No em dashes. No "leverage." No "ask" as a noun. If you're tempted to edit anything outside this directory, leave a <!-- TODO: Agent E review --> comment instead. Segments 2-4 are owned by…
In this repository14 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- data/CLAUDE.mdCLAUDE.md
- mcp-teaching-kit-main/CLAUDE.mdCLAUDE.md
- segment_2_context/CLAUDE.mdCLAUDE.md
- segment_3_agents/CLAUDE.mdCLAUDE.md
- segment_4_hero/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- azure-ai-deploySkill
- azure-bicep-skillSkill
- claude-md-auditSkill
- genai-prompt-evalSkill
- kubernetes-patternsSkill
- mcp-scaffoldSkill
- review-changesSkill
The file
We split this CLAUDE.md into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Keep examples under 60 lines: If a demo grows past that, split it - learners need to read it on a projector.
- Very specific: line 16
Real model IDs in strings: Use claude-sonnet-5 literally, not a placeholder.
- Very specific: line 25
If you're tempted to edit anything outside this directory, leave a <!-- TODO: Agent E review --> comment instead.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Segment 1 - Zero (Claude Code Quick Start)
This directory teaches install + first contact with Claude Code. The lesson goal is to demonstrate that CLAUDE.md is the smallest, sharpest lever for giving a stateless model project state. This file itself becomes a teaching artifact in Segment 2.
What lives here
01_installation.md- the segment guide (5-block shape: cold open, mental model, demo, try-it-now, check understanding)02_verify_setup.ts- environment verification script03_terminal_workflows.ts- basic workflow demos
Conventions for code in this segment
- TypeScript only, run via
npx tsx <file.ts>. No build step. Notsc. No compiled output committed. - No class state. Demos are top-level scripts or pure functions. We're teaching mental models, not OOP.
- Keep examples under 60 lines. If a demo grows past that, split it - learners need to read it on a projector.
- Real model IDs in strings. Use
claude-sonnet-5literally, not a placeholder. Aliases (sonnet,opus) are fine in shell examples. - No
@anthropic-ai/sdkcalls. This segment is CLI-only. SDK usage belongs to later segments.
Voice
Plain-spoken senior engineer. Bold key terms. No em dashes. No "leverage." No "ask" as a noun.
Cross-segment etiquette
If you're tempted to edit anything outside this directory, leave a <!-- TODO: Agent E review --> comment instead. Segments 2-4 are owned by other agents this sprint.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

