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.
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
- Distinctive: line 3
Start with AGENTS.md for the repository map, conventions, and verification steps.
- Very specific: line 15
Put public cmdlets in Migrate2GSA/functions/, private helpers in Migrate2GSA/internal/.
- Very specific: line 16
Keep Migrate2GSA.psd1 exports and version in sync with added/removed functions.
- Very specific: line 17
Follow .github/instructions/powershell.instructions.md for style.
- Very specific: line 21
Update website/docs/ for user-facing changes.
- Distinctive: line 24
Keep PRs scoped to one converter/area.
- Distinctive: line 25
Never commit secrets, tokens, or real customer/tenant configs (sanitize samples).
≈ “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.
Files
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 inMigrate2GSA/internal/. - Keep
Migrate2GSA.psd1exports and version in sync with added/removed functions. - Follow
.github/instructions/powershell.instructions.mdfor style; follow theconversion-spec-*instructions when touching conversion logic. - Validate with
scripts/verify.ps1(manifest + import + Pester) before pushing; the.githooks/pre-commit.ps1hook 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.
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
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.

