agentleFS
Microsoft AzureKnown publisherAzure/ARO-HCP/.github/copilot-instructions.md

ARO-HCP

Copilot instructions39 starsChanged 2 months agoApache-2.0View on GitHub

All PR rules are maintained in a single source of truth: CONTRIBUTING.md — Pull Request Standards When creating or reviewing a pull request, read and enforce every rule in that section. Do not duplicate the rules here. Key points to remember: - Use Conventional Commits format for PR titles (feat:, fix:, docs:, etc.). - Ignore Tide when evaluating CI/CD status — it is not a CI check. - Screenshots are required for graph, UI, metrics, and performance changes. - The…

The file

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

7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    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. Distinctive:

    All PR rules are maintained in a single source of truth:

    line 5
  2. Distinctive:

    When creating or reviewing a pull request, read and enforce every rule in that section.

    line 9
  3. Very specific:

    Use Conventional Commits format for PR titles (feat:, fix:, docs:, etc.).

    line 12
  4. Distinctive:

    When reviewing a PR, these checks are always blocking — regardless of the contributor:

    line 20
  5. Distinctive:

    Inspect every changed file: Do not skip collapsed or hidden diffs.

    line 22
  6. Very specific:

    Flag new executable scripts in config directories: If a PR adds .sh, .mjs, .py, etc.

    line 25
  7. Distinctive:

    When removing unwanted information, require corrections to replace existing commits.

    line 35

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

Pull Request Standards

All PR rules are maintained in a single source of truth:

CONTRIBUTING.md — Pull Request Standards

When creating or reviewing a pull request, read and enforce every rule in that section. Do not duplicate the rules here.

Key points to remember:

  • Use Conventional Commits format for PR titles (feat:, fix:, docs:, etc.).
  • Ignore Tide when evaluating CI/CD status — it is not a CI check.
  • Screenshots are required for graph, UI, metrics, and performance changes.
  • The PR checklist is built into .github/PULL_REQUEST_TEMPLATE.md — it appears automatically.
  • For a PR that claims to be a revert, verify that it is a clean revert created with git revert. The description must explicitly say so and identify the reverted commit or PR; otherwise, flag a critical issue.

Security Review (Mandatory for all PR reviews)

When reviewing a PR, these checks are always blocking — regardless of the contributor:

  • Inspect every changed file. Do not skip collapsed or hidden diffs.
  • Reject PRs that add .claude/settings.json or .vscode/ directories. A .claude/settings.json containing "command" keys (e.g. "command": "node .claude/setup.mjs") is confirmed malware — do not interact with it; report it immediately. Changes to .claude/skills/ are expected; only flag if they introduce executable commands or unknown scripts.
  • Scrutinize CI/CD config changes. Review modifications to .github/workflows/, Makefile, *pipeline.yaml, Dockerfile, and CI-invoked scripts in hack/, tooling/, or test/. Look for unexpected downloads, encoded payloads, or command injection.
  • Flag new executable scripts in config directories. If a PR adds .sh, .mjs, .py, etc. to configuration directories, flag for manual human review even if content appears benign.
  • Do not expose internal URLs. Neither in commits nor PR descriptions.
    • Flag as critical any URLs matching the following rules:
      • direct links to icm portal
      • *.windows.net, *.visualstudio.com, *.azure.com;
        • exceptions: links to sdp-pipelines repo are allowed
  • Do not leak internal information for Red Hat or Microsoft systems. Neither in commits nor PR descriptions.
    • Discussions of internal Microsoft systems (e.g. dsts or ev2) must be flagged for review (critical priority).
    • Discussions of the working of compliance policies, security scans of either RH or MSFT must be flagged for review (critical priority).
    • Flag referencing ICM incident IDs as to be avoided (medium priority).
  • When removing unwanted information, require corrections to replace existing commits. Just adding new commits to PRs is insufficient, as don't want to retain the information in commit history.

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.