Логотип Docs

Docs

Организация
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.

Обзор

Издательshakacode
Репозиторийclaude-code-commands-skills-agents
Название навыкаdocs
Звёзды
48
Форки
7
Встроенные файлы
3
Ссылки
  • Инструкции в формате Markdown

    Файл SKILL.md, который модель загружает по необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 3

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Опубликовано на GitHub: shakacode. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Docs в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/shakacode/claude-code-commands-skills-agents/tree/main/skills/docs
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Новый навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

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
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Docs в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Docs, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Docs не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими API-ключами.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

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:** ...)

Встроенные файлы

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ 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.

Зачем использовать Docs в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Docs — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Docs в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/shakacode/claude-code-commands-skills-agents/tree/main/skills/docs. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Docs?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Docs?

С любым количеством. Если модель поддерживает навыки, вы можете использовать с ней Docs: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama и другие — всё в TypingMind с вашими собственными ключами API.

Бесплатен ли навык ИИ Docs?

Навык опубликован на GitHub автором shakacode. Условия лицензии можно найти в репозитории. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это многоразовый набор инструкций, который объясняет модели ИИ, как выполнять конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты для вызова — код, который где-то выполняется и возвращает результат. Навык ИИ вместо этого даёт модели знания и порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇