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…
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ai-dev-workflowCopilot instructions
- component-conventionsSkill
- loop-engineeringSkill
- pm-clarifySkill
- pr-prepSkill
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
- Distinctive: line 12
Your role in this session: Read AGENTS.md to determine your current role.
- Distinctive: line 45
Flag assumptions explicitly: If you're making a decision not in the task spec, say so.
- Distinctive: line 47
Respect existing patterns: Read the surrounding code before writing.
- Distinctive: line 48
Flag new dependencies: If a task requires a new npm package, stop and ask before installing.
- Distinctive: line 49
Be direct: No preamble. Get to the plan or the code.
≈ “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.
Files
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
| Layer | Technology | Notes |
| UI Framework | React 18 (functional only) | No class components. Ever. |
| Language | TypeScript 5 (strict mode) | No any. Explicit return types on public functions. |
| Build | Vite | No webpack config, no CJS imports |
| Styling | CSS3 + CSS Modules | Co-located .module.css files. No inline styles except dynamic values. |
| HTTP Client | Axios | Centralized instance with interceptors. No raw fetch in feature code. |
| State | Context + hooks | No Redux unless it already exists in a file |
| API | REST | Typed with interfaces, never any response shapes |
| Unit Testing | Jest + React Testing Library | Co-located .test.tsx files |
| E2E Testing | Playwright | Tests in e2e/ directory at project root |
| Linting | ESLint + Prettier | Match existing file style before writing |
| Package Manager | npm | Lockfile 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.
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
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.

