agentleFS
MicrosoftKnown publishermicrosoft/learn-ai-native-dev/AGENTS.md

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 —…

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
  1. Distinctive:

    When making changes, maintain these qualities:

    line 67
  2. Distinctive:

    Empowering: - Every section reinforces that anyone can create faster with AI

    line 69
  3. Distinctive:

    Understand the existing pattern: - Read related components first

    line 127
  4. Distinctive:

    Maintain consistency: - Follow established conventions

    line 128
  5. Distinctive:

    Test responsively: - Check both desktop and mobile views

    line 129
  6. Very specific:

    Build before committing: - Run npm run build to catch errors

    line 130
  7. Very specific:

    Keep docs in sync: - After structural changes (paths, modules, diagrams, custom syntax, harness files), run @docs-auditor to catch drift …

    line 131

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

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 with docs/README.md and docs/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.yml on push to main)

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 theme

Information 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). /examples redirects 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:

  1. Empowering - Every section reinforces that anyone can create faster with AI
  2. Crystalline - Complex processes broken into obvious, numbered steps with clear visual hierarchy
  3. 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

  1. Sidebar Navigation - Expandable sections with progress tracking
  2. Copy-friendly Code Prompts - One-click copy with visual feedback
  3. Step Progress Indicators - Visual markers showing current position
  4. 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 preview

Development Commands

npm run dev      # Start development server
npm run build    # Build for production
npm run preview  # Preview production build
npm run lint     # Run ESLint

When Making Changes

  1. Understand the existing pattern - Read related components first
  2. Maintain consistency - Follow established conventions
  3. Test responsively - Check both desktop and mobile views
  4. Build before committing - Run npm run build to catch errors
  5. Keep docs in sync - After structural changes (paths, modules, diagrams, custom syntax, harness files), run @docs-auditor to catch drift between the code and docs/.

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.