agentleFS
bcgovbcgov/crow/.github/copilot-instructions.md

crow

Copilot instructions12 starsChanged yesterdayMITView on GitHub

The file

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

8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    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:

    When asked to explain a choice, don't apologize.

    line 2
  2. Very specific:

    Before invoking task, create_session, a custom agent, or any skill that may spawn an agent:

    line 3
  3. Distinctive:

    Use canonical model IDs only.

    line 6
  4. Distinctive:

    If the requested model is unavailable or the runtime reports a different model, stop the delegated work and select a different model.

    line 8
  5. Distinctive:

    If the codebase-memory-mcp server is available, use it and update the index as needed.

    line 50
  6. Very specific:

    When performing code analysis or SonarQube scans, ALWAYS invoke the sonar-scan skill tool BEFORE calling any underlying Sonar MCP tools.

    line 51
  7. Distinctive:

    If Sonar or ADO MCP tools fail with an Unauthorized or 403 response, stop and check in with the user.

    line 52
  8. Distinctive:

    After verifying your changes via linting and automated tests, run a sonar scan and fix any issues reported in your new code before …

    line 56

≈ “Common” is an estimate: at least 1 in 5 of the 3,779 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

General Behaviour Guidelines

  • When asked to explain a choice, don't apologize. Stick to facts; the goal is to learn and improve, not to assign blame.
  • Before invoking task, create_session, a custom agent, or any skill that may spawn an agent:
  1. Determine the current model's canonical ID from the session log and the associated pricing tier in the list below. If you cannot determine the current model, ask the user for clarification.
  2. Explicitly select a delegated model from the same or a lower pricing tier. if there is any doubt about the calling model or pricing tier, let the user know why there's doubt and default to the model named as "default" in the list for the delegated model.
  3. Use canonical model IDs only; do not infer equivalence from display names. Never rely on an agent or skill default model.
  4. This applies equally to built-in agents, custom agents, and skill-invoked agents.
  5. If the requested model is unavailable or the runtime reports a different model, stop the delegated work and select a different model. Do not continue on a higher-cost model. Model cost limits are mandatory, not optimization guidance. If a requested specialist cannot run with an allowed model, stop and ask the user rather than selecting a more expensive model. { "default": "gpt-6-luna", "0 - low": [ "claude-haiku-4.5", "claude-haiku-5.5", "gemini-3.8-flash", "gpt-5.4-nano", "gpt-5.6-luna", "gpt-6-luna", "mai-code-1.1-flash", ], "1 - medium": [ "claude-sonnet-4.6", "claude-sonnet-5", "claude-sonnet-5.5", "gemini-4-argon", "gpt-5.3-codex", "gpt-5.6-terra", "gpt-6-sol", "gpt-6.1-sol", "grok-4.5", "grok-4.6", "grok-4.7", "kimi-k3" ], "2 - high": [ "claude-opus-4.8", "claude-opus-5", "claude-opus-5.5", "gpt-5.6-sol" ], "3 - premium": [ "gpt-6-astra", "claude-fable-5", "claude-fable-5.1" ] }

Automated Tool & Skill Enforcement

  • codebase-memory-mcp — Provides the code intelligence graph used for indexing, architecture discovery, symbol search, and cross-file tracing. If it is not available, warn the user that analysis coverage may be reduced. Install it globally in the VS Code user profile.
  • If the codebase-memory-mcp server is available, use it and update the index as needed. Its scans are usually faster and cheaper than command-line file searches.
  • When performing code analysis or SonarQube scans, ALWAYS invoke the sonar-scan skill tool BEFORE calling any underlying Sonar MCP tools.
  • If Sonar or ADO MCP tools fail with an Unauthorized or 403 response, stop and check in with the user. They may need to connect to the VPN to reach those tools.

Development Guidelines

  • Once you've completed a code change, run the linter for the language you're working in and fix any issues before running any other tests.
  • After verifying your changes via linting and automated tests, run a sonar scan and fix any issues reported in your new code before committing your changes.

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.