agentleFS
mugnavomugnavo/tanstarter/AGENTS.md

tanstarter

AGENTS.md1.4k starsChanged 56 days agoUnlicenseView on GitHub

Before editing files for a substantial task: This project is using Vite+, a unified toolchain built on top of Vite, Rolldown, Vitest, tsdown, Oxlint, Oxfmt, and Vite Task. Vite+ wraps runtime management, package management, and frontend tooling in a single global CLI called vp. Vite+ i

  • Reads credentials

1 other project uses a version of this.

Trending

Quiet since September.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 5 mentionsJun 2026: 0 mentionsJul 2026: 2 mentionsAug 2026: 1 mentionSep 2026: 2 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the mugnavo/tanstarter repository that our weekly crawl found: only 10 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about mugnavo/tanstarter

The biggest 5 of 10 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 10

Talked about on GitHub (10 times).

On GitHub · 10

5 more on GitHub
  • Other versions1 project uses a version of this.

    Word for word · 1

    1. dotnize/react-tanstarter★ 1.4k100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 31,700 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 repositoryOne other file it gives its agents.

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

14 rules. About 0 are common, 6 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use shadcn CLI (vpr ui add <component>) for adding new UI components & primitives.

    line 6
  2. Very specific:

    Use lucide-react for UI icons (use Icon suffix, e.g.

    line 7
  3. Distinctive:

    Keep UI copy user-centered: describe outcomes and next actions concisely without exposing providers, internal states, or implementation …

    line 8
  4. Very specific:

    Don't run a standalone build after every little change.

    line 9
  5. Very specific:

    Treat .env.schema as the environment-variable source of truth.

    line 11
  6. Distinctive:

    Prefer straightforward solutions for current requirements.

    line 15
  7. Distinctive:

    Keep the main control flow easy to follow.

    line 16
  8. Distinctive:

    Keep types simple and close to where they are used.

    line 18
  9. Distinctive:

    Add concise comments only for non-obvious intent, unusual edge cases, and important constraints.

    line 21
  10. Distinctive:

    Before editing files for a substantial task:

    line 37
  11. Very specific:

    Run vpx @tanstack/intent@latest list from the workspace root to see available local skills.

    line 39
  12. Very specific:

    If a listed skill matches the task, run vpx @tanstack/intent@latest load <package>#<skill> before changing files.

    line 40
  13. Very specific:

    Use the loaded SKILL.md guidance while making the change.

    line 41
  14. Very specific:

    Run vp toolchain to show versions and relationships in the active Vite+ release.

    line 65

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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

Agent Guidelines

Essentials

  • Stack: TypeScript + React (TanStack Start), with Drizzle ORM, shadcn/ui, and Better Auth.
  • Use shadcn CLI (vpr ui add <component>) for adding new UI components & primitives.
  • Use lucide-react for UI icons (use Icon suffix, e.g. import { Loader2Icon } from "lucide-react"); for brand icons use @icons-pack/react-simple-icons (e.g. SiGithub).
  • Keep UI copy user-centered: describe outcomes and next actions concisely without exposing providers, internal states, or implementation details.
  • Don't run a standalone build after every little change. Use vpr lint as the baseline and run the narrowest relevant tests described in the testing guidelines; vpr test:e2e performs its own production build.
  • For running scripts, use vpr, which is a shorthand for vp run.
  • Treat .env.schema as the environment-variable source of truth. In application code, import ENV from varlock/env instead of reading process.env directly. Never read local env files; validate safely with vp exec varlock load --agent.

Code style

  • Prefer straightforward solutions for current requirements. Introduce abstractions, generic utilities, extensibility, or architectural layers only when there is a concrete need.
  • Keep the main control flow easy to follow. Avoid wrapper layers that merely rename or forward calls and fragmentation that creates unnecessary jumps between files or functions.
  • Extract helpers only when they meaningfully improve readability, reuse, or testability.
  • Keep types simple and close to where they are used. Prefer inference and avoid type gymnastics unless necessary.
  • Be robust at system boundaries such as user input, auth, external APIs, and persistence. Within trusted boundaries, rely on established invariants instead of guarding against hypothetical states.
  • Handle edge cases in proportion to their likelihood and impact. Avoid adding complexity for contrived, extremely unlikely, low-impact scenarios outside normal supported use, while preserving applicable security and data-integrity requirements.
  • Add concise comments only for non-obvious intent, unusual edge cases, and important constraints. Briefly explain why, not what.

Topic-specific Guidelines

  • Data flow - TanStack Start/Router + Query data loading, cache behavior, mutations, and server boundaries
  • Auth patterns - Route guards, middleware, auth utilities
  • Database conventions - Drizzle column types and generated Better Auth schema ownership
  • Observability - evlog request context, structured errors, and safe event logging for server-side features
  • Testing - What to test, Vitest/Playwright boundaries, commands
  • TypeScript conventions - Casting rules, prefer type inference
  • Workflow - Workflow commands, validation approach
<!-- intent-skills:start -->

Skill Loading

Before editing files for a substantial task:

  • Run vpx @tanstack/intent@latest list from the workspace root to see available local skills.
  • If a listed skill matches the task, run vpx @tanstack/intent@latest load <package>#<skill> before changing files.
  • Use the loaded SKILL.md guidance while making the change.
  • Monorepos: when working across packages, run the skill check from the workspace root and prefer the local skill for the package being changed.
  • Multiple matches: prefer the most specific local skill for the package or concern you are changing; load additional skills only when the task spans multiple packages or concerns.
<!-- intent-skills:end --><!--VITE PLUS START-->

Using Vite+, the Unified Toolchain for the Web

This project is using Vite+, a unified toolchain built on top of Vite, Rolldown, Vitest, tsdown, Oxlint, Oxfmt, and Vite Task. Vite+ wraps runtime management, package management, and frontend tooling in a single global CLI called vp. Vite+ is distinct from Vite, and it invokes Vite through vp dev and vp build. Run vp help to print a list of commands and vp <command> --help for information about a specific command.

Docs are local at node_modules/vite-plus/docs or online at https://viteplus.dev/guide/.

Built-in Commands vs Scripts

vp <name> runs a built-in command. vp run <name> runs a package.json script or a vite.config.ts task. Scripts cannot overwrite built-ins, so vp dev and vp run dev may do different things. Check package.json and vite.config.ts first, and run vp run <name> when the project defines a script or task with that name.

Running Scripts

Run TypeScript and JavaScript files with vpx <file>, for example vpx ./scripts/seed.ts --dry-run. It handles enums, decorators, JSX, and tsconfig paths, so do not add tsx or ts-node to run scripts. vpx --watch <file> reruns the file when a file it uses changes, in place of tsx watch. vp node <file> runs plain Node.js.

Tool Versions

Run vp toolchain to show versions and relationships in the active Vite+ release. Add a tool name to select part of the graph. For example, run vp toolchain vite. Use --global to ignore the local vite-plus package. Use vp why <package> to show the package-manager dependency graph.

Review Checklist

  • Run vp install after pulling remote changes and before getting started.
  • Run vp check and vp test to format, lint, type check and test changes.
  • Check if there are vite.config.ts tasks or package.json scripts necessary for validation, run via vp run <script>.
  • If setup, runtime, or package-manager behavior looks wrong, run vp env doctor and include its output when asking for help.
<!--VITE PLUS END-->

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.