技能 Doctor
- 作者仓库星标 943
- 作者仓库 core
Skill Doctor
Diagnose issues with repository skills, manage local overrides, and optimize skill quality.
Scope: Skills in the current repository's .claude/skills/ directory only.
Routing
Parse $ARGUMENTS:
| Pattern | Mode |
|---|---|
list |
list (all repo skills) |
info <skill> |
list (detail for one skill) |
feedback [skill] "<message>" |
feedback (quick note) |
(empty) or <skill-name> |
diagnose |
--optimize <skill> |
optimize |
--manage [skill] |
manage (status) |
clone/diff/sync/revert <skill> |
manage (lifecycle) |
report/gist/pr <skill> |
deliver |
resolve <skill> |
resolve |
Unrecognized input: show this table and ask to rephrase. Then read ./reference.md for detailed procedures.
List
Dynamically discovers repo skills by reading .claude/skills/*/SKILL.md. Shows name, description, invocation, and override status. info <skill> reads the full SKILL.md to provide detailed usage guidance. All information comes from the skill files themselves — nothing is hardcoded. See reference.md for details.
Feedback
Lightweight path for quick notes. No investigation or quality gate — just scrub, preview, confirm, post. If skill name is omitted, ask which skill (or use the most recently invoked skill if known from conversation context). See reference.md for details.
Manage
Lifecycle: clone -> edit -> diff -> sync/revert -> pr/gist. Local overrides live at ~/.claude/skills/<name>/ with .skill-origin.json tracking.
Diagnose
- Identify skill, validate it exists
- Classify:
invalid_command|wrong_assumption|stale_info|other - Investigate -- reproduce, root cause, determine fix, check related issues. Quality gate: confirmed problem + root cause + suggested fix
- Duplicate check in Discussion thread. Match found: upvote, add context, or report anyway
- Route: local override -> fix inline, stop. Repo -> offer clone-and-fix or report-only
- Scrub PII, review with developer, deliver to GitHub Discussion + Slack
Optimize
Checks frontmatter, token efficiency (<500 words), structure quality, and staleness (file paths, commands, flags). Scored report with fixes. Local overrides fixed directly; repo versions cloned first.
Deliver & Resolve
Deliver: GitHub Discussion (primary, one thread per skill) + Slack #log-skill-feedback (optional notification). Check prerequisites first (gh auth, repo access). See reference.md.
Resolve: After fix PR merges, mark Discussion reports resolved, post Slack summary, offer to lock thread.
Common Mistakes
See reference.md for the full table. Key rules:
- Never send reports without root cause + suggested fix
- Always check Discussion thread for duplicates before reporting
- Always run
gh auth statusbefore any delivery action revertalways shows diff and requires name confirmation
Override Warning
When ANY skill is invoked and ~/.claude/skills/<name>/.skill-origin.json exists, output before skill content:
SKILL OVERRIDE ACTIVE: <name>
Using: ~/.claude/skills/<name>/ (local)
Instead of: .claude/skills/<name>/ (repo)
Cloned from: <sha> | Repo is N commits ahead
Run /skill-doctor --manage <name> for options- 流狐分类
- 文档
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @dotCMS · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Parse $ARGUMENTS: Pattern · Mode list · list (all repo skills)
Dynamically discovers repo skills by reading .claude/skills//SKILL.md. Shows name, description, invocation, and override status. info <skill> reads the full SKILL.md to provide detailed usage guidance. All information comes from the skill files themselves —…
Lightweight path for quick notes. No investigation or quality gate — just scrub, preview, confirm, post. If skill name is omitted, ask which skill (or use the most recently invoked skill if known from conversation context). See reference.md for details.
Lifecycle: clone -> edit -> diff -> sync/revert -> pr/gist. Local overrides live at ~/.claude/skills/<name>/ with .skill-origin.json tracking.
Identify skill, validate it exists Classify: invalidcommand | wrongassumption | staleinfo | other Investigate -- reproduce, root cause, determine fix, check related issues. Quality gate: confirmed problem + root cause + suggested fix
Checks frontmatter, token efficiency (<500 words), structure quality, and staleness (file paths, commands, flags). Scored report with fixes. Local overrides fixed directly; repo versions cloned first.
# Skill Doctor
Diagnose issues with repository skills, manage local overrides, and optimize skill quality.
**Scope:** Skills in the current repository's `.claude/skills/` directory only.
## Routing
Parse `$ARGUMENTS`:
| Pattern | Mode |
|---------|------|
| `list` | **list** (all repo skills) |
| `info <skill>` | **list** (detail for one skill) |
| `feedback [skill] "<message>"` | **feedback** (quick note) |
| (empty) or `<skill-name>` | **diagnose** |
| `--optimize <skill>` | **optimize** |
| `--manage [skill]` | **manage** (status) |
| `clone/diff/sync/revert <skill>` | **manage** (lifecycle) |
| `report/gist/pr <skill>` | **deliver** |
| `resolve <skill>` | **resolve** |
Unrecognized input: show this table and ask to rephrase. Then **read `./reference.md`** for detailed procedures.
## List
Dynamically discovers repo skills by reading `.claude/skills/*/SKILL.md`. Shows name, description, invocation, and override status. `info <skill>` reads the full SKILL.md to provide detailed usage guidance. All information comes from the skill files themselves — nothing is hardcoded. See reference.md for details.
## Feedback
Lightweight path for quick notes. No investigation or quality gate — just scrub, preview, confirm, post. If skill name is omitted, ask which skill (or use the most recently invoked skill if known from conversation context). See reference.md for details.
## Manage
Lifecycle: clone -> edit -> diff -> sync/revert -> pr/gist. Local overrides live at `~/.claude/skills/<name>/` with `.skill-origin.json` tracking.
## Diagnose
1. **Identify** skill, validate it exists
2. **Classify**: `invalid_command` | `wrong_assumption` | `stale_info` | `other`
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Routing → List → Feedback → Manage → Diagnose → Optimize
要点 -> Scope · list · feedback · diagnose · optimize · manage · deliver · resolve
文件/命令 -> .claude/skills/ · $ARGUMENTS · list · info <skill> · feedback [skill] "<message>" · <skill-name> · --optimize <skill> · --manage [skill]
内容 SHA-256 -> f0345bc9f54d
原文结构
适用与边界
原文中的明确线索
.claude/skills/、$ARGUMENTS、list、info <skill>、feedback [skill] "<message>"、<skill-name>、--optimize <skill>、--manage [skill]