agentleFS
alperhankendialperhankendi/Ctxo/.github/copilot-instructions.md

Ctxo

Copilot instructions69 starsChanged 8 months agoMITView on GitHub

ALWAYS use ctxo MCP tools before reading source files or making code changes. The ctxo index contains dependency graphs, git intent, anti-patterns, and change health that cannot be derived from reading files alone. Skipping these tools leads to blind edits and broken dependencies.

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 11

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Call get_blast_radius for the symbol you are about to change — understand what breaks

    line 6
  2. Very specific:

    Call get_why_context for the same symbol — check for revert history or anti-patterns

    line 7
  3. Distinctive:

    Only then read and edit source files

    line 8
  4. Very specific:

    Call get_pr_impact — single call gives full risk assessment with co-change analysis

    line 19
  5. Very specific:

    Use search_symbols for name/regex lookup — DO NOT grep source files for symbol discovery

    line 22
  6. Very specific:

    Use get_ranked_context for natural language queries — DO NOT manually browse directories

    line 23
  7. Very specific:

    Call get_architectural_overlay to understand layer boundaries

    line 26
  8. Very specific:

    Call get_symbol_importance to identify critical symbols

    line 27
  9. Very specific:

    NEVER edit a function without first calling get_blast_radius on it

    line 30
  10. Very specific:

    NEVER skip get_why_context — reverted code and anti-patterns are invisible without it

    line 31
  11. Very specific:

    NEVER grep source files to find symbols when search_symbols exists

    line 32
  12. Very specific:

    NEVER manually trace imports when find_importers gives the full reverse dependency graph

    line 33

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

ctxo MCP Tool Usage (MANDATORY)

ALWAYS use ctxo MCP tools before reading source files or making code changes. The ctxo index contains dependency graphs, git intent, anti-patterns, and change health that cannot be derived from reading files alone. Skipping these tools leads to blind edits and broken dependencies.

Before ANY Code Modification

  1. Call get_blast_radius for the symbol you are about to change — understand what breaks
  2. Call get_why_context for the same symbol — check for revert history or anti-patterns
  3. Only then read and edit source files

Before Starting a Task

Task TypeREQUIRED First Call
Fixing a bugget_context_for_task(taskType: "fix")
Adding/extending a featureget_context_for_task(taskType: "extend")
Refactoringget_context_for_task(taskType: "refactor")
Understanding codeget_context_for_task(taskType: "understand")

Before Reviewing a PR or Diff

  • Call get_pr_impact — single call gives full risk assessment with co-change analysis

When Exploring or Searching Code

  • Use search_symbols for name/regex lookup — DO NOT grep source files for symbol discovery
  • Use get_ranked_context for natural language queries — DO NOT manually browse directories

Orientation in Unfamiliar Areas

  • Call get_architectural_overlay to understand layer boundaries
  • Call get_symbol_importance to identify critical symbols

NEVER Do These

  • NEVER edit a function without first calling get_blast_radius on it
  • NEVER skip get_why_context — reverted code and anti-patterns are invisible without it
  • NEVER grep source files to find symbols when search_symbols exists
  • NEVER manually trace imports when find_importers gives the full reverse dependency graph

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.