claude-code-training
AGENTS.md345 starsChanged 12 months agoMITView on GitHub
This project contains comprehensive training materials for teaching Codex to professional software developers. The course emphasizes practical, hands-on learning with real-world scenarios. Note: For local exporting, you may need to install Playwright's Chromium first:
- Commits and pushes
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository7 other files it gives its agents.
- .claude/hooks/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- modernize-javaSkill
- onboardSkill
- security-reviewSkill
- spring-controllerSkill
- spring-serviceSkill
The file
We split this AGENTS.md into the rules it gives an agent
10 rules. About 0 are common, 9 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 50
Snapshot for a specific training: after a build, gh release create slides-YYYY-MM-DD slides-export.pdf --notes "<event>" makes a sibling …
- Distinctive: line 53
Branch-First Approach: All exercises emphasize creating branches before changes
- Distinctive: line 55
Real-World Focus: Use actual project scenarios, not contrived examples
- Distinctive: line 56
Multi-Language Support: Ensure examples work across Python, JavaScript, and Java
- Distinctive: line 66
Real-world Application: Use Java commands with certificate-service, security commands with vulnerable examples
- Distinctive: line 73
Safety Through Branching: Always demonstrate branch-first workflow
- Distinctive: line 74
Real Scenarios: Use diverse, realistic codebases (modern to legacy)
- Distinctive: line 86
Start each significant change with: "Create a new branch for this exercise"
- Distinctive: line 87
Use specific project names and concrete examples
- Distinctive: line 92
Always include complete, copy-pasteable prompts in code blocks
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.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
Codex Training Course Development
This project contains comprehensive training materials for teaching Codex to professional software developers. The course emphasizes practical, hands-on learning with real-world scenarios.
Project Structure & Standards
Core Course Materials
slides.md: Main Slidev presentation with progressive learning pathlab_handout.md: Six progressive hands-on labs (Lab 0-6) for studentsinstructor-guide.md: Detailed instructor guidance with specific demo scenariosexercises/: Collection of real-world sample projects across multiple languages
Sample Projects Architecture
- Python Projects:
weather-app: Clean Flask application for feature addition exercisesflask-api: Intentionally poorly-written API for refactoring demonstrations
- JavaScript/TypeScript:
lyrics-trainer: Interactive web app with TypeScript and comprehensive test suite
- Java Projects:
certificate-service: Modern Spring Boot application with PDF generationshopping-service: Legacy Grails/Groovy application for modernization exercises
Custom Commands Integration
custom-commands.md: Comprehensive showcase of workflow automation commandscommands/: Ready-to-use command files for immediate copying to~/.Codex/commands/- Commands cover Java modernization, Spring scaffolding, security reviews, documentation generation, and onboarding automation
Development Workflow
Presentation Development
- Run development server:
pnpm dev - Build for production:
pnpm build - Export to PDF locally:
pnpm export(producesslides-export.pdf, gitignored) - Export to PowerPoint:
pnpm export --format pptx --output slides-export.pptx
Note: For local exporting, you may need to install Playwright's Chromium first:
pnpm exec playwright install chromiumSlides PDF distribution
The published PDF is not committed to the repo. .github/workflows/build-slides-pdf.yml auto-builds on every push to main that touches slides.md (or package.json / pnpm-lock.yaml / the workflow itself) and attaches slides-export.pdf to a rolling slides-latest release. Stable URL:
https://github.com/kousen/claude-code-training/releases/latest/download/slides-export.pdf- Manual trigger: Actions → "Build & publish slides PDF" → "Run workflow", or
gh workflow run build-slides-pdf.yml - Do not commit
slides-export.pdf— it's gitignored on purpose - Snapshot for a specific training: after a build,
gh release create slides-YYYY-MM-DD slides-export.pdf --notes "<event>"makes a sibling release without disrupting the rolling tag
Content Development Standards
- Branch-First Approach: All exercises emphasize creating branches before changes
- Progressive Complexity: Labs build from simple to advanced workflows
- Real-World Focus: Use actual project scenarios, not contrived examples
- Multi-Language Support: Ensure examples work across Python, JavaScript, and Java
Lab Design Principles
- Lab 0: Project creation from scratch (lyrics display app - origins of lyrics-trainer)
- Labs 1-3: Foundation skills (exploration, testing, documentation)
- Labs 4-6: Advanced workflows (refactoring, Plan Mode, custom commands)
Custom Commands Teaching Integration
- Demonstration: Showcase commands during Lab 6 advanced workflows
- Hands-on Practice: Students copy and customize commands for their workflows
- Real-world Application: Use Java commands with certificate-service, security commands with vulnerable examples
- Team Sharing: Demonstrate how teams can standardize workflows through shared commands
Teaching Philosophy
Core Principles
- Practical First: Get students productive immediately
- Safety Through Branching: Always demonstrate branch-first workflow
- Real Scenarios: Use diverse, realistic codebases (modern to legacy)
- Professional Workflows: Emphasize enterprise development practices
Key Messaging
- Codex creates complete projects from scratch
- AI assistance accelerates understanding of unfamiliar codebases
- Branch-first workflow enables fearless experimentation
- Tool adapts to any language/framework combination
Content Guidelines
Exercise Design
- Start each significant change with: "Create a new branch for this exercise"
- Use specific project names and concrete examples
- Include realistic time estimates (Lab 0: 20min, others: 15-60min)
- Provide both instructor demos and student hands-on activities
Prompt Engineering Examples
- Always include complete, copy-pasteable prompts in code blocks
- Demonstrate iterative refinement techniques
- Show context-aware instructions that reference specific files/frameworks
- Include error recovery and troubleshooting scenarios
Technical Requirements
Development Environment
- Node.js and pnpm for presentation
- Python 3.x for Flask applications
- Java 17+ for Spring Boot/Grails projects
- TypeScript for modern web development
Student Prerequisites
- Codex installed and configured
- Git workflow familiarity
- Multi-language development environment setup
- Basic understanding of web development concepts
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.

