smart-docs
Skill by sopaco
Generates codebase documentation with C4 architecture diagrams in Mermaid and markdown files. Aimed at developers who need to document or understand a project, using Claude Code without external API calls.
Install smart-docs
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sopaco/deepwiki-rs /tmp/deepwiki-rs && mkdir -p ~/.claude/skills && cp -r /tmp/deepwiki-rs/skills/smart-docs ~/.claude/skills/smart-docsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sopaco/deepwiki-rs /tmp/deepwiki-rs && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/deepwiki-rs/skills/smart-docs ~/.gemini/antigravity-cli/skills/smart-docsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Smart Docs is an agent skill that generates codebase documentation in a ./docs/ folder. It runs in phases: project discovery with tree, find and cloc, architecture analysis of modules and dependencies, then documentation generation. The skill is described as an alternative to Litho and deepwiki-rs that runs on a Claude Code subscription without external API costs.
Output includes a Project Overview, an Architecture Overview with C4 context, container and component diagrams, a Workflow Overview with sequence and flow diagrams, and Deep Dive pages for major components. The source says it supports all programming languages and gives language-specific guidance for Rust, Python, Java and JavaScript or TypeScript. It is aimed at users who need to document codebases, understand architecture, write technical specs or create developer guides.
Written from the project's SKILL.md and checked against it.
What it can do
- Project discoveryMaps directory structure, lines of code, entry points and the technology stack.
- Architecture analysisIdentifies modules, dependencies and architectural patterns in the codebase.
- C4 diagramsCreates system context, container and component diagrams in Mermaid.
- Workflow documentationWrites sequence and flow diagrams for core workflows and data flow.
- Deep dive pagesGenerates detailed markdown pages for each major component.
- Quality checklistRuns a final check on file structure, diagram syntax and cross-references.
What you need
- Claude Code
Try asking
- Document this codebase and save the docs to ./docs
- Create C4 architecture diagrams for this project
- Write a developer guide for this repository
Good to know
- The source says tree and cloc are used only if available.
- For projects over 1000 files, the source suggests analysing files in batches.
Security check
B- Allowed to use Write without limitsIn
SKILL.md
Checked automatically: skills/smart-docs/SKILL.md, skills/smart-docs/install.sh. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadGlobWriteBash(tree:*)Bash(find:*)Bash(wc:*)Bash(cloc:*)
-
QUICKSTART.md5 KB -
README.md5 KB -
SKILL.md13 KB -
install.sh2 KB
Alternatives to smart-docs
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
smart-docs: common questions
Does Smart Docs need external API keys?
The source says it uses Claude Code's native capabilities without external LLM API calls. It is described as avoiding external API costs.
What files does Smart Docs create?
It creates markdown files in a ./docs/ directory, including overview, architecture, workflow and deep dive documents with Mermaid diagrams.
Which programming languages are supported?
The description says it supports all programming languages. The skill also gives specific guidance for Rust, Python, Java and JavaScript or TypeScript projects.
How do I install smart-docs?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is smart-docs free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is smart-docs safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write without limits). Review the code before you install. How grades work.
What are alternatives to smart-docs?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
