Command Palette

Search for a command to run...

Назад к скиллам
скилл № 50460

docs-lint

Document review

БесплатноЗапускает вложенные скрипты
kazunori279от kazunori279★ 32 звезды на GitHub

Установить 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

  1. Read from part1 to part5 under the docs directory
  2. Read STYLES.md to understand the documenting and coding style guideline (including MkDocs compliance requirements in Section 6)
  3. 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
  4. 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-run to preview changes without modifying files
    • Skip this step if sibling repos are not available
  5. Review the target doc and find the critical and warning level issues
  6. 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)
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • check-links.sh
  • check-source-refs.py

FAQ

Что делает скилл docs-lint?

Document review

Как установить скилл docs-lint?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл docs-lint запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить docs-lint с