agentleFS
kousenkousen/claude-code-training/AGENTS.md

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.

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
  1. Very specific:

    Snapshot for a specific training: after a build, gh release create slides-YYYY-MM-DD slides-export.pdf --notes "<event>" makes a sibling …

    line 50
  2. Distinctive:

    Branch-First Approach: All exercises emphasize creating branches before changes

    line 53
  3. Distinctive:

    Real-World Focus: Use actual project scenarios, not contrived examples

    line 55
  4. Distinctive:

    Multi-Language Support: Ensure examples work across Python, JavaScript, and Java

    line 56
  5. Distinctive:

    Real-world Application: Use Java commands with certificate-service, security commands with vulnerable examples

    line 66
  6. Distinctive:

    Safety Through Branching: Always demonstrate branch-first workflow

    line 73
  7. Distinctive:

    Real Scenarios: Use diverse, realistic codebases (modern to legacy)

    line 74
  8. Distinctive:

    Start each significant change with: "Create a new branch for this exercise"

    line 86
  9. Distinctive:

    Use specific project names and concrete examples

    line 87
  10. Distinctive:

    Always include complete, copy-pasteable prompts in code blocks

    line 92

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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 path
  • lab_handout.md: Six progressive hands-on labs (Lab 0-6) for students
  • instructor-guide.md: Detailed instructor guidance with specific demo scenarios
  • exercises/: Collection of real-world sample projects across multiple languages

Sample Projects Architecture

  • Python Projects:
    • weather-app: Clean Flask application for feature addition exercises
    • flask-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 generation
    • shopping-service: Legacy Grails/Groovy application for modernization exercises

Custom Commands Integration

  • custom-commands.md: Comprehensive showcase of workflow automation commands
  • commands/: 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

  1. Run development server: pnpm dev
  2. Build for production: pnpm build
  3. Export to PDF locally: pnpm export (produces slides-export.pdf, gitignored)
  4. 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 chromium

Slides 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

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.