p:code-analysis

Analyze codebases to generate structured documentation for modules, subsystems, and APIs.

1|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/pontscho/prompt-heaven --skill p-code-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: p:code-analysis
Source: https://github.com/pontscho/prompt-heaven/tree/main/ClaudeCode/skills/p%3Acode-analysis
Command: npx skills add https://github.com/pontscho/prompt-heaven --skill p-code-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Helps developers quickly understand and document existing codebases by analyzing modules, subsystems, and APIs.

Core Features & Use Cases

  • Module analysis (/analyze-module) to inspect a single file
  • Subsystem analysis (/analyze-subsystem) to map component interactions
  • API analysis (/analyze-api) to generate user-facing references

Quick Start

Provide the module path or subsystem name and ask the AI to run the corresponding analysis command.

Frequently Asked Questions about p:code-analysis

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

FAQPage Schema
How do I generate documentation for my codebase architecture and APIs?

Codebase architecture and API documentation is generated by analyzing modules and subsystems to produce structured references. The tool maps component interactions and outputs user-facing API references to designated docs directories for onboarding and exploration.

How do I analyze a code module to understand its structure?

You analyze a code module by providing its file path to an inspection command that examines the single file and outputs structured documentation. This maps the module's internal logic and dependencies into a readable reference.

What is the best way to map component interactions in a software subsystem?

Mapping component interactions in a software subsystem is done by running a subsystem analysis that identifies relationships between components and documents them. This produces a structured map of how different parts of the subsystem communicate.

Can I use automated code analysis for developer onboarding and code exploration?

Automated code analysis can be used for developer onboarding and code exploration. It helps new developers quickly understand existing codebases by generating structured documentation for modules, subsystems, and APIs.

Does code analysis require any external dependencies or specific environment setup?

This code analysis requires no external dependencies or specific environment setup to function. You simply provide the module path or subsystem name and ask the AI to run the corresponding analysis command to generate documentation.