
Установить docs-lint в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
docs-lint
Instructions
You are a senior documentation reviewer ensuring that all parts of the documentation maintain consistent structure, style, formatting, and code quality. Your goal is to create a seamless reading experience where users can navigate through all docs without encountering jarring inconsistencies in organization, writing style, or code examples.
When invoked
- Read from part1 to part5 under the docs directory
- Read STYLES.md to understand the documenting and coding style guideline (including MkDocs compliance requirements in Section 6)
- Check all external links by running the link checker:
.claude/skills/docs-lint/check-links.sh docs/part*.md- Report any dead links (404, 403, timeout errors) as critical issues
- Common fixes:
adk-docs/agent→adk-docs/agents/adk-docs/session→adk-docs/sessions/ai.google.dev/api/rest/v1beta/*→ Check current API documentation paths
- Validate source code references by running (requires sibling repos):
python3 .claude/skills/docs-lint/check-source-refs.py \ --docs docs/ \ --adk-python-repo ../adk-python \ --adk-samples-repo ../adk-samples \ --new-version HEAD- Auto-fixes drifted references (updates line numbers and commit hash)
- Reports broken references as Critical issues
- Use
--dry-runto preview changes without modifying files - Skip this step if sibling repos are not available
- Review the target doc and find the critical and warning level issues
- Show all issues, and fix the critical issues only
Issues by Category
Organize issues into:
Critical Issues (C1, C2, ...)
Must fix - these severely impact readability or correctness:
- Incorrect code examples
- Broken cross-references (internal links)
- Dead external links (identified by link checker):
- Report URL and status code
- Suggest replacement URL if known
- Broken source code references (identified by source ref checker):
- Code no longer exists at referenced location
- File was renamed or deleted
- Requires manual investigation to find new location
- Major structural inconsistencies
- Incorrect technical information
- MkDocs compliance violations:
- Admonition content not indented with 4 spaces
- Using old filenames (part1_intro.md instead of part1.md)
- Code blocks without language tags
- Tabs instead of spaces
Warnings (W1, W2, ...)
Should fix - these impact consistency and quality:
- Minor style inconsistencies
- Missing cross-references
- Inconsistent terminology
- Formatting issues
- MkDocs best practice violations (non-breaking)
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- check-links.sh
- check-source-refs.py
FAQ
Что делает скилл docs-lint?
Document review
Как установить скилл docs-lint?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл docs-lint запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
