agentleFS
MicrosoftKnown publishermicrosoft/fluentui-react-native/packages/agentic/components/src/AGENTS.md

fluentui-react-native / src

AGENTS.md1.4k starsChanged 6 months agoMITView on GitHub

These instructions apply to packages/agentic/components/src and its descendants. Use them with the package root AGENTS.md, the relevant component or primitive instructions, and the package-wide optimization skill when the change crosses component boundaries. - Higher-order components live in src/components; read src/components/AGENTS.md. - Primitive components live in src/primitives; read src/primitives/AGENTS.md. - Shared package-private helpers live in src/common. - Package-wide dependency and extraction reviews use agentic-component-optimization. - Production source may depend only on React / React Native native components, @fluentui-react-native/design, and @fluentui-react-native/framework-base. -…

Trending

Quiet since March.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 1 mentionMar 2026: 1 mentionApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the microsoft/fluentui-react-native repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about microsoft/fluentui-react-native

The biggest 5 of 24 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 24

Talked about on GitHub and Bluesky (24 times).

On GitHub · 23

18 more on GitHub

On Bluesky · 1

The file

We split this AGENTS.md into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    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
  1. Distinctive:

    Look for repeated types, constants, routines, and subtrees across components.

    line 34
  2. Distinctive:

    Keep local component fixes local.

    line 38
  3. Distinctive:

    Do not extract one-off logic, styling choices, or thin wrappers that are clearer in place.

    line 40

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Agentic Components source guidance

These instructions apply to packages/agentic/components/src and its descendants. Use them with the package root AGENTS.md, the relevant component or primitive instructions, and the package-wide optimization skill when the change crosses component boundaries.

Routing

  • Higher-order components live in src/components; read src/components/AGENTS.md.
  • Primitive components live in src/primitives; read src/primitives/AGENTS.md.
  • Shared package-private helpers live in src/common.
  • Package-wide dependency and extraction reviews use agentic-component-optimization.

Source boundaries

  • Production source may depend only on React / React Native native components, @fluentui-react-native/design, and @fluentui-react-native/framework-base.
  • Generalizable non-styling hooks belong in framework-base/src/hooks.
  • Styling helpers belong in agentic/design/src/styling.
  • Component-library-specific non-public types, constants, and helpers belong in src/common.
  • Primitives are public from @fluentui-react-native/components/primitives, must remain unstyled, and require a colocated CONTRACT.md. Extract one only for a repeated behavioral or structural contract that is useful to consumers; keep package-private helpers in src/common.

Optimization principles

  • Align native text with View layout, not synthetic text heights or baseline offsets. A font's em size, line box, and visible glyph are different measurements. Use Icon for font icons and LayoutStableText for reserved labels; follow the native alignment rules for editors, mixed-size text rows, and regression coverage.
  • Audit dependency direction before introducing shared code.
  • Look for repeated types, constants, routines, and subtrees across components.
  • Validate extraction payoff before creating another layer of indirection.
  • Preserve public component-qualified APIs and explicit exports. Higher-order components belong to the root entry point; primitives belong to the ./primitives entry point.
  • Keep local component fixes local; do not widen a tiny edit into a whole-package audit unless repetition or extraction is part of the work.
  • Do not extract one-off logic, styling choices, or thin wrappers that are clearer in place.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.