agentleFS
MicrosoftKnown publishermicrosoft/agent-resources/.github/copilot-instructions.md

agent-resources

Copilot instructions14 starsChanged 6 months agoMITView on GitHub

Five static sites published via GitHub Pages from main — no build step, no package manager. Edit and push to deploy. Always update CHANGELOG.md with additions/removals from the sites. When updating CHANGELOG.md, make sure there is a newline between the header and the paragraph text. Each site has its own CHANGELOG.md file to track its changes, with all changes for all sites aggregated into the root CHANGELOG.md with dated entries grouped by site directory. Each child site is self-contained with…

  • In this repositoryOne other file it gives its agents.

The file

We split this copilot-instructions.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
  1. Very specific:

    All font choices, colors, spacing, and aesthetic direction are defined there.

    line 44
  2. Very specific:

    Do not deviate without explicit user approval.

    line 45
  3. Very specific:

    Shared main.js: All five child sites reference a single ../assets/js/main.js at the repo root.

    line 58
  4. Distinctive:

    Each site has its own Clarity tag: Don't reuse tag IDs across sites.

    line 59

≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions 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
copilot-instructions.md

Copilot Instructions

Repository Overview

Five static sites published via GitHub Pages from main — no build step, no package manager. Edit and push to deploy.

SiteDirectoryURL
Front-door hub/ (root)https://aka.ms/agentresources
Microsoft 365 Copilotm365-copilot/https://aka.ms/m365copilot/resources
Copilot Studiocopilot-studio/https://aka.ms/copilotstudio/resources
Agent 365agent365/https://aka.ms/agent365/resources
Build AI Agentsdevelop-agents/https://aka.ms/agent-development/resources
Microsoft Foundrymicrosoft-foundry/https://aka.ms/foundry/resources

Track Changes

Always update CHANGELOG.md with additions/removals from the sites. When updating CHANGELOG.md, make sure there is a newline between the header and the paragraph text. Each site has its own CHANGELOG.md file to track its changes, with all changes for all sites aggregated into the root CHANGELOG.md with dated entries grouped by site directory.

Architecture

Child sites (agent365/, copilot-studio/, m365-copilot/, develop-agents/, microsoft-foundry/)

Each child site is self-contained with the same structure: index.html, assets/css/styles.css, images/, and favicon.ico.

All five child sites share a single assets/js/main.js at the repo root (referenced as ../assets/js/main.js). Edit it once and every site picks up the change.

The UI follows an accordion + search + deep-link pattern:

  • Sections are collapsible div.section-card toggled by button.section-header. The open CSS class and aria-expanded attribute track state.
  • Navigation is a sticky nav.nav-strip with #fragment links. The hashchange listener in main.js scrolls to and opens the target card.
  • Search filters li elements in .link-list and .session-grid in real time, auto-expanding sections with matches.
  • Analytics uses Microsoft Clarity with per-site tag IDs in an inline <script> in <head>.

Content uses two list styles: .link-list for resource links and .session-grid for conference session badges.

Root site (/)

index.html is a hero + product cards + footer, all in one file. The CSS uses a dark star-field background with an animated aurora overlay (auroraShift keyframes on ::before).

Design System

Always read DESIGN.md before making any visual or UI decisions. All font choices, colors, spacing, and aesthetic direction are defined there. Do not deviate without explicit user approval. In QA mode, flag any code that doesn't match DESIGN.md.

  • Brand colors: --brand-deep (#003d73), --brand-mid (#0061a4), --brand-accent (#0078d4)
  • Per-product color identities: M365 blue, Studio purple, Agent 365 teal-green, Develop Agents steel blue, Foundry plum — each site sets its own --brand-deep/mid/accent tokens in :root
  • Display/heading font: 'Plus Jakarta Sans' (Google Fonts, weights 600/700/800) — loaded via CDN, falls back to Aptos
  • Body font stack: 'Aptos', 'Segoe UI', system-ui
  • Monospace font: 'Geist Mono' (Google Fonts) — for URLs, code, and data
  • Child site surface color: #fafaf8 (warm neutral, not pure white)
  • CSS custom properties defined in :root for colors, spacing, radii, shadows, transitions, and font sizes

Key Conventions

  • No build system. Plain HTML/CSS/JS only — no bundlers, transpilers, or package managers.
  • Shared main.js. All five child sites reference a single ../assets/js/main.js at the repo root. Edit that one file; do not reintroduce per-site copies.
  • Each site has its own Clarity tag. Don't reuse tag IDs across sites.
  • Accordion state is managed purely through the open class on .section-card — no hidden inputs or JS state objects.

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.