kc-docs

Analyze Python codebases and generate architecture and class diagrams.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Markedslabben/kc --skill kc-docs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kc-docs
Source: https://github.com/Markedslabben/kc/tree/main/skills/kc-docs
Command: npx skills add https://github.com/Markedslabben/kc --skill kc-docs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill analyzes Python codebases and automatically generates comprehensive project documentation, including architecture diagrams (Mermaid), class diagrams (PlantUML), and API references, keeping documentation in sync with code and reducing maintenance effort.

Core Features & Use Cases

  • Analysis-driven diagrams: Architecture (Mermaid) and class diagrams (PlantUML) generated from your codebase.
  • In-project documentation: Outputs docs/ with ARCHITECTURE.md, API_REFERENCE.md, ANALYSIS_REPORT.md, plus diagrams.
  • Onboarding and maintenance: Quick insights about project structure to speed up team ramp-up.

Quick Start

Run /kc-docs analyze <project_path> to inspect the codebase and determine recommended diagrams, then run /kc-docs generate <project_path> to produce diagrams and documentation inside the project. You can view the results under <project_path>/docs.