/cobrew:docsfrom cobrew
Creates or refreshes project documentation in docs/ with a consistent structure covering architecture, codebase, code standards, and project requirements.
Ships in cobrew. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub buiducnhat/cobrew --plugin cobrew9 skills in this plugin
/askStructured clarification and requirements gathering through focused dialogue or with dry code. Use when a task is ambiguous, underspecified, or requires user input before any action can be taken. Do not plan or implement anything—only ask questions to collect the information needed./brainstormCollaborative discovery and design framing for ambiguous or high-risk work. Use when requirements are unclear, multiple approaches are possible, or you need to turn an idea into a validated design brief before planning or coding./execute-planExecute an approved implementation plan exactly and safely. Use for ExecPlan-style plan execution, resumable phase checklists, multi-hour implementation work, migrations, significant refactors, and plans that require verification checkpoints, status tracking, and final reporting./fixDiagnose and fix bugs with root-cause analysis and verification. Use when you have a concrete issue report, failing behavior, runtime error, or test regression that should be resolved safely. Stop and escalate to brainstorm when scope or risk grows./quick-implementRapid implementation for small, low-risk, well-defined changes. Use when the task is narrow in scope, has clear acceptance criteria, and can be completed safely without a formal multi-phase plan./reviewReview current uncommitted git changes with full file context and produce a structured report with severity levels, actionable fixes, and an approval verdict.Other plugins' skills for the same job