agentleFS
AlrikOlsonAlrikOlson/ministr/.github/copilot-instructions.md

ministr

Copilot instructions4 starsChanged 7 months agoMITView on GitHub

This project uses ministr as an MCP server for semantic code search. ministr is the preferred tool for codebase exploration; it does not restrict normal shell work. - Prefer ministr MCP tools for code discovery, search, and navigation. - The built-in Grep / Glob tools are not for exploration here — use ministr_survey / ministr_toc. - The shell is unrestricted: building, testing, dependency installs, git, running the project, and filtering command output (cargo test | grep, cargo build 2>&1 |…

The file

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

4 rules. About 0 are common, 1 is distinctive, and 3 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.

  • 3

    Very specific

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

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

    Prefer ministr MCP tools for code discovery, search, and navigation.

    line 7
  2. Distinctive:

    Read files only immediately before editing them.

    line 15
  3. Very specific:

    Use ministr_references: before modifying shared code (find all callers)

    line 32
  4. Very specific:

    Use ministr_bridge: before modifying cross-language boundaries (Tauri, FFI, etc.)

    line 33

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

ministr MCP — Codebase Navigation

This project uses ministr as an MCP server for semantic code search. ministr is the preferred tool for codebase exploration; it does not restrict normal shell work.

Policy

  • Prefer ministr MCP tools for code discovery, search, and navigation.
  • The built-in Grep / Glob tools are not for exploration here — use ministr_survey / ministr_toc.
  • The shell is unrestricted: building, testing, dependency installs, git, running the project, and filtering command output (cargo test | grep, cargo build 2>&1 | tail, git log | grep) all run normally. A leading grep/find is auto-allowed with a one-line hint to prefer ministr — it never prompts.
  • Read files only immediately before editing them.

Tool Mapping (preferences, not prohibitions)

For…Prefer…
code / text searchministr_survey(query: "...") — semantic search across docs and code
file / structure discoveryministr_toc — structural overview of the indexed corpus
finding a symbolministr_symbols(query: "name") — by name/kind/module
a specific function's sourceministr_definition(symbol_id: "...")
who calls a functionministr_references(symbol_id: "...")

Workflow

  1. Start with ministr_survey for any question about the codebase
  2. Use ministr_symbols to find specific code symbols
  3. Use ministr_definition or ministr_read to get full source
  4. Use ministr_references before modifying shared code (find all callers)
  5. Use ministr_bridge before modifying cross-language boundaries (Tauri, FFI, etc.)

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.