agentleFS
MicrosoftKnown publishermicrosoft/Build-CLI/AGENTS.md

Build-CLI

AGENTS.md294 starsChanged 7 months agoMITView on GitHub

This repo packages the Microsoft Events assistant plugin and the @microsoft/events-cli CLI. The plugin helps agents use live Microsoft Build and Ignite session catalogs; the CLI fetches, caches, normalizes, and searches those catalogs. The repo publishes plugin metadata for GitHub Copilot and Claude Code. Keep shared product identity fields aligned across the manifests when changing the plugin name, description, version, author, repository, keywords, license, skills path, or MCP wiring. Shared assets used by the plugin ecosystems: - skills\microsoft-build\SKILL.md — the…

  • 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 repositoryOne other file it gives its agents.

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep README install/client guidance aligned with plugin manifest, skill, MCP, or CLI behavior changes.

    line 24
  2. Very specific:

    Search behavior is intentionally specialized: the msevents sessions command requires --query, --tech, or --speaker.

    line 49
  3. Distinctive:

    Prefer fixing drift between ecosystems immediately over documenting known inconsistency.

    line 54

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

AGENTS.md

This repo packages the Microsoft Events assistant plugin and the @microsoft/events-cli CLI. The plugin helps agents use live Microsoft Build and Ignite session catalogs; the CLI fetches, caches, normalizes, and searches those catalogs.

Plugin ecosystems

The repo publishes plugin metadata for GitHub Copilot and Claude Code. Keep shared product identity fields aligned across the manifests when changing the plugin name, description, version, author, repository, keywords, license, skills path, or MCP wiring.

Shared assets used by the plugin ecosystems:

  • skills\microsoft-build\SKILL.md — the active skill prompt
  • .mcp.json — Microsoft Learn MCP endpoint config
  • cli\ — source for the @microsoft/events-cli package used by the skill

Versioned plugin manifests:

  • GitHub Copilot — .github\plugin\plugin.json is the Copilot marketplace manifest and points at the repo root.
  • Claude Code — .claude-plugin\plugin.json defines the Claude Code plugin package; .claude-plugin\marketplace.json defines Claude Code marketplace publishing metadata.

Sync rules

  • Event support is duplicated by design between the CLI and skill docs. When adding, removing, or renaming events, update cli\src\config.ts, the supported/default event guidance in skills\microsoft-build\SKILL.md, and affected tests/docs together.
  • Treat skills\microsoft-build\SKILL.md as the product contract for event-session behavior. For Build, Ignite, or event-session work: default "Build" to build-2026, get session metadata from the live catalog through msevents or the endpoint, get SDK/API facts from Microsoft Learn MCP, and never invent session IDs, speakers, schedules, or links.
  • Versioning gate: any meaningful skills\microsoft-build\SKILL.md change (agent behavior, commands/examples agents may follow, supported/default events, CLI/MCP/catalog usage, or user-facing workflow guidance) must bump both versioned plugin manifests to the same value; patch bumps are fine for guidance-only changes.
  • PR review gate: GitHub Copilot/code reviewers should flag meaningful SKILL.md changes without synced plugin version bumps, and any plugin version drift. Typo/format-only skill edits may skip the bump only when the PR explicitly says so.
  • Keep README install/client guidance aligned with plugin manifest, skill, MCP, or CLI behavior changes.

CLI

Source is in cli\src\, built output is cli\dist\, and the published binary is msevents. Targets Node.js 22+. TypeScript source is ESM/NodeNext: local imports between TS modules use .js extensions.

Run from cli\:

npm ci
npm run build
npm test
npx vitest run test\search.test.ts
npx vitest run test\search.test.ts -t "finds sessions by title keyword"
npm run smoke:fixture

npm run smoke:live hits the live catalog; CI only runs it outside pull requests.

Note: The first time npx @microsoft/events-cli is run, it prompts for permission and can cause CLI tool calls to hang in AI agents. In all instructions or SKILL.md, prefer npx -y @microsoft/events-cli to include the -y flag.

CLI behavior contracts

  • Catalog data has inconsistent shapes: fields may be strings, { displayValue } objects, arrays, or empty values. Normalize through the helpers in cli\src\data\normalize.ts; records without sessionCode are intentionally skipped.
  • Cache behavior is part of the CLI contract. ensureCache loads cached sessions, revalidates when due, fetches missing event caches, and only falls back to stale cache when the stale data is scoped to the request. Tests use MSEVENTS_CACHE_DIR to isolate cache state.
  • Search behavior is intentionally specialized: the msevents sessions command requires --query, --tech, or --speaker; code-like queries exact-match session codes and variants; technology search spans product/tags/topic/solution area/languages/title/description; speaker search post-filters on the queried last name.

General principles

  • Make the smallest synchronized set of edits that keeps plugin manifests, skills, CLI behavior, and user-facing docs coherent.
  • Prefer fixing drift between ecosystems immediately over documenting known inconsistency.

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.