30-second interactive wizard · 12 stack presets · Live 95+ AgentLint verification

    Generate a 95+ scored AGENTS.md & CLAUDE.md in 30s.

    Pick your stack, fast test command, and safety guardrails to generate a canonical AGENTS.md, thin @AGENTS.md CLAUDE.md pointer, glob-scoped .cursor/rules/project.mdc, and a PR-commenting GitHub Actions workflow — scored live by AgentLint.

    01 · Choose Stack Preset (12)

    Web Full-Stack

    02 · Package Manager & Verification Commands

    Package manager / build tool

    03 · Target Coding Agents

    04 · Safety & Engineering Guardrails

    Live AgentLint Score on Generated AGENTS.md

    100/ 100Grade A+
    17 passed · 0 flags
    40 lines · 3,148 / 40,000 chars
    Don't/Because: 6/6 · Emphasis: 0/1K
    Findability10/10
    Instructions10/10
    Workability10/10
    Continuity10/10
    Safety10/10
    Harness10/10
    AGENTS.md· 40 lines
    # Next.js App Platform — AGENTS.md
    
    TypeScript + Next.js App Router web application with server actions, typed API handlers, and automated Vitest checks. This file is the canonical engineering harness for Claude Code, Codex CLI, Cursor, GitHub Copilot, Gemini CLI; tool-specific adapter files point back here instead of duplicating rules.
    
    ## Commands
    
    - Package manager / build tool: `pnpm`
    - Fast single test: `npx vitest run src/lib/billing.test.ts`
    - Full build and test: `pnpm test && pnpm build`
    - Lint and static check: `npx tsc --noEmit && pnpm lint`
    
    ## Repository Map & Conditional Reading
    
    - `app/` — Next.js App Router pages, layouts, and Route Handlers
    - `src/components/` — Reusable UI primitives and client islands
    - `src/lib/` — Domain logic, schemas, and server data helpers
    - When editing database migrations or auth middleware, read `docs/architecture.md` before changing public contracts or data models.
    
    ## Engineering Boundaries
    
    - Don't add 'use client' to page layouts or data-fetching wrappers. Instead isolate interactive leaf components under `src/components/`. Because server components keep bundles small and keep secrets off the client.
    - Don't bypass schema validation in Route Handlers or Server Actions. Instead parse inputs with Zod in `src/lib/schemas.ts`. Because unvalidated payloads cause silent runtime errors in production.
    - Don't run the full build on every small edit. Instead run the fast single-test command above and run the full build before handoff. Because fast feedback keeps iteration loops under 15 seconds.
    - Don't refactor unrelated modules or reformat untouched files outside the requested task. Instead keep every diff scoped to the target requirement and log follow-up ideas in `docs/exec-plans/`. Because broad diffs hide regressions and complicate code review.
    - Don't commit `.env` files, API tokens, private keys, or personal home directory paths. Instead read credentials from environment variables and keep `.env` and `CLAUDE.local.md` in `.gitignore`. Because leaked credentials and host paths break CI and create security incidents.
    - Don't reference mutable GitHub Actions version tags such as `@v4` in workflows. Instead pin third-party actions to full 40-character commit SHAs with an inline version comment. Because floating tags expose automated pull requests to supply-chain drift.
    
    ## Verification & Session Continuity
    
    - Run the fast single-test command after every focused edit, and run the full build and test suite before reporting completion.
    - Record active multi-step plans in `docs/exec-plans/` and update `HANDOFF.md` with verified commands, changed files, and open risks before ending a session.
    - Keep this file concise (60-150 lines) and well under Claude Code's 40,000-character limit; move deep subsystem tables into linked `docs/` files.
    
    ## Tool Adapters
    
    - `CLAUDE.md` — thin `@AGENTS.md` pointer plus Claude Code hook notes
    - `.cursor/rules/project.mdc` — glob-scoped Cursor adapter referencing this file
    - `.github/copilot-instructions.md` — mirror pointer directing Copilot to `AGENTS.md`
    - `GEMINI.md` — mirror pointer directing Gemini CLI to `AGENTS.md`
    
    Verify all 58 repo checks locally (CI, hooks, .gitignore & file limits)
    npm install -g agentlint-ai && agentlint check

    Why this 4-file harness stays drift-free

    AGENTS.md

    Single Source of Truth

    Holds architecture, fast test loops, Don't/Instead/Because boundaries, and handoff rules in the empirical 60-150 line sweet spot.

    CLAUDE.md

    @AGENTS.md Pointer

    Claude Code imports the canonical file via @AGENTS.md while keeping CLAUDE.local.md and valid PascalCase hook notes separate.

    .cursor/rules/project.mdc

    Glob-Scoped Cursor MDC

    Valid YAML frontmatter with stack-specific globs injects rules only when matching source files are open, protecting context budget.

    agentlint.yml

    Automated PR Gate

    Runs AgentLint on every harness PR with pr-comment: true and minimal permissions so quality regressions never merge silently.

    Frequently Asked Questions

    Why does the generator make AGENTS.md canonical and point CLAUDE.md to @AGENTS.md?

    Across our 4,533-repository study, teams that duplicate prose rules across CLAUDE.md, AGENTS.md, and Cursor rules suffer silent drift within weeks. Keeping AGENTS.md canonical with a thin @AGENTS.md pointer in CLAUDE.md serves Claude Code, Codex CLI, Cursor, GitHub Copilot, and Gemini CLI from one source of truth.

    How does every default stack score 95+ on AgentLint out of the box?

    Each stack preset opens with a concise architectural summary in the first 10 lines, documents both a fast single-test command and full build command, includes conditional doc pointers, writes every prohibition using Anthropic's Don't / Instead / Because formula, avoids shouting emphasis keywords and persona fluff, and wires continuity and secret guardrails.

    Is any project information uploaded when using the generator?

    No. Generation and live AgentLint scoring run 100% client-side in your browser with zero network requests.

    What does the generated .github/workflows/agentlint.yml file do?

    It runs AgentLint automatically on pull requests that touch AGENTS.md, CLAUDE.md, .cursor rules, Claude settings, workflows, or .gitignore, posting an inline PR summary via pr-comment: true with minimal GitHub token permissions.

    Lint an Existing Repo Live

    Paste an existing CLAUDE.md or scan any public GitHub repo live for an instant 0-100 score and badge.

    Open Online Linter

    Convert Existing Configs

    Migrate existing .cursorrules, CLAUDE.md, AGENTS.md, Copilot, or GEMINI.md files without losing rules.

    Open Config Converter

    Inspect All 58 Checks

    See the Anthropic, NeurIPS, ETH Zurich, and 4,533-repo evidence behind every scoring rule.

    Browse 58-Check Catalog