learn-ai-native-dev
AGENTS.md20 starsChanged 7 months agoMITView on GitHub
This file provides context and guidelines for AI agents (GitHub Copilot, Claude, etc.) working on this codebase. Two surfaces, two homes. docs/ is the design spec for the website-as-product (what we teach, how content is structured, principles). .github/ is the build harness (instructions, prompt files, skills, custom agents, hooks) for editing the website. Start with docs/README.md and docs/harness.md. AI-Native Development Tutorial Website - An interactive tutorial teaching anyone how to accelerate their workflow using AI-Native development techniques. Teach developers —…
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 repository8 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- content-track-scaffolderSkill
- diagram-scaffolderSkill
- docs-syncSkill
- exercise-scaffolderSkill
- track-generatorSkill
- tutorial-content-qaSkill
- version-checkerSkill
The file
We split this AGENTS.md into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
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 67
When making changes, maintain these qualities:
- Distinctive: line 69
Empowering: - Every section reinforces that anyone can create faster with AI
- Distinctive: line 127
Understand the existing pattern: - Read related components first
- Distinctive: line 128
Maintain consistency: - Follow established conventions
- Distinctive: line 129
Test responsively: - Check both desktop and mobile views
- Very specific: line 130
Build before committing: - Run npm run build to catch errors
- Very specific: line 131
Keep docs in sync: - After structural changes (paths, modules, diagrams, custom syntax, harness files), run @docs-auditor to catch drift …
≈ “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
AI Agent Instructions
This file provides context and guidelines for AI agents (GitHub Copilot, Claude, etc.) working on this codebase.
Two surfaces, two homes.
docs/is the design spec for the website-as-product (what we teach, how content is structured, principles)..github/is the build harness (instructions, prompt files, skills, custom agents, hooks) for editing the website. Start withdocs/README.mdanddocs/harness.md.
Project Overview
AI-Native Development Tutorial Website - An interactive tutorial teaching anyone how to accelerate their workflow using AI-Native development techniques.
Goal
Teach developers — from beginners to professionals — how to leverage AI assistance effectively. While this tutorial uses a web app as the example project, the structured approaches work for any creation task: apps, documents, automation scripts, data analysis, and more.
Live Deployment
- Hosting: GitHub Pages (deployed via
.github/workflows/deploy-pages.ymlon push tomain)
Tech Stack
- Framework: React 18 with TypeScript
- Build Tool: Vite
- Styling: Tailwind CSS v4 with CSS variables
- UI Components: shadcn/ui (Radix primitives)
- Icons: Phosphor Icons, Heroicons
- State: React Query for async state
Project Structure
src/
├── components/ # Reusable UI components
│ ├── ui/ # shadcn/ui components
│ └── diagrams/ # Tutorial diagrams
├── content/ # Tutorial markdown content
│ ├── tutorial/ # Foundation path (Parts 0-8)
│ ├── advanced/ # Agentic Workflows path (Modules A-E)
│ ├── terminal/ # Terminal & CLI path (Modules F-H)
│ └── community/ # Community-contributed paths (each w/ path.json)
├── data/ # Static data and content mappings
│ ├── paths.ts # Official path registry (single source of truth)
│ ├── communityLoader.ts # Loads src/content/community/*/path.json
│ └── projectShapes.ts # Foundation project shapes (formerly exampleTracks)
├── hooks/ # Custom React hooks
├── lib/ # Utility functions
├── pages/ # Page components (Home, Catalog, Examples, Lesson, Contribute…)
└── styles/ # Global styles and themeInformation Architecture
/— Landing with three entry points/learn— Catalog of all paths (filterable; Official + Community)/learn/:pathId— Path home (currently routed into legacy Home pages per path)/learn/:pathId/:moduleId/:stepId?— Lesson/projects— Pick a project shape (audience-filtered)./examplesredirects here./contribute— Contribution hub with three shapes (add-example, fix-content, propose-topic)
Legacy URLs (/lesson/*, /advanced/*, /terminal/*) redirect into /learn/:pathId/* for back-compat.
Experience Qualities
When making changes, maintain these qualities:
- Empowering - Every section reinforces that anyone can create faster with AI
- Crystalline - Complex processes broken into obvious, numbered steps with clear visual hierarchy
- Inviting - Warm, friendly design that feels approachable rather than technical
Design Guidelines
Visual Language
The design should feel like a modern, premium developer tool—professional but not corporate. Think Linear, Vercel, or Arc Browser: clean lines, purposeful use of space, subtle depth through shadows and gradients.
Typography
- H1: Space Grotesk Bold/48px (36px mobile)
- H2: 28px mobile
- Body: Inter/16px/1.6 line-height (15px mobile)
Spacing
- Section padding:
py-24 px-8(mobile:py-12 px-4) - Card padding:
p-6 - Step gaps:
gap-12 - Inline gaps:
gap-4
Mobile Responsiveness
- Sidebar → hamburger menu with slide-in drawer below 768px
- Two-column layouts stack to single column
- Code blocks get horizontal scroll for long lines
Key Features
- Sidebar Navigation - Expandable sections with progress tracking
- Copy-friendly Code Prompts - One-click copy with visual feedback
- Step Progress Indicators - Visual markers showing current position
- Collapsible Sections - Focus on current content without distraction
Deployment
Deployment to GitHub Pages is automated via GitHub Actions (.github/workflows/deploy-pages.yml). Every push to main builds the site and publishes it.
To preview a build locally:
npm run build
npm run previewDevelopment Commands
npm run dev # Start development server
npm run build # Build for production
npm run preview # Preview production build
npm run lint # Run ESLintWhen Making Changes
- Understand the existing pattern - Read related components first
- Maintain consistency - Follow established conventions
- Test responsively - Check both desktop and mobile views
- Build before committing - Run
npm run buildto catch errors - Keep docs in sync - After structural changes (paths, modules, diagrams,
custom syntax, harness files), run
@docs-auditorto catch drift between the code anddocs/.
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.

