codebase-structure

Automate codebase architecture discovery and generate MasterIndex documentation artifacts.

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/zkzupup/MySkills --skill codebase-structure
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-structure
Source: https://github.com/zkzupup/MySkills/tree/main/skills/codebase-structure
Command: npx skills add https://github.com/zkzupup/MySkills --skill codebase-structure

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables rigorous, automated mapping of a codebase's architecture and a comprehensive MasterIndex that serves as the foundation for downstream documentation.

Core Features & Use Cases

  • Dual-axis module discovery: structural modules (technical layout) and feature modules (business capabilities) mapped to a MasterIndex.
  • Exhaustive dependency graph generation and architecture pattern tagging with explicit file-level evidence.
  • Annotated project directory tree and cross-reference tables to support codebase documentation.
  • Output artifacts suitable for codebase-documentation workflow, including MasterIndex.md and architecture diagrams.

Quick Start

Invoke the skill on a repository to generate MasterIndex.md and architecture diagrams for documentation.

Frequently Asked Questions about codebase-structure

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

FAQPage Schema
How do I map codebase architecture for a large multi-module repository?

Codebase architecture discovery automates mapping for large multi-module repositories by generating a MasterIndex containing structural and feature matrices, dependency graphs, and annotated directory trees. It enforces explicit file-level evidence for each module to support downstream documentation workflows.

What is the dual-axis view for codebase module discovery?

Dual-axis module discovery maps codebase architecture by analyzing structural modules for technical layout and feature modules for business capabilities. Both axes are mapped to a MasterIndex to provide a comprehensive architectural overview.

How do I generate a dependency graph with file-level evidence?

Generating a dependency graph with file-level evidence requires automating exhaustive dependency mapping across the repository while enforcing explicit files and paths for each module. The output includes architecture pattern tagging and artifacts consumable by codebase-documentation workflows.

Can I use automated architecture pattern tagging for codebase documentation?

Automated architecture pattern tagging supports codebase documentation by producing output artifacts like a MasterIndex.md and architecture diagrams. These artifacts are specifically designed to be consumable by downstream codebase-documentation workflows.

Does codebase structure discovery work for large multi-module repositories?

Codebase structure discovery is designed for large multi-module repositories, applying automated analysis to produce structural and feature matrices. It records the analysis date and tier while enforcing explicit evidence for each module.