agentleFS
MicrosoftKnown publishermicrosoft/capacity-toolkit/.github/copilot-instructions.md

capacity-toolkit

Copilot instructions5 starsChanged 5 months agoMITView on GitHub

This repository is a read-only-by-default Azure capacity/enablement toolkit. The full agent guidance lives in ../AGENTS.md — read it before running anything. Non-negotiable rules: - READ-ONLY BY DEFAULT. With the analysis scripts, never create, modify, delete, scale or restart any Azure resource — the only writes are local files under output/. No az ... create/update/delete/set, no New-Az* / Set-Az* / Remove-Az*, no terraform apply, no kubectl apply/delete on your own initiative. - One opt-in write tool. Deploy-QuotaGroups.ps1 (with New-QuotaGroupConfig.ps1) provisions quota…

  • In this repositoryOne other file it gives its agents.

The file

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

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

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

    Treat all discovered data as tenant-confidential.

    line 19

≈ “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 — Azure Capacity & Enablement Toolkit

This repository is a read-only-by-default Azure capacity/enablement toolkit. The full agent guidance lives in ../AGENTS.md — read it before running anything.

Non-negotiable rules:

  • READ-ONLY BY DEFAULT. With the analysis scripts, never create, modify, delete, scale or restart any Azure resource — the only writes are local files under output/. No az ... create/update/delete/set, no New-Az* / Set-Az* / Remove-Az*, no terraform apply, no kubectl apply/delete on your own initiative.
  • One opt-in write tool. Deploy-QuotaGroups.ps1 (with New-QuotaGroupConfig.ps1) provisions quota groups. Only run it on explicit human instruction, always -Action Validate + -WhatIf first, and confirm before any execute run. See ../docs/quota-groups.md.
  • Confirm tenant/subscription before login or context switch. Show az account show and wait for explicit user approval. Never silently change the active az context.
  • Minimum access is Reader (plus management-group read for quota groups). On AuthorizationFailed, report it as a finding — do not escalate or work around RBAC.
  • Treat all discovered data as tenant-confidential; never send it to third parties. Clear output/ before sharing any generated CSV/HTML.

Standard flow: Get-UsedSkus.ps1 (discover) → New-CapacityReport.ps1 -ConfigPath ... -Dashboard (report + dashboard) → open output/capacity-dashboard-<date>.html. See AGENTS.md §3–§6 for parameters, platform quirks, the interpretation guide, and the pre-share sanitization sweep.

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.