界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

doctor

doctor

【效率与协作】Read-only docflow diagnosis: scans docs, config, changelog, and links, then recommends init, adopt, or repair. Use when asked "check docs setup", "should I set up docflow", "why is docflow not working", or "doctor".

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: doctor description: 'Read-only docflow diagnosis: scans docs, config, changelog, and links, then recommends init, adopt, or repair. Use when asked "check docs setup", "should I set up docflow", "why is docflow not working", or "doctor".'

doctor

Goal: inspect before changing anything. This skill is read-only.

Run

bash scripts/docflow-doctor.sh --target <REPO ROOT>

If running from an installed plugin where scripts are not in the target repo, use the plugin script path.

Interpret the recommendation

  • docflow-init = no meaningful docs found; scaffolding is safe → run /docflow:init.
  • docflow-adopt = docs/README already exist; preserve them → run /docflow:adopt.
  • docflow-repair = docflow exists; regenerate map/check links → run /docflow:repair.
  • validation: fail = docs have blockers; run /docflow:validate for details.

Report

Use these headings: Status, Detected, Missing, Risks, Recommended next command.

Rules

  • Do not edit files.
  • Do not run scaffold/adopt/repair.
  • Keep output concise and copy the doctor's section headings.
我的收藏