smart-docs

Generate Markdown documentation with C4 architecture and workflow diagrams from codebases.

3|Updated Nov 12, 2025
One-click install
npx skills add https://github.com/torosent/crankfire --skill smart-docs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: smart-docs
Source: https://github.com/torosent/crankfire/tree/main/.claude/skills/smart-docs
Command: npx skills add https://github.com/torosent/crankfire --skill smart-docs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automatically generates comprehensive, professional codebase documentation, including architecture diagrams and developer guides, helping teams understand complex systems faster and reduce manual writing time.

Core Features & Use Cases

  • Automated Project Overview: Summarizes the project scope, tech stack, and structure.
  • C4 Architecture Diagrams: Creates system context, container, and component diagrams using Mermaid.
  • Workflow & Deep-Dive Docs: Produces workflow diagrams and in-depth module documentation.
  • Markdown Output: Outputs Markdown documents in a consistent, ready-to-share format.
  • Language-Agnostic: Works with codebases in any programming language.

Quick Start

In Claude Code, prompt: Generate comprehensive documentation for this codebase.

Frequently Asked Questions about smart-docs

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

FAQPage Schema
How do I generate architecture diagrams for my codebase?

Generate architecture diagrams by running the Skill on your codebase to produce C4 system context, container, and component diagrams in Mermaid format. The Skill analyzes your project structure and outputs ready-to-render visual documentation automatically.

Can I create comprehensive documentation for a multi-language project?

Yes, the Skill works with codebases in any programming language. It analyzes your repository regardless of language, generates architecture diagrams, API references, and module documentation in a unified Markdown format.

What documentation output does this Skill produce?

The Skill generates project overviews, C4 architecture diagrams, workflow diagrams, API references, deployment guides, and module deep-dives. All output is rendered as Markdown files organized in a ./docs/ directory ready to share.

How do I reduce time spent writing technical documentation?

Use the Skill to automate documentation generation instead of manual writing. It progressively analyzes your repository, identifies modules and dependencies, and produces comprehensive technical docs with diagrams in minutes.

Does this work for large or complex codebases?

Yes, the Skill applies to projects of various sizes. It progressively analyzes repositories to identify modules, dependencies, and relationships, making it suitable for both small and large complex systems.