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

wmi

Copilot instructions59 starsChanged 3 years agoMITView on GitHub

When creating or working on a pull request, DO NOT mark the PR as ready for review until all of the following conditions are met: This repository contains Go code for WMI (Windows Management Instrumentation) bindings. When making changes:

The file

Show its rules and text

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

16 rules. About 0 are common, 15 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈15

    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
  • could be automatic: a setting could enforce it
  1. Distinctive:

    When creating or working on a pull request, DO NOT mark the PR as ready for review until all of the following conditions are met:

    line 7
  2. Distinctive:

    All CI/CD pipelines must pass: Wait for all Azure Pipeline builds and checks to complete successfully

    line 9
  3. Distinctive:

    All status checks must be green: Verify that all required status checks show a passing status before removing the draft status

    line 13
  4. Distinctive:

    All automated tests must pass: Ensure all test suites complete successfully

    line 15
  5. Distinctive:

    Code quality checks must pass: All linting, formatting, and static analysis tools must pass without errors

    line 17
  6. Distinctive:

    Create the PR in draft mode initially

    line 21
  7. Distinctive:

    Wait for all CI/CD pipelines to start and complete

    line 23
  8. Distinctive:

    Only after all status checks are green and passing, mark the PR as "Ready for review"

    line 25
  9. Distinctive:

    If any check fails, investigate and fix the issue before marking as ready for review

    line 29
  10. Distinctive:

    Do not bypass failing checks by marking the PR as ready

    line 30
  11. Distinctive:

    If checks are taking too long, wait for them to complete rather than proceeding prematurely

    line 31
  12. Distinctive:

    Use the GitHub Actions/Azure Pipelines UI to monitor build progress and logs

    line 32
  13. Distinctive:

    Follow Go best practices and idioms

    line 38
  14. Very specific:

    Ensure code is properly formatted with go fmt

    line 39
  15. Distinctive:

    Run tests locally before pushing when possible

    line 40
  16. Distinctive:

    Update documentation if changing public APIs

    line 41

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

GitHub Copilot Instructions for WMI Repository

Pull Request Guidelines

Before Marking PR as Ready for Review

When creating or working on a pull request, DO NOT mark the PR as ready for review until all of the following conditions are met:

  1. All CI/CD pipelines must pass: Wait for all Azure Pipeline builds and checks to complete successfully
    • Build pipeline (.pipelines/build.yaml)
    • Static analysis pipeline (.pipelines/static.yaml)
  2. All status checks must be green: Verify that all required status checks show a passing status before removing the draft status
  3. All automated tests must pass: Ensure all test suites complete successfully
  4. Code quality checks must pass: All linting, formatting, and static analysis tools must pass without errors

Process

  1. Create the PR in draft mode initially
  2. Make all necessary code changes and commit them
  3. Wait for all CI/CD pipelines to start and complete
  4. Monitor the status checks on the PR page
  5. Only after all status checks are green and passing, mark the PR as "Ready for review"

Important Notes

  • If any check fails, investigate and fix the issue before marking as ready for review
  • Do not bypass failing checks by marking the PR as ready
  • If checks are taking too long, wait for them to complete rather than proceeding prematurely
  • Use the GitHub Actions/Azure Pipelines UI to monitor build progress and logs

Repository Structure

This repository contains Go code for WMI (Windows Management Instrumentation) bindings. When making changes:

  • Follow Go best practices and idioms
  • Ensure code is properly formatted with go fmt
  • Run tests locally before pushing when possible
  • Update documentation if changing public APIs

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.