monorepo / applications
AGENTS.md2 starsChanged 2 months agoApache-2.0View on GitHub
Family-shared notes for everything under applications/. Per-project deltas live in each app's own AGENTS.md; monorepo-wide rules live in the root AGENTS.md / CLAUDE.md. Every app keeps its own .env + .env.default in its project root. Local port map (from .env.default files): developer 6020, server 6021, admin 6022 (6023 is reserved for a CMS app), email 6024, website 6025; Postgres 6010, Redis 6011. Workbench (Storybook) runs on 6006, outside the 60xx block — see openthrottle-workbench/AGENTS.md. Apps with tests/e2e/ run Maestro flows…
- Reads credentials
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository27 other files it gives its agents.
- AGENTS.mdAGENTS.md
- databases/AGENTS.mdAGENTS.md
- infra/AGENTS.mdAGENTS.md
- packages/AGENTS.mdAGENTS.md
- skills/AGENTS.mdAGENTS.md
- tools/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/nx-rules.mdcCursor rule
- frontend-designSkill
- grillingSkill
- improveSkill
- link-workspace-packagesSkill
- monitor-ciSkill
- nx-workspaceSkill
- agents-ralphSkill
- github-commitSkill
- github-pull-requestSkill
- github-squashSkill
- ot-foldersSkill
- ot-generatorsSkill
- ot-loopSkill
- ot-onboardingSkill
- ot-plansSkill
- ot-postgresSkill
- ot-skill-syncSkill
- ot-stackSkill
- ot-worktreeSkill
The file
We split this AGENTS.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Every app keeps its own .env + .env.default in its project root.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.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
applications/ — agent notes
Family-shared notes for everything under applications/. Per-project deltas live in each app's own AGENTS.md; monorepo-wide rules live in the root AGENTS.md / CLAUDE.md.
What lives here
- Three React Router v8 + Vite apps:
openthrottle-developer,openthrottle-admin,openthrottle-website. - One NestJS app:
openthrottle-server— the only backend, owner of the code-first GraphQL schema (schema.gql). - One Storybook host:
openthrottle-workbench— Storybook 10 for@openthrottle/react-router-shadcn. Not a React Router app;production:false, local dev tool only, never deployed. Seeopenthrottle-workbench/AGENTS.md. openthrottle/is not an Nx project (nopackage.json): a standalone consumer-installdocker-compose.yml+ Dockerfiles running published images. Local dev Postgres/Redis come from the rootdocker-compose.ymlviapnpm run database:start, not this directory.
Ports and env
Every app keeps its own .env + .env.default in its project root. Local port map (from .env.default files): developer 6020, server 6021, admin 6022 (6023 is reserved for a CMS app), email 6024, website 6025; Postgres 6010, Redis 6011. Workbench (Storybook) runs on 6006, outside the 60xx block — see openthrottle-workbench/AGENTS.md.
React Router app family conventions
dev/build/starttargets are inferred by@nx/react/router-plugin(see rootnx.json), so they do not appear in an app'spackage.jsonnx.targets. The realtypechecktarget is explicit per app; the plugin's inferred one is renamed__NOT_USED__typecheck.- Layout:
app/routes/route modules (registered inapp/routes.ts) stay thin and delegate toapp/routing/<area>/feature folders (components/,data/,hooks/,utils/), imported via the~/*→app/*tsconfig alias. Component vs data file boundaries:docs/monorepo/code-style.md. - GraphQL entity props on components/hooks/fixtures are typed from generated
XxxFragmenttypes, notNonNullable<Route.ComponentProps['loaderData']['x']>orNonNullable<GetXQuery['field']>:packages/graphql-codegen/README.md. app/__generated__/is codegen output from the per-appcodegen-graphql/codegen-react-routertargets — regenerate, never hand-edit. Fresh worktrees need codegen to run before Vitest suites can even collect.tests/setup.tsis the single sharedsetupReactRouterTestcall (root CLAUDE.md); app-specific jsdom shims stay local in that file rather than moving into@openthrottle/react-router-testing(see the developer app's WebGL/visualViewportshims).
E2E
Apps with tests/e2e/ run Maestro flows via pnpm nx run <app>:test-e2e (configurations: smoke, full, watch, record, studio; cwd is tests/e2e/). Run E2E against a production build (build, then NODE_ENV=production react-router-serve ./build/server/index.js), not the Vite dev server. react-router-serve does not auto-load env files — source .env.default first. Canonical write-up: openthrottle-developer/tests/e2e/README.md.
Server/schema gotcha that affects everyone
autoSchemaFile is the cwd-relative string 'schema.gql' (set in packages/nestjs-graphql), and the openthrottle-server dev/start targets run with cwd at the project root, so booting pnpm nx run openthrottle-server:dev writes applications/openthrottle-server/schema.gql. That is the single committed schema; every consumer reads it via @openthrottle/graphql-codegen's defineCodegen. Boot, then run consumer codegen and commit both.
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.

