agentleFS
MicrosoftKnown publishermicrosoft/Migrate2GSA/.github/copilot-instructions.md

Migrate2GSA

Copilot instructions20 starsChanged 6 months agoMITView on GitHub

Start with AGENTS.md for the repository map, conventions, and verification steps. This repo already ships detailed instruction files under .github/instructions/ — read those too (especially powershell.instructions.md and the conversion-spec-* files). This file adds high-level Copilot guardrails.

  • In this repository2 other files it gives its agents.

The file

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

7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Start with AGENTS.md for the repository map, conventions, and verification steps.

    line 3
  2. Very specific:

    Put public cmdlets in Migrate2GSA/functions/, private helpers in Migrate2GSA/internal/.

    line 15
  3. Very specific:

    Keep Migrate2GSA.psd1 exports and version in sync with added/removed functions.

    line 16
  4. Very specific:

    Follow .github/instructions/powershell.instructions.md for style.

    line 17
  5. Very specific:

    Update website/docs/ for user-facing changes.

    line 21
  6. Distinctive:

    Keep PRs scoped to one converter/area.

    line 24
  7. Distinctive:

    Never commit secrets, tokens, or real customer/tenant configs (sanitize samples).

    line 25

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

Start with AGENTS.md for the repository map, conventions, and verification steps. This repo already ships detailed instruction files under .github/instructions/ — read those too (especially powershell.instructions.md and the conversion-spec-* files). This file adds high-level Copilot guardrails.

What this repo is

A PowerShell module (Migrate2GSA/) that converts third-party SSE/ZTNA exports into Entra Global Secure Access configuration, plus vendor Samples/, design Specs/, and a Docusaurus website/.

Working here

  • Put public cmdlets in Migrate2GSA/functions/, private helpers in Migrate2GSA/internal/.
  • Keep Migrate2GSA.psd1 exports and version in sync with added/removed functions.
  • Follow .github/instructions/powershell.instructions.md for style; follow the conversion-spec-* instructions when touching conversion logic.
  • Validate with scripts/verify.ps1 (manifest + import + Pester) before pushing; the .githooks/pre-commit.ps1 hook also runs locally.
  • Update website/docs/ for user-facing changes.

PR guardrails

  • Keep PRs scoped to one converter/area; do not mix module changes with website restructuring.
  • Never commit secrets, tokens, or real customer/tenant configs (sanitize samples).
  • Apply the PR labels and description footer required by .github/instructions/telemetry.instructions.md.

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.