Docs logo

Docs

Organization
shakacode
docs

Generate, audit, or update project documentation to a professional open-source standard. Use this skill whenever the user mentions docs, documentation, README, API reference, guides, migration guides, troubleshooting, llms.txt, doc audit, or wants to improve any written developer-facing content in a repository. Also trigger when the user says things like "document this", "write docs for", "update the docs", "our docs need work", or compares documentation quality to other projects. Covers Ruby (YARD), TypeScript (TSDoc/JSDoc), Markdown guides, configuration references, and doc site structure.

Overview

Publishershakacode
Repositoryclaude-code-commands-skills-agents
Skill namedocs
Stars
48
Forks
7
Bundled files
3
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.

  • 3 bundled files

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

  • Open source

    Published by shakacode 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/shakacode/claude-code-commands-skills-agents/tree/main/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/shakacode/claude-code-commands-skills-agents.git /tmp/claude-code-commands-skills-agents
mkdir -p .claude/skills
cp -r /tmp/claude-code-commands-skills-agents/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.

Documentation Skill

Generate and maintain documentation that meets or exceeds the standard set by the best open-source Rails/JS projects (Inertia Rails, Vite Ruby, Rails itself).

Before You Start

Read these reference files (located in the references/ subdirectory next to this SKILL.md file) before proceeding:

  1. Quality Standard — references/quality-standard.md — tiered audit checklist (Must-Have / Expected / Differentiator)
  2. Documentation Templates — references/templates.md — structural skeletons for each doc type
  3. Competitive Landscape — references/competitive-landscape.md — benchmarks against peer projects

Workflow

Step 1: Assess the current state

  • Scan the repo for existing docs: docs/, README.md, CHANGELOG.md, CONTRIBUTING.md, inline code comments, Wiki, and any hosted doc site config (VitePress, Docusaurus, Jekyll, etc.)
  • Identify what exists, what is outdated, and what is missing
  • Compare against the Quality Standard reference above

Step 2: Determine scope

If the user gave a specific target (e.g., /docs $ARGUMENTS), focus there. Otherwise, present a prioritized gap analysis:

  1. Critical gaps - Missing README sections, no quick start, no API reference
  2. High-value improvements - Outdated guides, missing migration/upgrade docs, no troubleshooting
  3. Polish - LLMs.txt, cookbook/recipes, configuration reference, contributor guide improvements

Ask the user which items to tackle (or do all if they say so).

Step 3: Generate or rewrite documentation

Follow these principles for ALL documentation:

Voice and Style
  • Direct and concise. Lead with what the reader needs. No filler.
  • Show, don't tell. Every concept gets a code example. Prefer real-world examples over contrived ones.
  • Progressive disclosure. Quick start first, then deeper guides, then API reference. Layer complexity.
  • Avoid em dashes (use commas, parentheses, or separate sentences instead).
  • Use second person ("you") for guides and tutorials. Use third person for API references.
  • Prefer active voice. "Run bundle install" not "The bundle should be installed."
Structure by Doc Type

README.md (the front door):

  • One-liner description + badges
  • "What is this?" in 2-3 sentences
  • Quick install (copy-paste ready)
  • Minimal "Hello World" example that works
  • Link table to deeper docs
  • Requirements / compatibility matrix
  • Community links (Slack, Discussions, Stack Overflow)
  • Contributing pointer
  • License

Quick Start Guide (< 15 minutes):

  • Prerequisites with exact version requirements
  • Step-by-step, numbered instructions
  • Every command is copy-paste ready
  • "You should see..." verification checkpoints after key steps
  • Link to "next steps" at the end

Conceptual Guides (explain "why" and "how"):

  • Start with a one-paragraph summary of what the reader will learn
  • Use diagrams (Mermaid or ASCII) for architecture and data flow
  • Break into logical sections with clear headings
  • End each guide with "Related" links

API / Helper Reference:

  • One page per module or helper group
  • Signature, parameters table, return value, exceptions
  • At least one usage example per method
  • For Ruby: follow YARD conventions (@param, @return, @example)
  • For TypeScript: follow TSDoc conventions (@param, @returns, @example)

Configuration Reference:

  • Table format: option name, type, default, description
  • Group by category
  • Include example config file (annotated with comments)

Migration / Upgrade Guide:

  • Version-to-version, with exact steps
  • "Breaking changes" section at top
  • "Deprecations" section
  • Automated migration commands if available
  • Before/after code comparisons

Troubleshooting / FAQ:

  • Problem statement as the heading (what the user sees or encounters)
  • Cause explanation (1-2 sentences)
  • Solution with exact commands or code
  • "Still stuck?" pointer to community support

LLMs.txt (AI-friendly docs):

  • /llms.txt with a structured overview and links to key pages
  • /llms-full.txt with complete documentation in a single Markdown file
  • Follow the llms.txt specification: title, description, sections with URLs
  • Include on every docs page: "Are you an LLM? View /llms.txt for optimized documentation"

Step 4: Cross-reference and link

  • Every guide should link to related guides
  • Every API method mentioned in a guide should link to its reference page
  • Add a "See also" or "Related" section at the bottom of each page
  • Verify no dead links (check file paths exist)

Step 5: Review with the user

Present the generated docs and ask:

  • "Does this match how your project actually works?"
  • "Any terminology or naming I got wrong?"
  • "Anything missing for your users?"

Targeting Specific Files

When invoked as /docs <target>:

  • If <target> is a file path: generate/update docs FOR that code file (inline comments, module-level docs, method docs)
  • If <target> is a directory: generate/update docs for the entire module
  • If <target> is a doc type keyword (e.g., "readme", "api", "quickstart", "migration", "troubleshooting", "llms.txt", "audit"): generate that specific doc type
  • If <target> is "audit": run a full gap analysis against the Quality Standard reference above and report findings

Language-Specific Conventions

Ruby

  • Use YARD doc format for all public methods and classes
  • @param name [Type] description
  • @return [Type] description
  • @raise [ExceptionClass] when condition
  • @example with realistic usage
  • @see for cross-references
  • Document @option for hash parameters

TypeScript / JavaScript

  • Use TSDoc for TypeScript, JSDoc for JavaScript
  • @param name - description
  • @returns description
  • @throws {ErrorType} description
  • @example blocks with realistic usage
  • Export documentation: what is public API vs. internal
  • Document generic type parameters

Markdown Docs

  • Use ATX headings (#, ##, ###) not Setext
  • Fenced code blocks with language identifiers (ruby, typescript, ```bash)
  • Use reference-style links for repeated URLs
  • Tables for configuration options and API parameter lists
  • Admonitions for warnings and tips (use blockquote style: > **Note:** ... or > **Warning:** ...)

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?

Generate, audit, or update project documentation to a professional open-source standard. Use this skill whenever the user mentions docs, documentation, README, API reference, guides, migration guides, troubleshooting, llms.txt, doc audit, or wants to improve any written developer-facing content in a repository. Also trigger when the user says things like "document this", "write docs for", "update the docs", "our docs need work", or compares documentation quality to other projects. Covers Ruby (YARD), TypeScript (TSDoc/JSDoc), Markdown guides, configuration references, and doc site structure.

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/shakacode/claude-code-commands-skills-agents/tree/main/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?

It is published on GitHub by shakacode. Check the repository for licensing terms. 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 👇