PSRule.Rules.Azure
Copilot instructions449 starsChanged 8 months agoMITView on GitHub
Rule Development Context: File Management Context: Documentation Standards Context: Updating the change log: Common maintenance tasks: Periodically we need to run maintenance tasks to keep the repository up to date and ensure that all rules are compliant with the latest standards and practices. This includes:
The file
We split this copilot-instructions.md into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 5
Use the documentation in docs/license-contributing/metadata-reference.md to determine the correct metadata tags and labels for rules.
- Very specific: line 9
Do not update auto-generated files which are typically found in docs/en/baselines/ or other .md files that have the generated: true tag in …
- Very specific: line 17
After completing updates, update the change log in docs/changelog.md with a high-level one or two-line summary of the changes and the …
≈ “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
Rule Development Context:
- To determine the correct rule reference number (e.g. AZR-XXXXXX) for new rules, find the next available number in the
docs/en/rules/index.mdfile. - Current rule set version to use (e.g. 2025_06, 2025_09...) based on release schedule use the next quarter based on the current date.
- Use the documentation in
docs/license-contributing/metadata-reference.mdto determine the correct metadata tags and labels for rules.
File Management Context:
- Do not update auto-generated files which are typically found in
docs/en/baselines/or other.mdfiles that have thegenerated: truetag in their front matter.
Documentation Standards Context:
- Any links starting with
https://learn.microsoft.com/should not include locale codes (e.g.,en-us).
Updating the change log:
- After completing updates, update the change log in
docs/changelog.mdwith a high-level one or two-line summary of the changes and the linked issue. - Change log entries are added as a new bullet point with the issue number in square brackets, under the Unreleased section.
Common maintenance tasks:
Periodically we need to run maintenance tasks to keep the repository up to date and ensure that all rules are compliant with the latest standards and practices. This includes:
- Updating the minimum Kubernetes version for AKS clusters, see instructions in
.github/prompts/aks-minimum-version-update.prompt.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.

