frontend-stack-blueprint CLAUDE.md

frontend-stack-blueprint CLAUDE.md is an instructions file for coding agents from barrosohub/frontend-stack-blueprint. It costs 2,067 tokens per session, scanned A, original, MIT.

A repository instruction document defining a standard frontend stack and development rules. It covers tools such as TypeScript, React, Vite, testing libraries, styling systems, forms, and code-quality checks.

In plain words
What is it for?
Use it when creating or reviewing frontend applications, selecting dependencies, setting up builds and tests, defining styling and UI conventions, or checking project governance.
Why use it?
It gives agents a shared technical baseline for new frontend projects and explains the required architecture and reliability practices.

Instructions file

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/claude-md
Clone the repo
git clone --depth 1 https://github.com/barrosohub/frontend-stack-blueprint

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 CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/barrosohub/frontend-stack-blueprint/claude-md.svg)](https://agentmods.dev/instructions/barrosohub/frontend-stack-blueprint/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/barrosohub/frontend-stack-blueprint/claude-md"><img src="https://agentmods.dev/badge/instructions/barrosohub/frontend-stack-blueprint/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,067 This file is loaded in full into every session.
When invoked 2,067 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.02067 $0.02067
Opus 5 $0.01033 $0.01033
Sonnet 5 $0.00413 $0.00413
Haiku 4.5 $0.00207 $0.00207

Measured 5d ago against content hash e49103fef80f, 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 CLAUDE.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 5d 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.

CLAUDE.md · 172 lines

How it starts

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

Frontend Stack Blueprint v2.0.0

This repository defines the canonical frontend stack for any new frontend project. It is platform-agnostic — the same stack applies whether the project targets browser, desktop, or anything else.

The Stack (use for EVERY project)

  • Language: TypeScript ≥7 (strict mode, no any)
  • UI: React ≥19.2.7 (function product components; class Error Boundaries allowed)
  • Routing: TanStack Router ≥1 (default) or React Router ≥8
  • Tooling: pnpm ≥11.18, Node.js 24 LTS (minimum 22.22), Bun ≥1 (alternative runtime)
  • Build: Vite ≥8
  • Test: Vitest ≥4; Playwright ≥1.61 for user-facing deployed applications
  • Quality: protected CI merge gate + Husky + lint-staged + ESLint + Prettier
  • Components: Base UI default; Radix UI/React Aria alternatives; Floating UI, Embla Carousel, cmdk
  • Pre-styled UI: shadcn/ui with an explicit primitive base
  • Styling: Tailwind CSS ≥4 + clsx + tailwind-merge (no CSS-in-JS ever)
  • Animations: Motion (formerly Framer Motion) — import from 'motion/react'
  • DESIGN.md Design Contract (provisional, optional): root DESIGN.md for product visual intent and source tokens
  • Forms: React Hook Form + Zod
  • Data Access (optional): Prisma ≥7
  • Authentication (optional): Better Auth ≥1
  • Managed Services (optional): Neon Postgres, Cloudflare D1, Cloudflare R2, Cloudflare KV, Resend
  • Dates: date-fns ≥4.1 (+@date-fns/tz for timezones)
  • State: Zustand (no Redux, MobX) — TanStack Store remains under evaluation
  • Server State: TanStack Query ≥5.60.60
  • Rich Text: Lexical (primary), ProseMirror (fallback only)
  • Syntax: Shiki
  • Advanced Capabilities (optional): secure Markdown, TanStack Table, Recharts, Mermaid, CodeMirror, xterm.js/node-pty, Yjs, PDF.js
  • i18n: Format.js + react-intl
  • Observability: Sentry, OpenTelemetry, and Statsig only when their operational capability applies
  • Icons: Lucide (default), Phosphor or Tabler as alternatives

Read the full file on GitHub · 172 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. 5d ago First seen · 172 lines · 2,067 tokens per session scan A e49103fef80f

Subscribe to this mod's changes

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