docs-writer
Что он делает
Этот скилл делает ИИ внимательным техническим писателем для документации, README и руководств. Перед написанием он проверяет код, чтобы документация была точной. Он нужен разработчикам и командам, которые ведут файлы документации.
Когда использовать
- ✓Когда нужно написать новое руководство, README или страницу документации.
- ✓Когда вы хотите проверить и улучшить существующий файл Markdown.
- ✓Когда документацию нужно обновить после изменения команды или функции.
Ссылка на скилл
https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(development)/docs-writer/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Проверь наше руководство по установке в папке docs, сверь его с кодом и улучши формулировки.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
ИИ уточняет запрос, читает нужный код и существующую документацию, составляет план, а затем пишет или правит файлы в соответствии с правилами проекта.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
docs-writer skill instructions
As an expert technical writer and editor, your goal is to produce and refine documentation that is accurate, clear, consistent, and easy for users to understand. You must adhere to the documentation contribution process outlined in CONTRIBUTING.md.
Step 1: Understand the goal and create a plan
- Clarify the request: Fully understand the user's documentation request. Identify the core feature, command, or concept that needs work.
- Differentiate the task: Determine if the request is primarily for writing new content or editing existing content. If the request is ambiguous (e.g., "fix the docs"), ask the user for clarification.
- Formulate a plan: Create a clear, step-by-step plan for the required changes.
Step 2: Investigate and gather information
- Read the code: Thoroughly examine the relevant codebase, primarily within the
packages/directory, to ensure your work is backed by the implementation and to identify any gaps. - Identify files: Locate the specific documentation files in the
docs/directory that need to be modified. Always read the latest version of a file before you begin work. - Check for connections: Consider related documentation. If you change a command's behavior, check for other pages that reference it. If you add a new page, check if
docs/sidebar.jsonneeds to be updated. Make sure all links are up to date.
Step 3: Write or edit the documentation
- Follow the style guide: Adhere to the rules in
references/style-guide.md. Read this file to understand the project's documentation standards. - Ensure the new documentation accurately reflects the features in the code.
- Use
replaceandwrite_file: Use file system tools to apply your planned changes. For small edits,replaceis preferred. For new files or large rewrites,write_fileis more appropriate.
Sub-step: Editing existing documentation (as clarified in Step 1)
- Gaps: Identify areas where the documentation is incomplete or no longer reflects existing code.
- Tone: Ensure the tone is active and engaging, not passive.
- Clarity: Correct awkward wording, spelling, and grammar. Rephrase sentences to make them easier for users to understand.
- Consistency: Check for consistent terminology and style across all edited documents.
Step 4: Verify and finalize
- Review your work: After making changes, re-read the files to ensure the documentation is well-formatted, and the content is correct based on existing code.
- Link verification: Verify the validity of all links in the new content. Verify the validity of existing links leading to the page with the new content or deleted content.
- Offer to run npm format: Once all changes are complete, offer to run the project's formatting script to ensure consistency by proposing the command:
npm run format
Частые вопросы
Пишет ли он комментарии в коде?
Нет. Комментарии внутри кода и генерация справочника по API не входят в его задачи.
Проверит ли он код перед написанием?
Да. Он читает реализацию, чтобы документация соответствовала тому, что на самом деле делает программа.
Учитывает ли он правила моего проекта?
Да. Если в проекте есть руководство для участников, он следует ему.
Подробности
Оригинальное описание автора
Write, review, and edit documentation files with consistent structure, tone, and technical accuracy. Use when creating docs, reviewing markdown files, writing READMEs, updating `/docs` directories, or when user says "write documentation", "review this doc", "improve this README", "create a guide", or "edit markdown". Do NOT use for code comments, inline JSDoc, or API reference generation.
Популярность
- Звёзды на GitHub
- 7.1k
- Место в рейтинге
- #13525
- Лицензия
- —
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
component-common-domain-detection
7.1kПомогает агенту найти бизнес-логику, которая повторяется в нескольких частях кодовой базы, и предлагает, как её объединить.
component-flattening-analysis
7.1kПомогает агенту найти код, стоящий не на своём месте, и выровнять запутанную структуру папок компонентов, чтобы каждая часть находилась на месте.
component-identification-sizing
7.1kПомогает агенту описать части кодовой базы и измерить их размер, чтобы найти, какой модуль стоит разделить первым.
coupling-analysis
7.1kПомогает агенту проверить, насколько тесно части кодовой базы зависят друг от друга, и какие связи стоит ослабить в первую очередь.
Похожие скиллы
obsidian-vault-maintainer
394kПомогает агенту поддерживать в порядке хранилище памяти, совместимое с Obsidian: рабочие вики-ссылки, единые свойства и безопасные автогенерируемые разделы.
wiki-maintainer
394kПомогает агенту вести вики памяти OpenClaw: страницы остаются повторяемыми, управляемые блоки защищены, а противоречия и пробелы проверяются.
obsidian
394kПозволяет агенту читать, искать, создавать и редактировать заметки, задачи, ссылки и свойства Obsidian с помощью официальной командной строки Obsidian.