agentleFS
rgaddargadda/frontend-eng-team/CLAUDE.md

frontend-eng-team

CLAUDE.md8 starsChanged 4 months agoMITView on GitHub

This file is auto-loaded by Claude Code on every session. Compact by design — it seeds project identity and points at canonical rules. Agents must read and respect everything referenced here before taking any action. Type: React SPA with Node.js/REST backend Your role in this session: Read AGENTS.md to determine your current role. Obey its contract exactly. All coding conventions — TypeScript, React, HTTP client, styling, file structure, naming, testing (unit + E2E), hard never-dos, accessibility baseline, performance baseline, security/SRE…

The file

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

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Your role in this session: Read AGENTS.md to determine your current role.

    line 12
  2. Distinctive:

    Flag assumptions explicitly: If you're making a decision not in the task spec, say so.

    line 45
  3. Distinctive:

    Respect existing patterns: Read the surrounding code before writing.

    line 47
  4. Distinctive:

    Flag new dependencies: If a task requires a new npm package, stop and ask before installing.

    line 48
  5. Distinctive:

    Be direct: No preamble. Get to the plan or the code.

    line 49

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.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
CLAUDE.md

Frontend Project — Claude Code Project Identity

This file is auto-loaded by Claude Code on every session. Compact by design — it seeds project identity and points at canonical rules. Agents must read and respect everything referenced here before taking any action.


Project

Type: React SPA with Node.js/REST backend Your role in this session: Read AGENTS.md to determine your current role. Obey its contract exactly.


Tech Stack

LayerTechnologyNotes
UI FrameworkReact 18 (functional only)No class components. Ever.
LanguageTypeScript 5 (strict mode)No any. Explicit return types on public functions.
BuildViteNo webpack config, no CJS imports
StylingCSS3 + CSS ModulesCo-located .module.css files. No inline styles except dynamic values.
HTTP ClientAxiosCentralized instance with interceptors. No raw fetch in feature code.
StateContext + hooksNo Redux unless it already exists in a file
APIRESTTyped with interfaces, never any response shapes
Unit TestingJest + React Testing LibraryCo-located .test.tsx files
E2E TestingPlaywrightTests in e2e/ directory at project root
LintingESLint + PrettierMatch existing file style before writing
Package ManagernpmLockfile must be committed

Conventions

All coding conventions — TypeScript, React, HTTP client, styling, file structure, naming, testing (unit + E2E), hard never-dos, accessibility baseline, performance baseline, security/SRE baseline — live in .agents/conventions.md. Read that file once and enforce every rule at the severity it specifies (CRITICAL / RECOMMENDED / OPTIONAL). This CLAUDE.md file intentionally does not restate them; .agents/conventions.md is the single canonical source. Subagents that do not inherit CLAUDE.md must load .agents/conventions.md explicitly.


Communication Rules

These apply to every agent in every role:

  • Architecture before code. For any change touching more than one file, state the plan first.
  • Flag assumptions explicitly. If you're making a decision not in the task spec, say so.
  • Surface trade-offs. Two reasonable approaches? Name both with a one-line rationale each.
  • Respect existing patterns. Read the surrounding code before writing. Match what's there.
  • Flag new dependencies. If a task requires a new npm package, stop and ask before installing.
  • Be direct. No preamble. Get to the plan or the code.

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.