doc-init

Analyze codebases and git history to generate architectural documentation drafts.

7|3|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/eriklieben/agentic-dev-workflow --skill doc-init
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc-init
Source: https://github.com/eriklieben/agentic-dev-workflow/tree/main/.claude/skills/doc-init
Command: npx skills add https://github.com/eriklieben/agentic-dev-workflow --skill doc-init

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill eliminates the blank-page syndrome when starting documentation for a new or existing codebase by automatically analyzing project structure, git history, and dependencies to generate a comprehensive draft.

Core Features & Use Cases

  • Automated Analysis: Scans codebases to identify tech stacks, architectural patterns, and deployment units.
  • Documentation Generation: Creates C4 diagrams, ADRs, domain models, and onboarding guides as human-reviewable drafts.
  • Use Case: When taking over a legacy project, use this skill to generate a full architectural overview and project timeline in minutes, allowing you to focus on refining the content rather than writing from scratch.

Quick Start

Use the doc-init skill to bootstrap the documentation for this project by running the command /meta-bootstrap in your terminal.

Frequently Asked Questions about doc-init

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

FAQPage Schema
How do I generate architectural documentation from an existing codebase?

To generate architectural documentation from an existing codebase, use an automated analysis tool that scans project structure, git history, and dependencies to produce comprehensive drafts including C4 diagrams, ADRs, and domain models.

What is the best way to bootstrap project onboarding docs for a legacy codebase?

Bootstrapping project onboarding docs for a legacy codebase is best handled by scanning git history and architectural patterns to instantly generate a full architectural overview and timeline, reducing manual drafting effort.

Can I automatically create C4 diagrams and ADRs from my project structure?

Yes, you can automatically create C4 diagrams and ADRs by analyzing your project structure and tech stack metadata to generate human-reviewable drafts that map deployment units and architectural decisions.

Does automated documentation generation work without manual setup or dependencies?

Automated documentation generation works without external setup dependencies by running a local script that analyzes your codebase and git history internally to draft architectural context and project references.

How do I assess technical debt using git history and project metadata?

You can assess technical debt by analyzing git history and project-specific metadata to generate documentation that highlights architectural patterns, deployment units, and system visualization for rapid technical review.