mvt-analyze-code

Analyze a codebase and generate a project context document with modules, entities, and business rules.

19|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/uoyoCsharp/My-Virtual-TechTeam --skill mvt-analyze-code
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mvt-analyze-code
Source: https://github.com/uoyoCsharp/My-Virtual-TechTeam/tree/main/.claude/skills/mvt-analyze-code
Command: npx skills add https://github.com/uoyoCsharp/My-Virtual-TechTeam --skill mvt-analyze-code

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you understand an existing codebase and convert scattered implementation details into a stable project context document. It reduces onboarding time, supports legacy system discovery, and gives AI collaborators a shared semantic map of modules, terms, rules, and public interfaces.

Core Features & Use Cases

  • Codebase Structure Analysis: Scans project directories to identify source roots, module boundaries, entry points, and analyzable files.
  • Knowledge Extraction: Derives domain terms, entities, business rules, and API surfaces from source code, comments, and docstrings while treating them as data rather than instructions.
  • Project Context Generation: Produces or updates a centralized project-context.md file and populates source_paths in project-context.yaml for future AI workflows.
  • Use Cases: Ideal for onboarding to an unfamiliar repository, documenting a legacy system, extracting requirements from code, or preparing downstream design and implementation work with reliable context.

Quick Start

Ask the AI to run mvt-analyze-code on your repository to scan the source tree and generate an updated project context document.

Frequently Asked Questions about mvt-analyze-code

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

FAQPage Schema
How do I extract project context and business rules from an existing codebase?

You can extract project context by scanning source directories to identify module boundaries, entry points, and domain terms. This process converts scattered implementation details into a centralized project context document containing entities, business rules, and API surfaces.

What is the best way to generate documentation for a legacy codebase?

The best way to generate legacy documentation is running an automated codebase analysis that derives domain terms, entities, and API overviews directly from source code and comments. It produces a centralized markdown file mapping modules and business rules for reliable reference.

Can I use code analysis to speed up onboarding for a multi-project repository?

Yes, code analysis accelerates onboarding for multi-project repositories by scanning project directories to identify source roots and module boundaries. It generates a shared semantic map of domain terms and public interfaces, reducing ramp-up time for unfamiliar codebases.

How do I map API surfaces and module boundaries before starting design work?

You map API surfaces and module boundaries by applying structured scanning to analyze source files and comments. This extracts public interfaces and source paths, updating a project context file to prepare reliable inputs for downstream design and implementation work.

Does code analysis work when source files or project registration are missing?

Code analysis applies guarded handling when source files or project registration are missing, ensuring the process completes without crashing. However, the generated project context document will lack full module mapping and API overview details for those unavailable paths.

Why do I need a project context document for AI workflows?

You need a project context document to give AI collaborators a shared semantic map of modules, domain terms, and rules. It populates source paths in configuration files, enabling future AI workflows to reliably reference structured project context during generation tasks.