agentic-product-starter
AGENTS.md5 starsChanged 19 days agoMITView on GitHub
Read this first, then the AGENTS.md in the component you are working on. When a shared skill and a platform skill disagree on how to build, the platform skill wins. On what to build, the spec and ADRs win.
- Reads credentials
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,040 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 repository37 other files it gives its agents.
- backend/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- accessibilitySkill
- architecture-decisionsSkill
- ask-mattSkill
- codebase-designSkill
- code-reviewSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- dora-metricsSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- implementSkill
- implement-specSkill
- improve-codebase-architectureSkill
- observabilitySkill
- prototypeSkill
- prSkill
- rename-productSkill
- researchSkill
- retroSkill
- security-auditSkill
- setup-integrationsSkill
- setup-matt-pocock-skillsSkill
- tddSkill
- teachSkill
- to-questionnaireSkill
- to-specSkill
- to-ticketsSkill
- triageSkill
- update-dependenciesSkill
- wait-whatSkill
- wayfinderSkill
- wizardSkill
- writing-for-agentsSkill
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 1 is common, 3 are distinctive, and 1 is very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈3
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
- could be automatic: a setting could enforce it
- Distinctive: line 3
Read this first, then the AGENTS.md in the component you are working on.
- Distinctive: line 23
When a shared skill and a platform skill disagree on *how to build*, the platform skill wins.
- Distinctive: line 40
Every feature works end to end before it ships: unit, UI and end-to-end tests.
- Common: line 47
Never commit secrets, keys or customer data.
- Very specific: line 62
Default labels: needs-triage, needs-info, ready-for-agent, ready-for-human, wontfix.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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
Agent guide
Read this first, then the AGENTS.md in the component you are working on.
Context
- Product context:
docs/product/. Domain language:GLOSSARY.md(created when terms get settled). - Architecture:
docs/architecture/README.md(arc42 + C4 diagrams). Decisions:docs/adr/(MADR 4, indexed indocs/adr/README.md). - Shared skills:
.agents/skills/(see its README for which skill to use at each stage). - Platform skills:
<component>/.agents/skills/.
The agentic SDLC
- Shape –
grill-me,wayfinder,research,prototype - Refine –
grill-with-docs,domain-modeling,architecture-decisions - Specify –
to-spec(a GitHub issue) - Plan –
to-tickets,triage - Build – read the architecture overview and ADRs (
architecture-decisions), thenimplement/implement-spec+tdd, plus the component's platform skills - Review –
code-review,prand thearchitecture-decisionschecklist; all CI checks must be green - Fix and improve –
diagnosing-bugs,improve-codebase-architecture - Learn –
retro,handoff
When a shared skill and a platform skill disagree on how to build, the platform skill wins. On what to build, the spec and ADRs win.
Components
| Folder | What it is | Agent guide |
apps/ios | Native iOS app (SwiftUI) | apps/ios/AGENTS.md |
apps/android | Native Android app (Jetpack Compose) | apps/android/AGENTS.md |
apps/web-app | Customer web app (React) | apps/web-app/AGENTS.md |
apps/back-office | Admin and support tool (React) | apps/back-office/AGENTS.md |
apps/website | One-page landing website | apps/website/AGENTS.md |
backend | .NET API for every app | backend/AGENTS.md |
design | Design tokens for every app | design/README.md |
Shared rules
- One branch per ticket. Conventional commits (
feat:,fix:,chore:,docs:,test:,refactor:). - Every feature works end to end before it ships: unit, UI and end-to-end tests.
- Unfinished work is merged behind a feature flag that defaults to off.
- Environments: Dev, SYST, Prod. Never point local work at Prod.
- Architecture first: before coding, read
docs/architecture/README.mdand the accepted ADRs in the area. Never silently work around an ADR; a change that alters a decision adds a new ADR (superseding the old one) and updates the overview and diagrams in the same pull request. - Product name: never hard-code it in a new place without teaching
scripts/rename.mjs(the Rename check fails otherwise). Use therename-productskill to rename. - Colours, spacing and type come only from
design/tokens.json. Change it there and runnode design/build.mjs. - One flow across apps: a change to accounts, profile or feature flags updates the backend and every app that uses it in the same pull request.
- Never commit secrets, keys or customer data. This repository is public. Secret push protection blocks known key formats.
- Third-party services: every key or ID is optional and listed in
config/integrations.jsonand.env.example. Apps read them from environment variables or.env.local, never from code. Add a new one there first (the Setup check fails otherwise); use thesetup-integrationsskill. - Accessibility: every screen meets WCAG 2.2 AA (
accessibilityskill). New screens are added to the accessibility tests on their platform; never weaken the contrast check or skip an audit to make CI green. - Observability: new user-facing behaviour gets a metric and a dashboard panel (
observabilityskill). No personal data in logs, traces or metric tags. - Incidents: when customers are affected in production, open an issue from the Incident template and close it when service is restored; it feeds the DORA metrics (
dora-metricsskill). - Dependencies: new ones must pass Dependency review; fix vulnerabilities with the
security-auditskill and update with theupdate-dependenciesskill. Stable versions only.
Agent skills
Issue tracker
Issues and specs live in this repo's GitHub Issues (gh CLI). See docs/agents/issue-tracker.md.
Triage labels
Default labels: needs-triage, needs-info, ready-for-agent, ready-for-human, wontfix. See docs/agents/triage-labels.md.
Domain docs
Single-context: one GLOSSARY.md and docs/adr/ at the repo root. ADRs use MADR 4 (docs/adr/template.md) and the architecture overview is docs/architecture/README.md. See docs/agents/domain.md and the architecture-decisions skill.
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.

