fullstack-template: Agent for Claude Code

.claude/agents/web.md

web is an agent for Claude Code from GRACENOBLE/fullstack-template. It costs 50 tokens per session (565 once invoked), scanned A, original, MIT.

A project-specific guide for building web pages and server features with Next.js, React, TypeScript, and Tailwind CSS. It also explains this app's folder structure and coding conventions.

In plain words
What is it for?
Use it to add or understand pages, React components, API calls, layouts, and styles in the web app.
Why use it?
It reduces guesswork about where code belongs and how this project handles routes, data loading, styling, and browser-only behavior. It also warns the agent to check the installed Next.js documentation before using version-specific features.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is GRACENOBLE/fullstack-template's own configuration. It tells Claude Code how to work on fullstack-template itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything fullstack-template configures →

Reuse

Borrowing it

Nothing to install: this file belongs to GRACENOBLE/fullstack-template. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/GRACENOBLE/fullstack-template/main/.claude/agents/web.md
Clone the repo
git clone --depth 1 https://github.com/GRACENOBLE/fullstack-template

Made for: Claude Code.

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 web

README.md
[![agentmods](https://agentmods.dev/badge/agents/gracenoble/fullstack-template/web/github.svg)](https://agentmods.dev/agents/gracenoble/fullstack-template/web)
Your own site
<a href="https://agentmods.dev/agents/gracenoble/fullstack-template/web"><img src="https://agentmods.dev/badge/agents/gracenoble/fullstack-template/web/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.

agentmods 80×15 button for web

Your own site · 80×15
<a href="https://agentmods.dev/agents/gracenoble/fullstack-template/web"><img src="https://agentmods.dev/badge/agents/gracenoble/fullstack-template/web.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 565 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00050 $0.00565
Opus 5.5 $0.00020 $0.00226
Sonnet 5.5 $0.00010 $0.00113
Haiku 4.5 $0.00005 $0.00056

Measured 1mo ago against content hash 61049a6fdbbe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • web — 100% identical, 0 lines differ
.claude/agents/web.md · 53 lines

What it actually says

You are a Next.js web app specialist for this project.

CRITICAL — Read before writing any Next.js code

Next.js 16 has breaking changes from your training data. Before writing any Next.js-specific code (routing, data fetching, layouts, caching), read the relevant section in web/node_modules/next/dist/docs/. Heed all deprecation notices.

Stack

  • Next.js 16 (App Router), React 19, TypeScript 5
  • Tailwind CSS v4 — uses @import "tailwindcss" syntax, no tailwind.config.js needed
  • pnpm as package manager

Key files

  • web/app/layout.tsx — root layout, metadata, fonts
  • web/app/page.tsx — home page (Server Component by default)
  • web/app/globals.css — global styles, Tailwind import
  • web/next.config.ts — Next.js config
  • web/tsconfig.json — check path aliases before writing imports

App Router conventions

  • Routes are app/**/(page|layout|loading|error).tsx files.
  • Default to Server Components — no "use client" unless you need useState, useEffect, event handlers, or browser APIs.
  • Data fetching: use async/await directly in Server Components. For mutations, use Server Actions.
  • API calls to the backend (:8080): make them from Server Components or Server Actions, not directly from client components.
  • Co-locate route-specific components with the route file. Shared UI → components/, utilities → lib/, types → types/.

Styling

  • Tailwind v4 only — no CSS modules, no inline styles, no styled-components.
  • Tailwind v4 syntax change: use text-foreground not text-gray-900 for semantic colors.

TypeScript rules

  • No any. Use proper interfaces, unknown, or generics.
  • Define shared types in types/. Keep component prop types inline or co-located.
  • Check tsconfig.json path aliases before creating long relative import chains.

Before finishing

Always run:

cd web && pnpm lint
cd web && pnpm build

Fix all errors before declaring work done.

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. 1mo ago First seen · 53 lines · 50 tokens per session scan A 61049a6fdbbe

Subscribe to this mod's changes

web is an agent published in the GitHub repository GRACENOBLE/fullstack-template (6 stars, last pushed 1mo ago), licensed MIT. It adds 50 tokens to every session and 565 once invoked, about $0.0002 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-09-04.

Related

Other agents, from other repositories

frontend-engineer

Frontend developer specializing in React/TypeScript with Clean Architecture, component-driven design, and accessibility.

cdeust/ai-architect-mcp-codebase · 22 tokens

astro-developer

SCOPE: ASTRO LANDING PAGE ONLY This agent is EXCLUSIVELY for the Dingo landing page (Astro, React, TypeScript in /langingpage/ directory). ❌ DO NOT USE for: Dingo transpiler/language development (use golang-developer instead) Go code in /cmd/, /pkg/, /internal/ (use golang-developer instead) Parser or AST work (use…

MadAppGang/dingo · 753 tokens

Expert React Frontend Engineer

Expert React 19.2 frontend engineer specializing in modern hooks, Server Components, Actions, TypeScript, and performance optimization.

github/awesome-copilot · 30 tokens

Frontend Developer

React/TypeScript specialist for CoreAI DIY frontend development with React Flow, Zustand, and Tailwind CSS.

microsoft/skills · 24 tokens

angular-reviewer

Angular 22 and TypeScript code review specialist — Signals, Signal Forms (stable), standalone components, RxJS, performance, zoneless change detection, httpResource.

TheBeardedBearSAS/claude-craft · 36 tokens

react-frontend-development-expert

Expert React frontend developer that provides React 19, Vite, TypeScript, Tailwind CSS, and shadcn/ui capabilities. MUST BE USED for React frontend development tasks, component design, state management, UI implementation, and best practices. Use PROACTIVELY for building modern, responsive, and accessible React…

giuseppe-trisciuoglio/developer-kit · 78 tokens