documentation-wizard

Keeps documentation in perfect sync with code and knowledge. Auto-generates README, API docs, ADRs, and onboarding materials. Detects stale documentation and ensures it evolves with the codebase.

View on GitHub
Author Overlord-Z
Namespace @Overlord-Z/claudeshack
Category general
Version 1.0.0
Stars 0
Downloads 3
self.md verified
Table of content

Keeps documentation in perfect sync with code and knowledge. Auto-generates README, API docs, ADRs, and onboarding materials. Detects stale documentation and ensures it evolves with the codebase.

Installation

npx claude-plugins install @Overlord-Z/claudeshack/documentation-wizard

Contents

Folders: References, scripts

Files: README.md, SKILL.md

Documentation

Living Documentation Expert - Always in Sync

Documentation Wizard keeps your documentation perfectly synchronized with code, decisions, and learnings. It integrates with Oracle, Summoner, and Style Master to create comprehensive, up-to-date documentation automatically.

What It Does

๐Ÿ“ Auto-Generate Documentation

๐Ÿ”„ Continuous Synchronization

โœ… Documentation Validation

๐Ÿ”— Integration Powerhouse

Quick Start

# Generate initial documentation
python .claude/skills/documentation-wizard/scripts/generate_docs.py

# Validate documentation
python .claude/skills/documentation-wizard/scripts/validate_docs.py

# Sync from Oracle knowledge
python .claude/skills/documentation-wizard/scripts/sync_docs.py --source oracle

# Generate changelog
python .claude/skills/documentation-wizard/scripts/generate_changelog.py

Use Cases

1. Initial Documentation Setup

Use the documentation wizard to set up documentation for our project.

[Analyzes codebase]
[Loads Oracle knowledge]
[Generates README, API docs, contributing guide]
[Creates documentation structure]

2. Keep Docs in Sync

Update documentation based on recent changes.

[Checks git diff]
[Identifies affected docs]
[Updates API documentation]
[Generates changelog entry]

3. Create ADRs from Decisions

Create ADR for our decision to use PostgreSQL over MongoDB.

[Loads Oracle decision entry]
[Reads Summoner MCD rationale]
[Generates ADR-015-database-choice.md]
[Links to Oracle and Summoner references]

Documentation Types

Generated Documentation

TypeSourceOutput
READMECode + Oracle + SummonerREADME.md
API DocsJSDoc/TypeDoc commentsdocs/api/
ADRsOracle decisions + Summoner MCDsdocs/adr/
Style GuideStyle Masterdocs/STYLEGUIDE.md
OnboardingOracle sessionsdocs/ONBOARDING.md
ChangelogGit + OracleCHANGELOG.md

Integration Examples

With Oracle ๐Ÿง 

Oracle knows: “Use factory pattern for DB connections”

Docs generated:

## Database Connections

All database connections use the factory pattern:
\`\`\`typescript
const db = DatabaseFactory.create('postgres');
\`\`\`
This ensures proper connection pooling. See Oracle entry #42.

With Summoner ๐Ÿง™

Summoner MCD: Microservices migration decision

ADR generated:

# ADR-023: Migrate to Microservices Architecture

Context: From Summoner Mission "Microservices Migration"
Decision: Extract auth service first, then user service
Rationale: [From Summoner MCD]

With Style Master ๐ŸŽจ

Style Master style guide: Design tokens

Docs synced:

# Theme Customization

Override design tokens in your CSS:
\`\`\`css
:root {
  --color-primary: #your-color;
}
\`\`\`

See [Style Guide](./STYLEGUIDE.md) for all tokens.

Scripts Reference

generate_docs.py

Generates initial documentation from code and knowledge.

Options:

validate_docs.py

Validates documentation for staleness and issues.

Checks:

sync_docs.py

Synchronizes documentation from various sources.

Sources:

generate_changelog.py

Generates changelog from git history and Oracle.

Format: Semantic (Added/Changed/Fixed/Deprecated/Removed)

Best Practices

1. Document WHY, Not Just WHAT

Use Oracle to capture the reasoning behind decisions.

2. Keep Examples Executable

All code examples should be tested and copy-pasteable.

Connect documentation to Oracle, Summoner, code, and external resources.

4. Automate Updates

Set up hooks to update docs on code changes.

5. Validate Regularly

Run validation as part of CI/CD.

Workflow

# Daily: After development session
python .claude/skills/documentation-wizard/scripts/generate_docs.py --type api
python .claude/skills/documentation-wizard/scr

...(truncated)

## Source

[View on GitHub](https://github.com/Overlord-Z/ClaudeShack)
Tags: general