agentleFS
blueclover22blueclover22/mw_agent_kit/skills/reverse-engineering/SKILL.md

reverse-engineering

Skill1 starsChanged 8 days agoMITView on GitHub

Use when asked to bootstrap a project's docs/ set or reverse-engineer an existing codebase into that set.

32 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ida-reverse, game-automation and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • DorianGalloSkill

    ida-reverse

    IDA Pro 逆向分析辅助技能。当用户提到逆向、反编译、分析二进制/PE/ELF/APK/DLL/SO、破解、找密码、漏洞分析、病毒分析、firmware 固件分析,或需要分析 exe/dll/so/elf/macho/sys 等文件时,务必使用此技能。

    Also in 6 projects that use this

  • rehan-remadeSkill

    game-automation

    Launch, see and drive a real game so an agent can test its own mods. Covers launching via Steam or the exe, windowed mode at a fixed size, screenshots of the game window (GPU-safe capture), clicking and typing into menus, holding keys, relative mouse, crash-reporter cleanup, killing by PID, reading logs, scripted test scenes, and an in-game JSON bridge that lets an agent observe and act. Windows-first (also from WSL), with notes for Linux and macOS. Use when a mod must be verified in game, when navigating menus automatically, or when building a repeatable test or demo scene.

    Also in 4 projects that use this

  • rehan-remadeSkill

    game-recon

    Figure out how a specific installed game can be modded, before writing any mod code. Covers where it's installed, the engine and version, managed vs native code, anti-cheat, loaders already present, save and config folders, and the community's modding route. Also whether this machine can run it (a Windows game on macOS or Linux, x64 on ARM). Use when the user asks "can I mod <game>?", "what engine is <game>", "how do people mod <game>", or at the start of any modding task. Produces MODDING_PLAN.md.

    Also in 4 projects that use this

  • DorianGalloSkill

    attack-chain

    Also in 5 projects that use this

  • +4 more from rehan-remade
  • +4 more from DorianGallo

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 25 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    If the project has no README.md, offer ${CLAUDE_PLUGIN_ROOT}/skills/reverse-engineering/assets/README.template.md as an optional starting …

    line 33
  2. Very specific:

    Follow docs/CLAUDE.md §2 (single flow and fill order — SSOT there, not restated here.

    line 37
  3. Very specific:

    Keep frontmatter type / related_to symmetric per the INDEX rules.

    line 47
  4. Distinctive:

    No time-stamped status anywhere in the set.

    line 48
  5. Very specific:

    Run the cleanup and the completion checklist exactly as defined in docs/CLAUDE.md §2 step 4 and §4 (remove > Template: blocks except in …

    line 52
  6. Distinctive:

    Do not run git commit/push unless the user explicitly says "commit"/"push".

    line 64

“Common” is measured: kept by at least 6 in 10 of the 25 edited versions of this file we could read. “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
SKILL.md

mak:reverse-engineering — Project Analysis into the Doc Set

Bootstraps the project's docs/ from the bundled template set at ${CLAUDE_PLUGIN_ROOT}/skills/reverse-engineering/assets/project_docs/, then fills it by analyzing the codebase — recording the facts observed in the code.

The set's own rules live inside it:

  • project_docs/00.INDEX.md — structure, per-topic SSOT, frontmatter conventions, content rules, domain / process registries (the rulebook)
  • project_docs/CLAUDE.md — the analysis procedure (how to execute the rulebook)

This skill orchestrates: copy → analyze/fill → template cleanup. The two files above are the SSOT for everything else — follow them, don't restate them.

The set is one fixed composition — core documents 00–06 plus the unnumbered domains/ (one file per feature domain) and processes/ (one file per traced scenario) folders, each with a _template.md copy source. Templates are in English. Fill content in the user's language (or the project's documented language policy), keeping the structure; the INDEX's rule text is translated at cleanup (docs/CLAUDE.md §2 step 4).

Procedure

1. Confirm target and state

  • Confirm the project root (default: current working directory).
  • Check for existing guide documents — docs/ content, plus obvious guide files elsewhere (e.g. a root-level ARCHITECTURE/CONTRIBUTING guide). If any exist, list them and confirm with the user whether to merge (merge / copy only missing files / abort). Never overwrite an existing document without reading it first.
  • On merge, this skill's doc-set format is the baseline — migrate the existing documents' content into the set's structure (per-topic SSOT, numbering, frontmatter per 00.INDEX.md), not the other way around. For projects with a mature docs/, recommend "copy only missing files" as the lower-impact default. Before executing a merge, present the plan first: which files will be created/changed and which originals become superseded — proceed after confirmation. Facts already written in the existing guides are treated as source material for step 3 (verify against code before carrying over; unverifiable claims become _(TODO)_). After migration, list the superseded originals and let the user decide whether to archive or delete them — do not delete on your own.

2. Copy the set

  • Copy the whole set from ${CLAUDE_PLUGIN_ROOT}/skills/reverse-engineering/assets/project_docs/ into <project>/docs/.
  • Copy domains/ and processes/ recursively (each holds its _template.md — copying only top-level *.md loses them).
  • If the project has no README.md, offer ${CLAUDE_PLUGIN_ROOT}/skills/reverse-engineering/assets/README.template.md as an optional starting skeleton (separate decision; skip silently if the user doesn't want it). If used, read the whole template first.

3. Analyze and fill

Follow docs/CLAUDE.md §2 (single flow and fill order — SSOT there, not restated here; scenarios go to processes/<name>.md, feature domains to domains/<name>.md, each via its _template.md).

Delegation — if the mak:analyzer agent is in the available agent list, delegate the analysis/filling to it in batches, following docs/CLAUDE.md §2's order. Pass each batch: the project root, the assigned document list, a pointer to docs/00.INDEX.md + docs/CLAUDE.md as the rulebook, the output language, and the observation format — each code-issue observation tagged with category, severity, status, and location per ${CLAUDE_PLUGIN_ROOT}/skills/reverse-engineering/assets/analyzed-issues.template.md. Keep interactive decisions (merge confirmations, ambiguous conventions needing user input) in the main thread, and apply the cross-document syncs (00.INDEX.md registries, related_to symmetry) that analyzer reports back. If analyzer is unavailable, fill directly.

Batches may be delegated in parallel, but only after the fill order and cross-document dependencies are respected, only among batches that have no dependency on each other, and only when their assigned document sets do not overlap — two batches writing the same document collide. A workable split: A processes/ + 02 + 05 first (the trace grounds the structure documents) → B 01 §1–§4 + 03 and C 04 + 06 in parallel → D domains/ + 01 §5–§6 after A, B, and C (domains are discovered while tracing; 01's Change Checklist and Troubleshooting link into 03/04/06).

Hard rules while filling (SSOT: docs/CLAUDE.md §1):

  • Record observed facts (is), not aspirations; unverified cells get _(TODO — <what's needed>)_, never guesses.
  • Respect per-topic SSOT — one home per topic, links elsewhere.
  • Keep frontmatter type / related_to symmetric per the INDEX rules.
  • No time-stamped status anywhere in the set.

4. Template cleanup + verification

Run the cleanup and the completion checklist exactly as defined in docs/CLAUDE.md §2 step 4 and §4 (remove > Template: blocks except in CLAUDE.md/_template.md, remove the INDEX intro and example registry rows, prune the stack table, no unreplaced <...>, translate the INDEX rule text, grep check zero hits).

5. Report

Summarize: files created, docs filled vs left _(TODO)_, improvement observations noted while tracing (listed here — never written into the set), and suggested next steps (e.g. fill remaining TODOs; if the user wants a roadmap, mak:roadmap-planning creates it as a separate document outside the set).

If any of those observations are code issues, ask the user whether to keep them in the out-of-set analyzed-issues document (docs/<NN>.analyzed-issues.md, numbered per docs/00.INDEX.md §Content Rules). On approval, the main thread collates the observations, removes duplicates, assigns IDs, and writes the document from ${CLAUDE_PLUGIN_ROOT}/skills/reverse-engineering/assets/analyzed-issues.template.md (format rules live in the template). If the document already exists, read it and merge, keeping existing IDs.

Cautions

  • This skill writes documents only — no source-code changes.
  • Large analysis can be staged: agree with the user on which docs to fill this session and record the rest as _(TODO)_.
  • Do not run git commit/push unless the user explicitly says "commit"/"push".

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.

Reviews can't be read right now.

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.