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

spec%3ago规格%3 前

Agent Skill

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

总安装

294

周安装

12

GitHub Stars

公开资料未说明

下载量

95
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

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

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位候选结果。
  • 通过 npx skills add 命令从指定仓库安装并使用。
  • 使用前需确认权限范围、维护状态及是否触发联网或文件操作。
  • spec%3ago 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

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.

Execute or continue the existing plan using spec-driven development.

Overview

This command executes your plan interactively, with configurable breakpoints for user review. Pass --bg for fully autonomous background execution with a desktop notification on completion (equivalent to /spec:bg).

Step -1: Parse Flags

BG_MODE  = true if --bg present
SILENT   = true if --silent present
ALLOW_COMMITS = true if --commit or -c present (default false)

If BG_MODE=true: skip Step 3 (breakpoints) and run fully autonomously. After all phases complete, send a desktop notification (see Step 5.5).

Step 0: Select Plan

Check for plan name argument: /go plan-name

If not provided, run plan selection logic:

  1. Get all active plans with Last Updated timestamps: npx @codevoyant/agent-kit plans migrate npx @codevoyant/agent-kit plans list --status Active
  2. Sort plans by Last Updated (most recent first)
  3. If only one plan exists, auto-select it
  4. If multiple plans exist, use AskUserQuestion to present the list (name, progress %, last-updated) and ask the user to choose. Example prompt: "Which plan would you like to work on?\n (1) feature-auth — 60% — updated 2h ago\n (2) refactor-api — 20% — updated 1d ago"
  5. Report to user: "Using plan: {plan-name} (last updated: {timestamp})"
  6. If no plans exist, inform user to create with /new

Step 0.5: Review Advisory

If BG_MODE=false and no --yes or -y flag is set (interactive mode only):

Check if .codevoyant/plans/{plan-name}/review.md exists. If it does NOT exist:

echo "⚠️  This plan hasn't been reviewed yet. Consider running /spec:review {plan-name} first."
echo "    Continuing anyway — press Ctrl+C to cancel."
sleep 3

If BG_MODE=true or --yes/-y flags are set, skip this check entirely (non-interactive mode).

Step 1: Read and Analyze Plan

Read .codevoyant/plans/{plan-name}/plan.md to understand:

  • The objective and full scope
  • All phases and their tasks
  • Current progress (what's checked vs unchecked)
  • Any insights from previous sessions

Validate Plan Structure:

  • Check phase headers match format: ### Phase \d+ -.+ (e.g., "### Phase 1 - Setup")
  • Check task format: \d+\. \[(x|)\].+ (e.g., "1. [] Task name")
  • Verify phase numbers are sequential (1, 2, 3...)
  • If validation fails, warn user and suggest using /refresh to check structure

Step 1.5: Validate and Setup Worktree Context

Handle worktree-based execution automatically (same as /spec:bg):

# Get current branch and working directory
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD 2>/dev/null)
CURRENT_DIR=$(pwd)

# Parse plan metadata
PLAN_BRANCH=$(grep "^- \*\*Branch\*\*:" .codevoyant/plans/{plan-name}/plan.md | sed 's/^- \*\*Branch\*\*: //' | sed 's/ *$//')
PLAN_WORKTREE=$(grep "^- \*\*Worktree\*\*:" .codevoyant/plans/{plan-name}/plan.md | sed 's/^- \*\*Worktree\*\*: //' | sed 's/ *$//')

# Determine worktree status
if [ -n "$PLAN_WORKTREE" ] && [ "$PLAN_WORKTREE" != "(none)" ]; then
  if [ -d "$PLAN_WORKTREE" ]; then
    WORKTREE_EXISTS=true
  else
    WORKTREE_EXISTS=false
  fi
else
  WORKTREE_EXISTS=""
fi

Case 1: Worktree exists → Auto-execute there

If WORKTREE_EXISTS=true:

✓ Plan has worktree at: $PLAN_WORKTREE
→ Executing in worktree automatically...

Change to worktree directory and continue:

cd "$PLAN_WORKTREE"

All subsequent file operations will happen in worktree context.

Case 2: Worktree specified but doesn't exist → Offer to create

If WORKTREE_EXISTS=false:

Use AskUserQuestion tool:

question: "This plan needs worktree '$PLAN_WORKTREE' (branch: $PLAN_BRANCH) but it doesn't exist. Create it now?"
header: "Worktree Setup"
multiSelect: false
options:
  - label: "Create worktree and execute"
    description: "Create worktree at $PLAN_WORKTREE, then start execution there"
  - label: "Execute here anyway"
    description: "Skip worktree, execute in current directory (may cause issues)"
  - label: "Cancel"
    description: "Don't execute, let me set it up manually"

Handle response:

  • "Create worktree and execute":

1. Create worktree: npx @codevoyant/agent-kit worktrees create --branch "$PLAN_BRANCH" --plan "$PLAN_NAME" 2. Capture the worktree path from the command output 3. Report: Created worktree at $PLAN_WORKTREE 4. Change to worktree: cd "$PLAN_WORKTREE" 5. Continue to Step 2

  • "Execute here anyway":

- Warn: ⚠️ Executing without worktree - changes will affect current branch - Continue to Step 2 (execute in current directory)

  • "Cancel":

- Exit command

Case 3: No worktree for plan → Execute in current directory

If plan has no worktree (PLAN_WORKTREE is "(none)" or empty):

  • Check if branch matches (if PLAN_BRANCH specified)
  • If branch mismatch, offer to switch: git checkout $PLAN_BRANCH
  • Otherwise continue to Step 2 normally

Result:

  • Worktree exists → Execute there automatically ✅
  • Worktree missing → Offer to create ✅
  • No worktree → Execute here (with branch check) ✅
  • Seamless workflow, no manual steps! ✅

Step 2: Determine Starting Point

  1. Find the first unchecked task in the earliest incomplete phase
  2. Report where execution will begin

Example:

Starting execution from Phase 2 - OAuth Integration
Next task: Configure OAuth providers (Google, GitHub)

Step 2.5: Validate Implementation Files

Before starting execution, verify all implementation files exist:

  1. Count phases in plan.md:

- Parse .codevoyant/plans/{plan-name}/plan.md - Count lines matching: ^### Phase (\d+) - Store total phase count

  1. Check each implementation file exists:

- For phase 1 to total phases: - Check .codevoyant/plans/{plan-name}/implementation/phase-{N}.md exists - Check file size > 100 bytes (not empty)

  1. If any files missing: ❌ Cannot start execution - implementation files missing! Missing implementation files: - phase-3.md - phase-5.md Implementation files are required for all phases before execution. These files should have been created during /spec:new. To fix: 1. Create the missing files in.codevoyant/plans/{plan-name}/implementation/ 2. Use the template structure from /spec:new Step 5.5 3. Or recreate the plan with /spec:new Cannot proceed with execution. Exit and do not continue to Step 3.
  2. If all files exist: ✓ Validated {N} implementation files (phase-1.md through phase-{N}.md)

- Report validation success: - Continue to Step 3

Step 3: Set Breakpoints

If BG_MODE=true: Skip this step entirely. Proceed directly to Step 4 with breakpoints set to "None (Fully autonomous)".

Otherwise, use AskUserQuestion tool to configure breakpoints:

question: "Should Claude take breaks during execution for your review?"
header: "Breakpoints"
multiSelect: false
options:
  - label: "None (Fully autonomous)"
    description: "Execute entire plan without stopping. Only pause on errors."
  - label: "After every phase"
    description: "Stop after each phase completes for review"
  - label: "After specific phase"
    description: "Stop after a specific phase number (will ask which one)"

If user selects "After specific phase", follow up with another AskUserQuestion asking which phase number.

Note the breakpoint selection in the execution plan (no need to edit plan.md)

Step 4: Execute Spec-Driven Development Flow

For each task in the plan, follow this workflow:

4.1: Before Starting a Task

  1. Apply any pending annotations in plan files before reading task state: Scan for > instruction (standalone lines) and content >> instruction (inline suffixes) in both plan.md and the current implementation/phase-{N}.md. Apply each one and remove the marker. This lets the user leave corrections mid-execution by editing plan files directly — they're picked up automatically at the start of each task. Report what changed (e.g., ↻ Applied 2 annotations: marked task 3 done, removed task 5). If no annotations found, continue silently.
  2. Review the task in .codevoyant/plans/{plan-name}/plan.md
  3. Identify the current phase number:

- Find which phase header the current task is under - Extract phase number from header (e.g., "### Phase 3 - Testing" → phase number is 3)

  1. Validate and read the implementation file:

- File path: .codevoyant/plans/{plan-name}/implementation/phase-{N}.md - Validate exists: Verify file exists before reading - If missing: This should never happen due to Step 2.5 validation, but if it does: ERROR: Implementation file missing for Phase {N} Expected:.codevoyant/plans/{plan-name}/implementation/phase-{N}.md Cannot execute phase without implementation specification. Please create the missing file or use /spec:refresh to validate plan structure. Stop execution and report the error to user. - If exists: Read the entire file to understand detailed implementation requirements - Reference the specific task section within the implementation file (match by task number within phase) - Understand all requirements, files to modify, dependencies, and testing needs

4.2: Implement the Task & Update Plan Status In Real-Time

  1. Follow the detailed specs in the implementation file precisely
  2. Make necessary changes to code, configuration, or documentation as specified in the implementation file
  3. CRITICAL: Update checkboxes in .codevoyant/plans/{plan-name}/plan.md immediately as tasks complete

- Use TodoWrite tool to track immediate work items (detailed sub-steps) - After updating plan.md, also update the registry: npx @codevoyant/agent-kit plans update-progress \ --name "$PLAN_NAME" \ --completed $COMPLETED \ --total $TOTAL

4.3: Pause at Phase Boundaries

When a phase is complete:

  1. CRITICAL: Run tests to validate phase completion:

- Run the project's test suite (just test, just test-template, or equivalent) - Verify all tests pass before marking phase complete - If tests fail, fix issues before proceeding - Exception: For complex refactoring, tests may be allowed to fail temporarily, but: - Document the failure reason in plan.md - Create specific tasks to fix tests in the next phase - State clearly why tests are allowed to remain broken

  1. Mark phase as complete with ✅ in .codevoyant/plans/{plan-name}/plan.md: ### Phase 2 - OAuth Integration ✅
  2. Update registry with new progress: npx @codevoyant/agent-kit plans update-progress \ --name "$PLAN_NAME" \ --completed $COMPLETED \ --total $TOTAL
  3. Before starting next phase, read the next implementation file (phase-N+1.md)
  4. Report phase completion: Phase 2 - OAuth Integration complete! ✅ Progress: 2/4 phases complete (50%) Tests: All passing ✅

Step 5: Completion

When all phases are complete:

  1. Update the registry: npx @codevoyant/agent-kit plans update-progress \ --name "$PLAN_NAME" \ --completed $TOTAL \ --total $TOTAL npx @codevoyant/agent-kit plans update-status --name "$PLAN_NAME" --status Complete
  2. Run /refresh {plan-name} to verify all checkboxes
  3. Suggest running /done {plan-name} to archive the completed plan
  4. Report completion: Plan "{plan-name}" execution complete! ✅ All phases complete: X/X tasks (100%) Next steps: - Review the completed work - Run /done {plan-name} to archive this plan - Start a new plan with /new

Step 5.5: Desktop Notification (--bg only)

If BG_MODE=true and SILENT=false, send a desktop notification after all phases complete or fail:

npx @codevoyant/agent-kit notify \
  --title "Claude Code — Spec" \
  --message "{ALL_DONE: Plan '{plan-name}' complete | FAILED: Plan '{plan-name}' stopped at Phase {N}}"

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

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

平台分布

Codex

39.4%
按下载量换算37

Claude

28.66%
按下载量换算27

Cursor

20.51%
按下载量换算19

Gemini CLI

8.76%
按下载量换算8

安全审计

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

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills