agentleFS
MicrosoftKnown publishermicrosoft/fluentui-react-native/.github/skills/agentic-component-contract-authoring/SKILL.md

agentic-component-contract-authoring

Skill1.4k starsChanged 6 months agoMITView on GitHub

Create or revise reviewed React Native component contracts in packages/agentic/components from Flex/X3, Fluent v9, HTML/CSS, images, local platform foundations, or composite evidence.

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 skill into the rules it gives an agent

7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

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

    Use this skill directly for contract-only, feasibility, or implementation-plan requests.

    line 14
  2. Distinctive:

    Commit contract files only when the user requested a contract.

    line 23
  3. Distinctive:

    Contract only: create or revise the local contract and stop after its review state accurately reflects the evidence.

    line 24
  4. Very specific:

    Read the package instructions, the existing SPEC.md, all companions under spec/, and SPEC-SOURCE.md.

    line 45
  5. Distinctive:

    Run the package contract checker.

    line 75
  6. Very specific:

    Only flex-skill has automated release and candidate drift reporting.

    line 92
  7. Distinctive:

    Do not copy or lightly transform private source bodies into this public repository.

    line 97

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill 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
SKILL.md

Agentic component contract authoring

Turn source material into an original, reviewable Fluent UI React Native contract. This skill owns source interpretation, authority, provenance, uncertainty, React Native adaptation, divergences, and requirement planning. It does not own component implementation.

Use this skill directly for contract-only, feasibility, or implementation-plan requests. The component authoring skill invokes this workflow before code when a contract is missing, stale, still a draft, or accompanied by new source evidence.

Choose the request mode

  • Feasibility or plan only: inspect the evidence, identify blockers and unknowns, and describe the contract work without changing implementation. Commit contract files only when the user requested a contract.
  • Contract only: create or revise the local contract and stop after its review state accurately reflects the evidence.
  • Contract plus implementation: complete this workflow, then return to the component authoring skill without splitting the implementation into separate source-specific phases.

Select source adapters

Load every adapter represented by the supplied evidence, but no others.

EvidenceAdapter
Pinned Flex component skill and X3 lineageFlex and X3
Fluent UI v9 source or specificationFluent v9
HTML, CSS, computed styles, or browser outputHTML and CSS
Images, screenshots, or design rendersVisual reference
Public native API plus repository precedentLocal foundation
More than one of the preceding source setsComposite evidence

Workflow

  1. Read the package instructions, the existing SPEC.md, all companions under spec/, and SPEC-SOURCE.md. Preserve a reviewed contract unless new evidence or an explicit requested behavior change requires re-review.
  2. Inventory the source sets. Give each source a stable kebab-case ID, classify its authority, pin immutable identities where possible, and record only public or redistributable evidence.
  3. Separate observations from inferences. A source governs only what it can establish: images do not prove semantics, CSS does not prove native interaction, and a web implementation does not define React Native platform behavior.
  4. Resolve authority per requirement. For multiple sources, record sorted source IDs on every requirement and document conflicts explicitly; never choose one source as globally authoritative merely for convenience.
  5. Draft the original React Native contract:
    • public API, slots, defaults, state ownership, and requirement IDs in SPEC.md;
    • FURN token bindings and gaps in spec/tokens.yaml;
    • native accessibility in spec/accessibility.md;
    • keyboard, pointer, focus, and motion behavior in spec/interaction.md;
    • FURN examples and constraints in spec/usage.md;
    • lifecycle, provenance, divergences, and requirement evidence in spec/source.json.
  6. Classify every relevant source claim as adopted, adapted, intentionally divergent, not applicable, deferred, or unknown. Do not turn missing evidence into an inferred guarantee.
  7. Review the contract before code. Keep contract-draft, review-required, and a null review date until the source interpretation, native adaptation, authority decisions, and planned evidence are coherent. Move to contract-reviewed only after that explicit review.
  8. Run the package contract checker. Source refresh tools may update provenance but never approve a contract or populate reviewed surfaces automatically.

Contract rules

  • spec/source.json uses schema version 2 and a sorted, non-empty sources[]. Source IDs are unique. Keep this generated, digest-heavy metadata in JSON; spec/tokens.yaml remains YAML because token mappings are human-authored.
  • Supported source kinds are flex-skill, git-files, html-css, visual-reference, and local-foundation.
  • A source's authority describes how it may govern requirements. Requirement sources identify the actual source set used for that decision.
  • git-files records a repository, full commit SHA, and sorted file paths with SHA-256 digests. html-css and visual-reference record immutable artifact digests; repository-relative artifacts are verified locally.
  • A local-foundation source is valid only when no Flex catalog component exists and must be the contract's sole source.
  • Only flex-skill has automated release and candidate drift reporting. Other immutable sources report Flex drift as not-applicable; refresh their identities through an explicit source review.
  • A reviewed local contract is normative for FURN. New upstream evidence is a change proposal, not an automatic rewrite.
  • Do not copy or lightly transform private source bodies into this public repository. Record identities and write original React Native documentation.

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.