React Starter Kit is a full-stack monorepo template for building SaaS web applications with React, TypeScript, tRPC, and Cloudflare Workers. A monorepo keeps related applications and packages in one repository, while the template provides frontend, backend, authentication, billing, database, and development-tool foundations. The catalogue instructions, skills, and command help developers work with this starter kit.
Borrowing it
Nothing to install: this file belongs to kriasoft/react-starter-kit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/kriasoft/react-starter-kit/main/AGENTS.mdgit clone --depth 1 https://github.com/kriasoft/react-starter-kitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/kriasoft/react-starter-kit/agents-md)<a href="https://agentmods.dev/instructions/kriasoft/react-starter-kit/agents-md"><img src="https://agentmods.dev/badge/instructions/kriasoft/react-starter-kit/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/kriasoft/react-starter-kit/agents-md"><img src="https://agentmods.dev/badge/instructions/kriasoft/react-starter-kit/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01409 | $0.01409 |
| Opus 5.5 | $0.00564 | $0.00564 |
| Sonnet 5.5 | $0.00282 | $0.00282 |
| Haiku 4.5 | $0.00141 | $0.00141 |
Grade A, and why
react-starter-kit AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Monorepo Structure
apps/web/– Astro marketing site, served by an edge worker that also routes traffic to the app/api workers via service bindingsapps/app/– Main SPA (React, TanStack Router file-based routing)apps/api/– API server (Hono + tRPC + Better Auth)apps/email/– React Email templates (built before API dev server starts)packages/ui/– shadcn/ui components (new-york style)packages/core/– Shared utilitiesdb/– Drizzle ORM schemas and migrations (Neon PostgreSQL)infra/– Terraform (Hyperdrive and optional R2 storage; Wrangler owns Workers and DNS)docs/– VitePress docs;docs/adr/for architecture decision records
Tech Stack
- Toolchain: Bun >=1.4.0 (package manager, scripts, local API server), TypeScript 7.0 (native compiler), Oxlint + Oxfmt, ESM (
"type": "module") - Production runtime: Cloudflare Workers (workerd) – not Bun. Code that ships must run on Workers APIs.
- Frontend: React 19, TanStack Router, TanStack Query, Jotai, shadcn/ui (new-york), Tailwind CSS v4
- Backend: Hono, tRPC 11, Better Auth (email OTP, passkey, Google OAuth, organizations)
- Database: Neon PostgreSQL, Drizzle ORM (
snake_casecasing), Cloudflare Hyperdrive - Email: React Email, Resend
- Testing: Vitest, Happy DOM, PGlite (in-process Postgres, no service to start)
- Deployment: Cloudflare Workers (Wrangler), Terraform
Commands
bun dev # Start web + api + app concurrently
bun run build # Build email, web, api, and app workspaces
bun run test # Vitest (watch mode; --run for single run)
bun lint # Oxlint
bun run format:check # Oxfmt (bun run format writes)
bun typecheck # tsc --build (builds apps/email for its types)
bun infra:check # Terraform fmt + validate, no credentials or state
bun ui:add <component> # Add shadcn/ui component to packages/ui
bun deploy:{staging,production} # Build and deploy api → app → web; no migrations
# Per-app: bun {web,app,api}:{dev,build,deploy}; test for app/api, check for web
# Database: bun db:{push,generate,migrate,studio,seed,export}
# :staging / :production on migrate, studio, export; seed stops at :staging;
# generate is local-only, and push refuses a non-local database
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · +5 lines · +90 tokens per session d1db06336071
- 2mo ago First seen · 77 lines · 1,319 tokens per session scan A 3dc195ff07db
react-starter-kit AGENTS.md is an instructions file published in the GitHub repository kriasoft/react-starter-kit (23,707 stars, last pushed 4d ago), licensed MIT. It adds 1,409 tokens to every session, about $0.0056 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
react-starter-kit AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| react-starter-kit AGENTS.mdkriasoft/react-starter-kit | Instructions file | 24k | 4d ago | MIT | A | 1,409 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |