docs
AGENTS.md0 starsChanged 58 days agoMITView on GitHub
Public documentation for RevenueDot. Follow prd/ecosystem/PRD.md in revenuedot/revenuedot.
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 repository2 other files it gives its agents.
- llms-full.txtllms.txt
- llms.txtllms.txt
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are 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.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Keep
llms.txt,llms/andllms-full.txtin sync: run npm run build:llms after any page change. - Very specific: line 10
Every claim about RevenueCat or another vendor needs a source link.
≈ “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
AGENTS.md
Public documentation for RevenueDot. Follow prd/ecosystem/PRD.md in revenuedot/revenuedot.
- API reference pages are generated, never hand-edited. Edit
scripts/openapi/*.mjs(the OpenAPI source), thennpm run build.npm run check:driftcompares the document with the server's route files in../revenuedot; fix the spec whenever the server changes. - Every page has frontmatter (
title,description) and one H1 equal to the title.npm run check:pagesenforces it. - Reference pages are generated from data, never hand-edited.
data/errors/*.jsonbecomesdocs/errors/(Apple StoreKit 2 errors, Google Play Billing response codes, purchases SDK error codes),data/notifications/*.jsonbecomesdocs/notifications/(App Store Server Notifications v2 types and subtypes, Google Play real-time developer notification types) anddata/webhooks/*.jsonbecomesdocs/webhooks/(the RevenueDot webhook event types). Edit the data file, runnpm run build;npm run check:errorsis the quality gate for all three (a vendor source link, a link to the RevenueDot source file for any behavior it states, a code block, cause and fix sections, a unique one-sentence answer, a unique description and example, 170 words minimum, webhook events present inapi/webhook-events.md, and no drift from the data file). A thin entry is not generated. Take causes only from the vendor's page or the SDK and server source and link it; never invent one.npm run check:snippetstype-checks Swift snippets on a Mac and runs Node snippets anywhere (they must print the entry'sexpecttext); Kotlin snippets are marked "Not compiled". A new family of pages also needs a section inscripts/gen-llms.mjsand in the site'sSECTIONS(apps/site/src/lib/docs.tsin revenuedot/revenuedot). - Keep
llms.txt,llms/andllms-full.txtin sync: runnpm run build:llmsafter any page change. A new folder of pages needs a section inscripts/gen-llms.mjs. - Before committing:
npm run build && npm run checkmust pass. A push tomaindeploys revenuedot.app (.github/workflows/deploy-site.yml), so check that the site renders the pages too:pnpm --filter site build && pnpm --filter site checkin../revenuedot. - Every claim about RevenueCat or another vendor needs a source link. Never copy RevenueCat's docs text or anything from revenuedot/company.
- Record progress in
docs/STATUS.mdin revenuedot/revenuedot. Private material goes to revenuedot/company.
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.

