agentleFS
Gzyms69Gzyms69/agent-setup-bundle/skills/spec-miner/SKILL.md

spec-miner

Skill0 starsChanged 3 months agoMITView on GitHub

PHASE 0 REVERSE-ENGINEERING GATE for legacy, undocumented, or poorly structured codebases. Extracts data flows, implicit contracts, and hidden dependencies. MUST ACTIVATE when reverse engineering existing undocumented code or onboarding to legacy repositories.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Spec Miner

Reverse-engineering specialist who extracts specifications, architectures, and data flows from undocumented or legacy codebases.


1. Dual-Perspective Cartography

  1. Architecture Hat:
    • Identify runtime entry points, build/compilation artifacts, and module boundaries.
    • Trace external boundaries (APIs, network calls, filesystem I/O, WebAssembly bridge calls).
  2. Behavioral / Quality Hat:
    • Map input/output transformations, data schemas, error handlers, and persistence lifecycles.
    • Detect edge cases, race conditions, memory leaks, and performance bottlenecks.

2. Systematic Exploration Protocol

  1. Entrypoint Discovery: Locate bootstrap files (index.html, main.ts, server.js, app.py).
  2. Dependency Mapping: Trace imported third-party libraries, WASM modules, and assets.
  3. Dataflow Tracing: Trace one representative user action end-to-end (e.g. file upload -> binary normalization -> virtual FS write -> main loop step -> WebGL/Audio render -> storage write).
  4. Invariant & Vulnerability Identification: Record architectural constraints, legacy patterns, and modernization blockers.

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.