Docs logo

Docs

Community
buiducnhat
docs

Create or refresh project documentation in `docs/`. Use when a project needs docs initialized or existing docs synced to the current codebase.

Overview

Publisherbuiducnhat
Repositorycobrew
Skill namedocs
Stars
48
Forks
3
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by buiducnhat on GitHub. Read the source before you install it.

Installation

Install the Docs AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/buiducnhat/cobrew/tree/main/plugins/cobrew/skills/docs
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/buiducnhat/cobrew.git /tmp/cobrew
mkdir -p .claude/skills
cp -r /tmp/cobrew/plugins/cobrew/skills/docs .claude/skills/docs
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Docs in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Docs on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Docs is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Docs

Create and maintain project documentation in docs/ with a consistent, lightweight structure.

Outputs

Maintain these outputs:

  1. docs/SUMMARY.md — documentation entry point with an Agent Context Guide (always regenerated)
  2. docs/architecture/ — system design, infrastructure, component interactions, data flows, feature flows. Focus on how the system works, not file/code structure.
  3. docs/codebase/ — file organization, directory structure, entry points, key modules and their responsibilities. Focus on where things live in the code.
  4. 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.
  5. docs/project-pdr/ — product goals, use cases, business rules, constraints, and decision rationale. Nice to have many use case/requirements files

Also keep README.md aligned with current docs links and project summary.

Workflow

Step 1: Context Scan

Scan the project to understand what needs documenting:

  1. Read existing docs if any (docs/SUMMARY.md and topic folders)
  2. Read README.md and key config files (package.json, tsconfig.json, Cargo.toml, etc.)
  3. Scan source directories to understand project structure, entry points, and major components
  4. Check git log --oneline -20 for recent changes when updating existing docs

Focus on facts: features, architecture, stack, directory structure, and workflows. Do not invent requirements or assume business logic that is not evident from the code.

Step 2: Infer Behavior

  • Infer whether the repository needs an initial documentation pass or an incremental update based on the current docs/ state.
  • If docs/ does not exist or is clearly incomplete, perform initialization behavior.
  • If docs/ already exists with the standard structure, perform update behavior.
  • State the inferred behavior briefly when relevant.

Step 3: Produce Documentation

Initialize docs when missing or incomplete
  1. Create docs/ and 4 topic folders: architecture/, codebase/, code-standard/, project-pdr/
  2. For each topic folder: a. Scan codebase for relevant information b. Generate content based on codebase scan c. Create topic-specific files based on content found in the codebase. Name each file by its content (e.g., 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.
  3. Create docs/SUMMARY.md using the format specified in Content Requirements, including the Agent Context Guide
  4. Update README.md with link to docs/SUMMARY.md

Populate each file with concrete, project-specific content. Avoid placeholders and generic templates.

Update docs when they already exist
  1. Detect what changed: compare current code against existing docs. Use git log --oneline and source file scanning to identify new/modified/removed components.
  2. Preserve useful existing content and section structure.
  3. Update stale or inaccurate sections in-place — do not rewrite from scratch.
  4. Add newly discovered features, components, or conventions.
  5. Remove clearly obsolete statements.
  6. Add, modify, or remove detail files as needed based on content changes.
  7. Regenerate docs/SUMMARY.md to match current files — only list files that actually exist on disk and keep the Agent Context Guide.
  8. Update README.md if documentation links changed.

Important: The goal is an incremental, surgical update — not a full rewrite.

Step 4: Sync README

Ensure README.md includes:

  • Short project overview
  • Quick start (if present in project)
  • Documentation link pointing to docs/SUMMARY.md

Step 5: Validate Quality

Before finishing, verify:

  • docs/SUMMARY.md exists and lists every detail file that actually exists on disk (no phantom entries)
  • Each topic folder has at least 1 topic-specific file
  • No generic file names (overview.md, index.md, main.md) in topic folders
  • README.md links point to docs/SUMMARY.md
  • SUMMARY.md is concise, contains the Agent Context Guide, and contains file tables for all sections
  • Terminology is consistent across files
  • No contradictions between docs and code
  • Paths and component names are accurate
  • Content is concise, specific, and actionable

Content Requirements

SUMMARY.md format

Contains 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:

  • Read docs/SUMMARY.md first when it exists
  • Load only task-relevant detail docs
  • Prioritize Code Standard docs for implementation conventions
  • Use the available input/question before broad changes when docs conflict with code or user intent

Do not use the guide to duplicate general engineering principles, git rules, or detailed question-tool procedures.

Topic file rules

  • Each file focuses on 1 specific sub-topic within its folder
  • Named by content slug: components.md, conventions.md, product-goals.md
  • Do NOT use generic names: overview.md, index.md, main.md, general.md
  • Keep files focused and concise without enforcing line-count targets

Edge Cases

  • Minimal/empty project: If the codebase has very little code, keep topic files short and factual. Do not pad content to reach arbitrary size targets. Mark sections as "TBD — to be documented as the project grows" when there is genuinely nothing to document yet. Even with 1 file per folder, name it by its content.
  • Custom files in docs/: 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.
  • Monorepo: If the project contains multiple packages/apps, document the overall structure in architecture/components.md and note each package's purpose. Each package does not need its own full docs set — keep it proportional.

Rules

  • Keep documentation factual; do not invent requirements.
  • Prefer concise updates over verbose prose.
  • Keep docs aligned with current implementation.
  • When uncertain, mark assumptions explicitly and request confirmation.
  • Ask targeted questions when information cannot be reliably inferred (business goals, ambiguous module ownership, conflicting conventions, unclear architecture decisions).

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Docs AI skill do?

Create or refresh project documentation in `docs/`. Use when a project needs docs initialized or existing docs synced to the current codebase.

Why use Docs on TypingMind?

Because you install it once and use it with any model. Docs is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Docs in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/buiducnhat/cobrew/tree/main/plugins/cobrew/skills/docs. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Docs?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Docs?

As many as you like. As long as a model supports skills, you can use Docs with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Docs AI skill free?

Yes. It is published on GitHub by buiducnhat under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇