rayfin / site
AGENTS.md646 starsChanged 24 days agoMITView on GitHub
Scope: Docusaurus site under docs/site for Contributors. Use the Rush docs subspace. - Install deps: rush update --subspace docs - Dev server: cd docs/site && rushx start - Build: cd docs/site && rushx build or rush build --to docs-site - Serve static: cd docs/site && rushx serve (pass additional Docusaurus flags after --) - Lint markdown: rush docs:lint - Always run rushx commands from docs/site. - If a command fails, capture the full terminal output and confirm pwd before trying…
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 4
Use the Rush docs subspace.
- Very specific: line 17
Always run rushx commands from docs/site.
- Very specific: line 18
If a command fails, capture the full terminal output and confirm pwd before trying anything else.
- Distinctive: line 20
If the recommended command does not work, pause and ask for help rather than trying random variants.
≈ “Common” is an estimate: at least 1 in 5 of the 36,368 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
Docs Site AGENTS
Scope: Docusaurus site under docs/site for Contributors.
Use the Rush docs subspace.
Commands
- Install deps:
rush update --subspace docs - Dev server:
cd docs/site && rushx start - Build:
cd docs/site && rushx buildorrush build --to docs-site - Serve static:
cd docs/site && rushx serve(pass additional Docusaurus flags after--) - Lint markdown:
rush docs:lint
Guardrails
- Always run
rushxcommands fromdocs/site. - If a command fails, capture the full terminal output and confirm
pwdbefore trying anything else. - If the recommended command does not work, pause and ask for help rather than trying random variants.
Content Sources
The site renders two distinct kinds of content through a unified SDK Reference sidebar plus a separate Guide section:
- Handwritten package docs (
kind: 'guide'andkind: 'reference'with hand-written assets): discovered at config-load time by@microsoft/rayfin-docswalking the workspace and reading each package'srayfinDocsmanifest. Source of truth lives in each package'sassets/docs/folder. - Generated TypeScript SDK API reference: TypeDoc emits per-module
trees into
packages/docgen/dist/ts-sdk/@microsoft/<module>/.docusaurus.config.tsmirrors them intodocs/site/.ts-sdk-unified/at config-load time and renders them through one Docusaurus docs plugin instance. Edit-this-page links are suppressed for TypeDoc-backed modules because the markdown is generated.
Conventions
- Generated site output:
docs/site/build/ - Cache invalidation: docs-site's
devDependenciesinclude@rayfin/docgen(which transitively pulls in every SDK package whose API reference is generated) plus@microsoft/rayfin-guide(handwritten content not covered by docgen). Rush's build cache therefore invalidates correctly when any documented package source changes. - TS SDK route:
/docs/ts-sdk/<rayfin-module>(all modules served by a single Docusaurus docs plugin against.ts-sdk-unified/). - Shared landing route:
docusaurus.config.tscomputestsApiLandingPathonce and surfaces it viasiteConfig.customFields; the navbar and the homepage CTAs read from the same value to prevent drift. - Config:
onBrokenLinks: 'ignore'; fix broken links in package-owned docs at the source package. - Dependencies: from
docs/site, runrush add -p <pkg> --dev.
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 28,693 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 repository76 other files it gives its agents.
- common/config/typedoc/AGENTS.mdAGENTS.md
- .github/skills/react-best-practices/AGENTS.mdAGENTS.md
- packages/docgen/AGENTS.mdAGENTS.md
- packages/guide/AGENTS.mdAGENTS.md
- packages/host-docs/AGENTS.mdAGENTS.md
- packages/tools/AGENTS.mdAGENTS.md
- packages/tools/cli/AGENTS.mdAGENTS.md
- packages/tools/cli/assets/agent-files/AGENTS.mdAGENTS.md
- packages/tools/common/AGENTS.mdAGENTS.md
- packages/tools/docs-lib/AGENTS.mdAGENTS.md
- packages/tools/mcp/AGENTS.mdAGENTS.md
- packages/tools/vscode/AGENTS.mdAGENTS.md
- packages/typescript-sdk/AGENTS.mdAGENTS.md
- packages/typescript-sdk/auth/AGENTS.mdAGENTS.md
- packages/typescript-sdk/core/AGENTS.mdAGENTS.md
- packages/typescript-sdk/data/AGENTS.mdAGENTS.md
- packages/typescript-sdk/storage/AGENTS.mdAGENTS.md
- packages/udf/udf-worker-extension/AGENTS.mdAGENTS.md
- samples/data-app/AGENTS.mdAGENTS.md
- samples/getting-started-auth/AGENTS.mdAGENTS.md
- samples/notes-app/AGENTS.mdAGENTS.md
- samples/todo-app/AGENTS.mdAGENTS.md
- samples/universal-app/template/AGENTS.mdAGENTS.md
- samples/welcome-app-react-auth/AGENTS.mdAGENTS.md
- samples/welcome-app-react-no-auth/AGENTS.mdAGENTS.md
- samples/welcome-app-typescript/AGENTS.mdAGENTS.md
- hotfix-releaseSkill
- launch-vscode-extensionSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-bulk-archive-changeSkill
- openspec-continue-changeSkill
- openspec-exploreSkill
- openspec-ff-changeSkill
- openspec-new-changeSkill
- openspec-onboardSkill
- openspec-sync-specsSkill
- openspec-verify-changeSkill
- privacy-dfdSkill
- rayfin-cli-uxSkill
- vercel-react-best-practicesSkill
- react-clean-architectureSkill
- run-cli-e2e-locallySkill
- vscode-react-webview-architectureSkill
- vscode-webview-trpc-messagingSkill
- rayfin-connectorsSkill
- rayfin-functionsSkill
- rayfinSkill
- rayfin-storageSkill
- rayfin-getting-startedSkill
- app-designSkill
- app-validationSkill
- dax-authoringSkill
- fabric-cliSkill
- fabric-sdkSkill
- playwright-cliSkill
- query-designSkill
- schema-discoverySkill
- visualsSkill
- analyticsSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

