Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计未展示

spec%3adoctor规格%3 医生

Agent Skill

spec%3adoctor 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

272

周安装

11

GitHub Stars

公开资料未说明

下载量

85
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:spec%3adoctor(规格%3 医生)
来源仓库:https://github.com/cloudvoyant/codevoyant
仓库路径:skills/spec%3Adoctor
安装命令:
npx skills add https://github.com/cloudvoyant/codevoyant --skill spec:doctor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/cloudvoyant/codevoyant --skill spec:doctor

简介

spec%3adoctor 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据任务场景快速定位候选结果。
  • 通过 npx skills add 命令从指定仓库安装并使用。
  • 使用前需确认权限范围、维护状态及是否触发联网或文件操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Compatibility: If AskUserQuestion is unavailable, present options as a numbered list and wait for the user's reply. If Task is unavailable, run parallel steps sequentially. The context: fork and agent: frontmatter fields are Claude Code-specific — on OpenCode and VS Code Copilot they are ignored and the skill runs inline using the current model.

Diagnose spec setup issues and migrate old path layouts to the current .codevoyant/ structure.

Overview

Checks the project for legacy spec directories and updates them to the consolidated .codevoyant/ layout introduced in the path consolidation migration. Reports every finding before making changes, then applies fixes.

Step 0: Run Diagnostics

Check for each known issue and record findings before touching anything.

Check 1 — Legacy .spec/plans/ directory

[ -d .spec/plans ] && echo "found" || echo "absent"
  • Found → will migrate to .codevoyant/plans/
  • Absent → check whether .codevoyant/plans/ exists; if neither exists, note that no plan directory is present yet (fresh project — no action needed)

Check 2 — Legacy .worktrees/ directory

[ -d .worktrees ] && echo "found" || echo "absent"
  • Found → will migrate to .codevoyant/worktrees/
  • Absent → no action needed

Check 3 — .gitignore entries

Check whether .gitignore still contains old entries or is missing new ones:

grep -n "\.spec/plans\|\.worktrees" .gitignore 2>/dev/null
grep -n "\.codevoyant/plans\|\.codevoyant/worktrees" .gitignore 2>/dev/null
  • Old entries present → will remove
  • New entries absent → will add
  • Already correct → no action needed

Check 4 — CLAUDE.md references

Search for stale path references in CLAUDE.md:

grep -n "\.spec/plans\|\.worktrees" CLAUDE.md 2>/dev/null
  • References found → will flag (agent updates, not auto-replaced, to avoid mangling context)
  • None found → no action needed

Report all findings before proceeding:

Spec doctor diagnosis
─────────────────────────────────────────────
.spec/plans/ directory:     found           → will migrate to .codevoyant/plans/
.worktrees/ directory:      absent          → no action
.gitignore old entries:     found (line 12) → will remove
.gitignore new entries:     missing         → will add
CLAUDE.md stale refs:       none            → no action

Applying fixes...

If all checks pass with no issues, report that and stop:

Spec doctor diagnosis
─────────────────────────────────────────────
.spec/plans/ directory:     absent          ✓
.worktrees/ directory:      absent          ✓
.gitignore:                 correct         ✓
CLAUDE.md:                  no stale refs   ✓

Everything looks correct. No changes needed.

Step 1: Migrate .spec/plans/.codevoyant/plans/

Only run if Check 1 found .spec/plans/.

mkdir -p .codevoyant/plans
cp -r .spec/plans/. .codevoyant/plans/
rm -rf .spec/plans
# Remove .spec/ if now empty
rmdir .spec 2>/dev/null || true

Report: ✓ Migrated.spec/plans/ →.codevoyant/plans/

If cp or rm fails, stop and report the error. Do not proceed to further steps — the user should resolve the file system issue and re-run spec:doctor.

Step 2: Migrate .worktrees/.codevoyant/worktrees/

Only run if Check 2 found .worktrees/.

mkdir -p .codevoyant
mv .worktrees .codevoyant/worktrees

After moving:

  • Run git worktree list to check whether any worktrees now show broken paths
  • If any are listed as prunable, run git worktree prune and warn the user to re-add them from .codevoyant/worktrees/<branch>

Report: ✓ Migrated.worktrees/ →.codevoyant/worktrees/

Step 3: Update .gitignore

Only run if Check 3 found old entries or missing new entries.

Read the current .gitignore, then:

  1. Remove lines matching .spec/plans/ or .worktrees/ (exact line match, not substring)
  2. Add .codevoyant/plans/ if not already present
  3. Add .codevoyant/worktrees/ if not already present — add it directly after the plans/ line if possible

Write the updated file back.

Report:

✓ Updated .gitignore
  Removed: .spec/plans/, .worktrees/
  Added:   .codevoyant/plans/, .codevoyant/worktrees/

Step 4: Flag CLAUDE.md stale references

Only run if Check 4 found references.

Do not auto-edit CLAUDE.md — it contains freeform human-written context. Instead, show the agent the exact lines that need updating:

⚠  CLAUDE.md contains stale path references (update manually):

  Line 14: "Plans are stored in .spec/plans/"
  Line 27: "Check .worktrees/ for active branches"

  Replace .spec/plans/ → .codevoyant/plans/
  Replace .worktrees/  → .codevoyant/worktrees/

Offer to make the edits if the user confirms:

question: "Update these CLAUDE.md lines automatically?"
header: "Update CLAUDE.md"
multiSelect: false
options:
  - label: "Yes, update them"
    description: "Replace stale path references in CLAUDE.md"
  - label: "No, I'll do it manually"
    description: "Skip — I'll update CLAUDE.md myself"

If confirmed, apply the replacements (.spec/plans/.codevoyant/plans/ and .worktrees/.codevoyant/worktrees/) and report each changed line.

Step 5: Report Summary

Spec doctor complete
─────────────────────────────────────────────
✓ Migrated .spec/plans/ → .codevoyant/plans/
✓ Migrated .worktrees/ → .codevoyant/worktrees/
✓ Updated .gitignore
✓ Updated CLAUDE.md (2 lines)

Your spec setup is now using the current layout.
Run /list to see your active plans.

Omit lines for steps that were not needed.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.17%
按下载量换算32

Claude

29.22%
按下载量换算25

Cursor

17.26%
按下载量换算15

Gemini CLI

8.12%
按下载量换算7

安全审计

暂无安全审计结果可展示。

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills