agentleFS
blendsdkblendsdk/fluentui-mcp/AGENTS.md

fluentui-mcp

AGENTS.md5 starsChanged 49 days agoMITView on GitHub

fluentui-skill is a Node.js (>=20) TypeScript package and CLI. It scrapes FluentUI React v9, enriches it with LLM prose, generates the fluentui Agent Skill as Markdown, and installs it into an agent's skills directory. ESM ("type": "module"), package manager npm, license MIT. - src/ — CLI (bin.ts) and the skill installer (skill/). Shared schema types live in src/types/; the validator in src/schema/schema-validator.ts. - scripts/scraper/ — ts-morph extraction from FluentUI source. - scripts/enhancer/ — LLM enrichment through the configured provider. -…

  • Reads credentials
  • In this repositoryOne other file it gives its agents.

The file

Files
AGENTS.md

AGENTS.md

<!-- CODEOPS-PROJECT:START -->

Project

fluentui-skill is a Node.js (>=20) TypeScript package and CLI. It scrapes FluentUI React v9, enriches it with LLM prose, generates the fluentui Agent Skill as Markdown, and installs it into an agent's skills directory. ESM ("type": "module"), package manager npm, license MIT.

Commands

CommandPurpose
npm run buildTypecheck and compile src/** to dist/ using tsconfig.build.json.
npm run typecheckTypecheck the build project without emitting.
npm testRun the Vitest suite.
npm run test:releaseRun the release-tool spec tests with node --test.
npm run verifyFull verification. Run this before finishing any task.
npm run test:coverageCoverage report.
npm run check:versionVersion parity across package.json and package-lock.json.
npm run gate:skillAll four skill gates (drift, example, freshness, secrets).
npm run skill:generateRender .agents/skills/fluentui/ from the enhanced schema.
npm run skill:checkDrift gate: regenerate and compare with the committed tree.
npm run skill:validateExample gate: check imports, props, and members against the real package.
npm run skill:freshnessFreshness gate: the committed tree matches the current enhanced schema.
npm run skill:secretsSecret scan of the generated skill content.
npm run scrape -- --version v9 --cloneScrape props, slots, and stories from FluentUI source.
npm run enhance -- --version v9 --fullAdd LLM prose to the enhanced schema; needs a local .env.
npm run assembleAssemble the publishable skills/ tree.
npm run pipeline:fullscrape → enhance → build → test in one command.

Layout

  • src/ — CLI (bin.ts) and the skill installer (skill/). Shared schema types live in src/types/; the validator in src/schema/schema-validator.ts.
  • scripts/scraper/ — ts-morph extraction from FluentUI source.
  • scripts/enhancer/ — LLM enrichment through the configured provider.
  • scripts/skill/ — generation plus the drift, freshness, example, and secret gates.
  • scripts/release.mjs and scripts/check-version.mjs — the release tool and its version-parity guard; scripts/release.spec.test.mjs covers the version rules.
  • .agents/skills/fluentui/ — generated, committed skill tree.
  • data/v9/ — raw and enhanced schemas. Source data; not shipped.
  • src/__tests__/ and scripts/**/tests/ — Vitest tests. *.spec.test.ts files are the oracle and must not be edited to match an implementation; *.impl.test.ts files cover internals.
  • requirements/ (requirement docs and decisions/ ADRs) and plans/ (plan and execution tracking). CodeOps uses the flat layout.

Generated files

.agents/skills/fluentui/** and .fluentui-skill-manifest.json are generated. Change the schema and run npm run skill:generate; never edit them by hand. npm run skill:check fails on drift.

Release

Versions are derived from conventional commits and published by a manual GitHub Actions workflow.

  • node scripts/release.mjs release --type auto --tag latest --ci --git-push derives the next version, writes package.json and package-lock.json, updates CHANGELOG.md, commits, tags, and publishes.
  • node scripts/release.mjs release --type auto --tag latest --dry-run previews without writing.
  • npm run check:version guards against version drift. package.json is the only place the version is written; never edit it by hand.
  • .github/workflows/release.yml (Actions → Release) runs the same command. It uses npm trusted publishing (OIDC), so the trusted publisher on npmjs.com must name the workflow file release.yml.

Conventions

  • Imports use ESM .js specifiers even for TypeScript sources.
  • Public and exported APIs, and non-trivial internals, carry JSDoc. Do not reference plans/, requirements/, or plan IDs in code or comments.
  • Node built-ins use the node: prefix.
  • Commits use Conventional Commit messages with a scope, such as test(repo): or docs(plan):.
<!-- CODEOPS-PROJECT:END -->

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.