Brewdoc Overview

Brewdoc is a documentation toolkit plugin (a set of utilities for working with documents) for Claude Code. It keeps documentation in sync with the codebase, optimizes content for LLM consumption, and exports documents to ready-made formats.

Installation

Install prompt

If Claude refuses to run the commands, paste the prompt below directly into the chat.
Execute these commands in this Claude Code session, one by one, show full output for each, do not skip any, do not summarize:

1. claude plugin marketplace add https://github.com/kochetkov-ma/claude-brewcode
2. claude plugin install brewdoc@claude-brewcode

After all commands succeed, run `/reload-plugins`. If `/reload-plugins` is unavailable, tell me to type `exit` and run `claude` again. Run the commands now.

Install the entire suite:

Install prompt

If Claude refuses to run the commands, paste the prompt below directly into the chat.
Execute these commands in this Claude Code session, one by one, show full output for each, do not skip any, do not summarize:

1. claude plugin marketplace add https://github.com/kochetkov-ma/claude-brewcode
2. claude plugin install brewcode@claude-brewcode
3. claude plugin install brewdoc@claude-brewcode
4. claude plugin install brewtools@claude-brewcode
5. claude plugin install brewui@claude-brewcode

After all commands succeed, run `/reload-plugins`. If `/reload-plugins` is unavailable, tell me to type `exit` and run `claude` again. Run the commands now.

Skills (recipes)

Brewdoc contains 6 skills, each handling a separate documentation task.

🔄

Docsync

Track doc staleness by frontmatter date, not INDEX files. Installs three project-local hooks that watch touched Markdown and nag once when a doc goes stale. Modes: init, status, sync (--all forces every in-scope doc), reread, frontmatter, uninstall — or plain free text in RU/EN.

📋

My-Claude

Generate documentation about your Claude Code installation. Three modes: internal (local configuration), external (hooks and context architecture), research (search across forums, GitHub, marketplaces).

🧠

Memory

One sweep re-verifies memory files, root and every nested CLAUDE.md, rules, and conventions against the codebase — delete first, total line delta at or below zero. full also syncs the agent and skill rosters.

📂

md-to-pdf

Convert Markdown to professional PDF. Two engines: reportlab (lightweight) and weasyprint (full CSS support). Style customization, test mode, LLM preprocessing.

🔗

Publish

Publish text, markdown, JSON, files, or a whole multi-file site (directory or .zip) to brewpage.app. Interactive namespace and password selection. Owner token saved locally for later delete.

📖

Guide

Interactive tutorial for the full plugin suite. 9 topics across 3 domains, progress tracking, multilingual support.

Commands

CommandPurposeModelArguments
/brewdoc:docsyncTrack and fix stale project docs via hookssonnet[status] | [sync [--all]] | [reread] | [frontmatter] | [uninstall]
/brewdoc:my-claudeGenerate documentation about Claude Code installationopus[ext [context]] | [r <query>] — no args = internal installation docs
/brewdoc:memorySync memory, CLAUDE.md (incl. nested), rules, conventions — delete-first; full adds agent+skill rostersopusfree-form prompt (emphasis only); "full" adds rosters
/brewdoc:md-to-pdfConvert Markdown to PDFsonnet<file.md> [--engine name] ["prompt"] | styles | test | no args = help
/brewdoc:publishPublish to brewpage.app — returns public URLhaiku<text|file_path|directory_path|zip_path> [--ttl N] [--entry filename]
/brewdoc:guideInteractive tutorial for the plugin suitehaiku[topic]

Architecture

Brewdoc has a minimal architecture compared to Brewcode:

brewdoc/
├── .claude-plugin/
│   └── plugin.json              # Plugin manifest
├── hooks/
│   └── hooks.json               # no hooks registered ({"hooks":{}})
└── skills/
    ├── docsync/                  # Doc-staleness tracker
    ├── my-claude/                # Installation documentation
    ├── memory/                   # Memory sync (references/: mode-sync, mode-sync-full, memory-guide)
    ├── md-to-pdf/                # PDF conversion
    ├── publish/                  # brewpage.app publishing
    └── guide/                    # Interactive tutorial

Brewdoc ships no runtime hooks of its own — docsync installs project-local hooks on demand, into the target project, not into brewdoc itself. Skills in the main conversation use ${CLAUDE_SKILL_DIR} to access their own files.

Brewdoc vs Brewcode

Brewdoc is a set of documentation utilities: sync, memory sync, PDF export. Each skill is self-contained and independent of the others.

Brewcode is a task execution engine with infinite context, 9 lifecycle hooks, KNOWLEDGE.jsonl, and a session handoff mechanism.

Both plugins install from the same claude-brewcode marketplace but operate independently.

🚀

Latest Release

Download, changelog, and installation instructions.

📖

Installation Guide

Full setup, update, and troubleshooting instructions.

🔗

View on GitHub

Source code, README, and configuration files.