frontend-stack-blueprint AGENTS.md

frontend-stack-blueprint AGENTS.md is an instructions file for Codex, OpenCode from barrosohub/frontend-stack-blueprint. It costs 1,730 tokens per session, scanned A, original, MIT.

A set of project instructions defining a standard frontend technology stack and engineering rules. Frontend means the part of an application that users see and interact with.

In plain words
What is it for?
Use it when starting or reviewing web projects built with TypeScript, React, Vite, Tailwind CSS, and related tools.
Why use it?
It gives developers one reference for required tools, versions, architecture, testing, formatting, and optional services.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/barrosohub/frontend-stack-blueprint/agents-md
Clone the repo
git clone --depth 1 https://github.com/barrosohub/frontend-stack-blueprint

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for frontend-stack-blueprint AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/barrosohub/frontend-stack-blueprint/agents-md.svg)](https://agentmods.dev/instructions/barrosohub/frontend-stack-blueprint/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/barrosohub/frontend-stack-blueprint/agents-md"><img src="https://agentmods.dev/badge/instructions/barrosohub/frontend-stack-blueprint/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,730 This file is loaded in full into every session.
When invoked 1,730 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.01730 $0.01730
Opus 5 $0.00865 $0.00865
Sonnet 5 $0.00346 $0.00346
Haiku 4.5 $0.00173 $0.00173

Measured 3d ago against content hash 252bd6d3e27f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

frontend-stack-blueprint 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 3d 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.

AGENTS.md · 143 lines

How it starts

The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Frontend Stack Blueprint

Canonical frontend stack for any new project. Platform-agnostic. Deployment targets (Cloudflare Workers/Pages, Vercel, Electron, Tauri, PWA) are optional add-ons.

Stack (ALL projects)

TypeScript ≥7 strict · React ≥19.2.7 · TanStack Router ≥1 (or React Router ≥8) pnpm ≥11.18 · Node.js 24 LTS (minimum 22.22) · Bun ≥1 (runtime alternative) Vite ≥8 · Vitest ≥4 · Playwright ≥1.61 for deployed UI · protected CI merge gate Husky + lint-staged + ESLint + Prettier Base UI (default) · Radix/React Aria (alternatives) · shadcn/ui · Floating UI · Embla · cmdk Tailwind CSS ≥4 + clsx + tailwind-merge · Motion (import from 'motion/react') DESIGN.md Design Contract (provisional, optional): root DESIGN.md → generated Tailwind 4 tokens React Hook Form + Zod · date-fns ≥4.1 (+@date-fns/tz) Data Access (optional): Prisma ≥7 Authentication (optional): Better Auth ≥1 Managed Services (optional): Neon Postgres | Cloudflare D1 | Cloudflare R2 | Cloudflare KV | Resend Zustand · TanStack Query ≥5.60 (TanStack Store remains under evaluation) Lexical (primary) · ProseMirror (fallback) · Shiki Advanced Capabilities (optional): Markdown · TanStack Table · Recharts · Mermaid · CodeMirror · xterm/node-pty · Yjs · PDF.js Format.js · react-intl · Sentry / OpenTelemetry / Statsig (capability-gated) Icons: Lucide (default) | Phosphor | Tabler

Architecture (MANDATORY)

Feature-based modules · Strong typing (no any) · DRY · KISS · YAGNI Composition > inheritance · Logic in hooks · Tests required (Vitest) Protected CI required · Husky optional · React Compiler 1.x opt-in after compatibility checks Always cn() for Tailwind classes · Always @/* path aliases

Production Reliability (MANDATORY by applicable profile)

CI is authoritative: frozen lockfile · typecheck · lint · unit/integration · production build · critical E2E WCAG 2.2 AA: axe automation + keyboard/focus/zoom/reflow + manual screen-reader journey Field targets: LCP ≤2.5s · INP ≤200ms · CLS ≤0.1 at p75; route-aware asset budgets required Browser target: Baseline Widely Available by default + explicit matrix and progressive enhancement Networked UI: typed env · fetch + AbortSignal/timeout · Zod responses · MSW degraded scenarios Production operation: preview smoke · immutable release ID · privacy policy · rollout + rollback runbook

Read the full file on GitHub · 143 lines

Changes

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.

  1. 3d ago First seen · 143 lines · 1,730 tokens per session scan A 252bd6d3e27f

Subscribe to this mod's changes

frontend-stack-blueprint AGENTS.md is an instructions file published in the GitHub repository barrosohub/frontend-stack-blueprint (3 stars, last pushed 1mo ago), licensed MIT. It adds 1,730 tokens to every session, about $0.0086 per session on Opus 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-31.