Help us improve
Share bugs, ideas, or general feedback.
From cobrew
Creates or refreshes project documentation in docs/ with a consistent structure including architecture, codebase, code standards, and product requirements.
npx claudepluginhub buiducnhat/cobrew --plugin cobrewHow this skill is triggered — by the user, by Claude, or both
Slash command
/cobrew:docsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create and maintain project documentation in `docs/` with a consistent, lightweight structure.
Audits existing docs and generates full project documentation in docs/ including architecture.md, getting-started.md, development.md, API refs, and ADRs. For onboarding and context sharing.
Generates and maintains project documentation including README, API docs, changelogs, and architecture records. Supports TypeDoc, Sphinx, JSDoc, godoc, and more.
Share bugs, ideas, or general feedback.
Create and maintain project documentation in docs/ with a consistent, lightweight structure.
Maintain these outputs:
docs/SUMMARY.md — documentation entry point with an Agent Context Guide (always regenerated)docs/architecture/ — system design, infrastructure, component interactions, data flows, feature flows. Focus on how the system works, not file/code structure.docs/codebase/ — file organization, directory structure, entry points, key modules and their responsibilities. Focus on where things live in the code.docs/code-standard/ — coding conventions, naming rules, style guides, environment setup, custom rules and patterns the team follows. Focus on how to write code that fits in with the existing codebase, best practices, and team conventions, very important for maintaining consistency.docs/project-pdr/ — product goals, use cases, business rules, constraints, and decision rationale. Nice to have many use case/requirements filesAlso keep README.md aligned with current docs links and project summary.
Scan the project to understand what needs documenting:
docs/SUMMARY.md and topic folders)README.md and key config files (package.json, tsconfig.json, Cargo.toml, etc.)git log --oneline -20 for recent changes when updating existing docsFocus on facts: features, architecture, stack, directory structure, and workflows. Do not invent requirements or assume business logic that is not evident from the code.
docs/ state.docs/ does not exist or is clearly incomplete, perform initialization behavior.docs/ already exists with the standard structure, perform update behavior.docs/ and 4 topic folders: architecture/, codebase/, code-standard/, project-pdr/components.md, conventions.md). Do NOT use generic names (overview.md, index.md, main.md). Split into multiple files when content covers 2+ clearly distinct sub-topics. Minimum 1 file per folder.docs/SUMMARY.md using the format specified in Content Requirements, including the Agent Context GuideREADME.md with link to docs/SUMMARY.mdPopulate each file with concrete, project-specific content. Avoid placeholders and generic templates.
git log --oneline and source file scanning to identify new/modified/removed components.docs/SUMMARY.md to match current files — only list files that actually exist on disk and keep the Agent Context Guide.README.md if documentation links changed.Important: The goal is an incremental, surgical update — not a full rewrite.
Ensure README.md includes:
docs/SUMMARY.mdBefore finishing, verify:
docs/SUMMARY.md exists and lists every detail file that actually exists on disk (no phantom entries)overview.md, index.md, main.md) in topic foldersREADME.md links point to docs/SUMMARY.mdSUMMARY.md is concise, contains the Agent Context Guide, and contains file tables for all sectionsSUMMARY.md formatContains project overview, a concise Agent Context Guide, and file tables for each documentation section.
Strictly follow the template in references/summary-template.md.
The Agent Context Guide must stay limited to project context loading:
docs/SUMMARY.md first when it existsCode Standard docs for implementation conventionsDo not use the guide to duplicate general engineering principles, git rules, or detailed question-tool procedures.
components.md, conventions.md, product-goals.mdoverview.md, index.md, main.md, general.mddocs/: Preserve any user-created files outside the 4 standard topic folders (e.g., docs/API.md, docs/deployment.md). List them under "Other" in SUMMARY.md. Do not move or rename them.architecture/components.md and note each package's purpose. Each package does not need its own full docs set — keep it proportional.