codebase-analysis

Extract domain models, business rules, and data flows from existing codebases.

4|1|Updated Dec 29, 2025
One-click install
npx skills add https://github.com/DoubleslashSE/claude-marketplace --skill codebase-analysis-doubleslashse
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-analysis
Source: https://github.com/DoubleslashSE/claude-marketplace/tree/main/Plugins/business-analyst/skills/codebase-analysis
Command: npx skills add https://github.com/DoubleslashSE/claude-marketplace --skill codebase-analysis-doubleslashse

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams extract requirements and domain knowledge from existing codebases by translating code structures into business concepts and actionable insights.

Core Features & Use Cases

  • Codebase reconnaissance: Identify domain concepts, entities, and relationships buried in source code.
  • Pattern and rule extraction: Document business rules, validations, and workflows present in the code.
  • Use Case discovery: Map user capabilities and critical workflows to help define new or updated requirements.
  • Use Case Example: Imagine rewriting a monolithic order management system; this Skill helps surface entities like Order, Customer, Payment, and their interactions for further analysis.

Quick Start

Run a brownfield analysis by loading an existing codebase and extracting domain terms, relationships, and rules. For example: "Analyze the repository at /path/to/codebase and generate a domain model and a rules catalog."

Frequently Asked Questions about codebase-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract business rules and domain models from a legacy codebase?

To extract business rules and domain models from a legacy codebase, you need a reverse-engineering approach that translates code structures into domain concepts, entities, and relationships. This surfaces hidden validations and workflows for stakeholder analysis.

What is brownfield analysis and when do I need it for system modernization?

Brownfield analysis is the process of reverse-engineering requirements and domain knowledge from existing source code. You need it during legacy system modernization to uncover current system capabilities, data flows, and integration points before rewriting.

How do I discover undocumented features and use cases in an existing source code repository?

To discover undocumented features and use cases, you analyze the existing source code repository to map user capabilities and critical workflows. This reconnaissance identifies domain terms and interactions to define updated requirements.

Can I analyze codebases across multiple programming languages and architectures?

Yes, you can analyze codebases across multiple languages and architectures. The analysis identifies domain models, data flows, and integration points regardless of the specific implementation, cataloging patterns to preserve context.

What's the best way to map data flows and integration points for a monolithic system rewrite?

The best way to map data flows and integration points during a monolithic rewrite is to perform codebase reconnaissance. This extracts entities and their interactions, translating raw code structures into actionable business insights for modernization.

How do I catalog domain patterns to preserve context for stakeholders during reverse engineering?

To catalog domain patterns and preserve context for stakeholders, you extract requirements from the codebase by documenting business rules, validations, and workflows. This translates technical implementations into business concepts for actionable analysis.