This repository provides a self-bootstrapping, self-updating developer training system for the installed Claude CLI.
It automatically collects CLI information, detects version changes, and generates or updates comprehensive training documentation.
claude-code-training/
├─ README.md
├─ prompts/
│ └─ bootstrap_prompt.md # Main bootstrap prompt
├─ scripts/
│ └─ start_training.sh # Starts Claude and runs the bootstrap
├─ workspace/
│ ├─ cli_reference/ # CLI help outputs collected
│ └─ system_info/ # Installed version, OS info, timestamps
└─ training/
├─ overview.md # Generated overview documentation
├─ commands.md # Command reference
├─ workflows.md # Workflow documentation
├─ tutorials/ # Step-by-step tutorials
├─ labs/ # Hands-on exercises
├─ cheatsheets/ # Quick reference sheets
└─ release_notes/ # Version-specific notesgit clone https://github.com/YOUR_USERNAME/claude-code-training.git
cd claude-code-training./scripts/start_training.shThe script will:
- Verify that Claude CLI is installed
- Print installation instructions if Claude CLI is missing
- Launch Claude and instruct it to read
prompts/bootstrap_prompt.md - Collect CLI information (help output, version, system info)
- Generate or update training documentation in the
training/folder
-
Install Node.js (if not already installed): https://nodejs.org
-
Install Claude CLI globally:
npm install -g @anthropic-ai/claude-code- Verify installation:
claude --version- Re-run the bootstrap script:
./scripts/start_training.shWhen you upgrade Claude CLI:
- Update Claude CLI to the latest version
- Run the bootstrap script again:
./scripts/start_training.shClaude will:
- Detect new commands or changed functionality
- Update tutorials, cheat sheets, and release notes
- Keep the training fully synchronized with the installed CLI
- Overview:
training/overview.md - Command reference:
training/commands.md - Workflows:
training/workflows.md - Tutorials:
training/tutorials/ - Hands-on labs:
training/labs/ - Cheat sheets:
training/cheatsheets/ - Release notes:
training/release_notes/
Recommended workflow:
- Start with
training/overview.md - Progress through tutorials in order
- Attempt labs to practice concepts
- Reference cheat sheets as needed
- Keep the
workspace/folder in.gitignore(it contains local generated files) - You can add additional prompts in
prompts/for new features or workflows - Claude can automatically detect new versions and update documentation if you re-run the bootstrap script
- Update prompts in the
prompts/folder - Add new tutorials, labs, or cheat sheets under
training/ - Use the bootstrap script to regenerate documentation before committing
- Submit pull requests for review
This repository is designed to provide a self-maintaining, hands-on learning system for Claude CLI, making it easy for developers to get up to speed and stay current with CLI updates.