agentleFS
MicrosoftKnown publishermicrosoft-foundry/foundry-samples/.github/copilot-instructions.md

foundry-samples

Copilot instructions454 starsChanged 3 months agoMITView on GitHub

If a file is listed in the CODEOWNERS file with @azure-ai-foundry/ai-platform-docs as the owner, it is owned by the AI Platform Docs team. For these files: In a code review, if any of the above rules are broken, please add the following text to your review: 🛑STOP! This PR contains changes that may break documentation. Please post a message on ai-platform-docs to request help. Only files owned by the AI Platform Docs team are subject to these rules.

The file

We split this copilot-instructions.md into the rules it gives an agent

8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    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. Very specific:

    Do not redirect contributors to or recreate publishable work in microsoft-foundry/foundry-samples-pr.

    line 4
  2. Distinctive:

    If a contributor lacks the required access to create the appropriate public-repository branch, surface that clearly and pause for …

    line 5
  3. Very specific:

    Do not propose private staging as a contributor path or recreate retired destructive behavior such as reverse mirroring, replay, …

    line 6
  4. Distinctive:

    If a file is listed in the CODEOWNERS file with @azure-ai-foundry/ai-platform-docs as the owner, it is owned by the AI Platform Docs team.

    line 11
  5. Distinctive:

    Do not change the filename or move the file.

    line 13
  6. Distinctive:

    Do not remove any comments which contain <some_text> or </some_text> (for any text in between the tags)

    line 14
  7. Distinctive:

    Do not remove any cell in a notebook if it contains metadata with "name:" in it.

    line 15
  8. Distinctive:

    Only files owned by the AI Platform Docs team are subject to these rules.

    line 20

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

Repository publication routing

  • microsoft-foundry/foundry-samples is the sole venue for work intended for publication. Contributions use the normal public pull request path and existing repository checks; a maintainer initiates the merge.
  • Do not redirect contributors to or recreate publishable work in microsoft-foundry/foundry-samples-pr.
  • If a contributor lacks the required access to create the appropriate public-repository branch, surface that clearly and pause for repository-maintainer guidance. Do not invent an alternate publication route.
  • Do not propose private staging as a contributor path or recreate retired destructive behavior such as reverse mirroring, replay, force_full, direct-public-main publication, or unverified reseeding.
  • A manual private-to-public bridge exists only for authorized maintainers handling specifically approved internal content. Do not dispatch that bridge or initiate verified seed recovery without explicit operator authorization; normal publication work still starts as a public pull request.

Files owned by the AI Platform Docs team

If a file is listed in the CODEOWNERS file with @azure-ai-foundry/ai-platform-docs as the owner, it is owned by the AI Platform Docs team. For these files:

  • Do not change the filename or move the file.
  • Do not remove any comments which contain <some_text> or </some_text> (for any text in between the tags)
  • Do not remove any cell in a notebook if it contains metadata with "name:" in it.

In a code review, if any of the above rules are broken, please add the following text to your review: 🛑STOP! This PR contains changes that may break documentation. Please post a message on ai-platform-docs to request help.

Only files owned by the AI Platform Docs team are subject to these rules.

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.