agentleFS
cyberkaidacyberkaida/reverse-engineering-assistant/.github/copilot-instructions.md

reverse-engineering-assistant

Copilot instructions848 starsChanged 13 months agoApache-2.0View on GitHub

Some good resources include: - The MCP Java SDK - Ghidra on GitHub

The file

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

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

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If you want to find a Ghidra API, start from the FlatProgramAPI or the ProgramPlugin API in the Ghidra repo.

    line 9
  2. Very specific:

    When writing tests, use the Ghidra test framework.

    line 11

≈ “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
  • This is a Ghidra extensions for Ghidra 12.0 and later called "ReVa", the Reverse Engineering Assistant.
  • The extension provides a Model Context Protocol (MCP) server for Ghidra. The server is implemented in Java and uses the MCP Java SDK.
  • Remember that MCP is in development, so make sure to check the MCP documentation for the latest information.

Some good resources include:

  • The MCP Java SDK
  • Ghidra on GitHub
  • If you want to find a Ghidra API, start from the FlatProgramAPI or the ProgramPlugin API in the Ghidra repo. Use the GitHub tools to search for Ghidra documentation.
  • We don't use a gradle wrapper, so just run gradle in the root directory to build the project. We do have the Java tools installed in VSCode so you can just check for errors with VSCode instead.
  • When writing tests, use the Ghidra test framework. The tests are in the src/test directory. It is easy to run them with gradle test --info and the integration tests with gradle integrationTest --info.
  • You can use standard gradle test filtering to run specific tests with both of the test targets.
  • We target Ghidra 12.0 and later. Note we should use Java 21.

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.