SC

sharptoolbox/codebase-reverse

Developer tools

This page was translated automatically. Technical details may differ from the original. View the original

122 stars Quality 65 Trend 24MIT

Complete source code reverse engineering skills: Reverse engineering existing source code into a complete metamodel of functions/implementation/architecture/interfaces/objects/components/databases, deeply customized for Java Web and Java microservices (Spring Boot/Cloud). Supports WorkBuddy / Claude Code / Codex.

Overview

This skill is a prompt methodology for AI programming assistants, which can reverse an existing source code project into a complete metamodel of functions, implementation, architecture, interfaces, objects, components, configurations, physical databases, etc., and produce feature-by-feature in-depth documentation (requirements + implementation breakthrough chain + database trace). Although verification scripts and some concepts (DAO, Service, Controller, DTO) originate from Java habits, the skills can also be extended to languages like C#, TypeScript, Python, Go, PHP, Ruby—just calibrate entry and object naming conventions according to references/exhaustive-discovery.md standards. In the "Full Architecture and Functional Baseline Mode," the skill will output (see references/output-contract.md): - source-asset-inventory.md — Source code asset ledger and ownership - business-function-requirements.md — ** for each business function - function-chain-index.md — ** for each function - database-inventory.md / database-schema.md / database-relations.md / database-access-matrix.md — Table-by-physical and field-by-field database inverse and R/C/U/D matrix - source-coverage-report.md — Check documentation coverage from source code - consistency-report.md — Independent semantic and relational consistency check - function-drilldowns/FUNC-xxx.md — F-FULL pattern: Business + technical implementation full set fine-grained reverse engineering (including ASCII page prototype) - function-requirements/FUNC-xxx.md — F-REQ pattern: Technical implementation independent requirements specification + ASCII demo + database object model This skill** (without proprietary calls to WorkBuddy / MCP / Hook) can run fully on tools such as Claude Code, Codex, Cursor, Cline, Aider, and other tools that support loading prompt/skill files. In the dialogue, simply say: "Help me reverse engineer this project," "Do F-FULL deep mining of xxx modules," and "Generate a technical implementation-independent specification (F-REQ)" to trigger it.

Overview (machine translated)

Reverse-engineer existing source code into a project metamodel that is **complete, traceable, can continue to be drilled, and can be checked for missing items from the source code.

This skill is a prompt methodology for AI programming assistants, which can reverse an existing source code project into a complete metamodel of functions, implementation, architecture, interfaces, objects, components, configurations, physical databases, etc., and produce feature-by-feature in-depth documentation (requirements + implementation breakthrough chain + database trace).


⚠️ Applicable Target Explanation (Please read first)

**This skill is mainly deeply customized for [Java Web projects] and [Java Microservices (Spring Boot / Spring Cloud) projects]. ** It is strongly integrated with the Java ecosystem in the following aspects:

| Customization dimension | Specific embodiment | |—|—| | Entry Recognition | Recognition of @RestController / @Controller + @RequestMapping / @GetMapping / @PostMapping and other Spring MVC annotations; Also recognize front-end routes such as app.get/post/put/delete | | Scheduling and Events | Recognition of @Scheduled, @XxlJob, Kafka @KafkaListener, @RabbitListener, [T10]], CDC, compensation tasks, and more menu-free automatic functions | | Data Access | Deep support MyBatis Mapper XML / SQL annotations, JPA / ORM entity mapping, DAO / Repository / Mapper file-by-file tracking | | Object classification | Fully classifies Entity / Model / DTO / VO / Command / Query / Event / Enum / Config to fit Java’s layered architecture | | Database Inverse | Uses physical tables / views / fields as the smallest units; When DDL is missing, the field model is inferred from Java type, SQL, DAO, and assignment path (length/null/index unknown item explicit flag unknown) | | Verification script | scripts/validate_meta_model.ps1 By default, it recognizes extensions such as .java / .kt / .cs / .ts / .py / .go and performs source code asset verification on Spring annotations |

Although verification scripts and certain concepts (DAO, Service, Controller, DTO) originate from Java habits, the skills can also be extended to languages like C#, TypeScript, Python, Go, PHP, Ruby—just calibrate the entry and object naming conventions according to the references/exhaustive-discovery.md caliber.


1. What can skills produce?

This page was translated automatically. Technical details may differ from the original.

Recommended Tools

Try a different keyword or remove a filter.

Install

npx skillfish add sharptoolbox/codebase-reverse
New to MCP? Start with the mcpskill.org guide →