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

spec-implement规范实施

Agent Skill

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

总安装

588

周安装

25

GitHub Stars

1

下载量

206
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/anyoneanderson/agent-skills --skill spec-implement

简介

spec-implement 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务线索快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 了解具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 当前归类为研究检索类技能,适用于信息探索与筛选场景。

SKILL.md

spec-implement — Orchestrator for Spec-Driven Implementation

Coordinate worker skills (spec-code, spec-review, spec-test) to implement from specifications to pull request. This skill does NOT write code or review — it delegates.

Language Rules

  1. Auto-detect input language → output in the same language
  2. Japanese input → Japanese output, use references/implement-guide.ja.md
  3. English input → English output, use references/implement-guide.md
  4. Explicit override takes priority

Options

OptionDescription
--resumeResume from last uncompleted task in tasks.md
--issue {N}Specify GitHub Issue number for context
--spec {path}Specify.specs/ directory path (default: auto-detect)
--dry-runShow execution plan without making any changes

Role: Orchestrator Only

🚨 BLOCKING — This rule overrides everything below.

This skill is an orchestrator. It coordinates worker skills but does NOT perform work itself.

  • Do NOT write implementation code yourself. Always delegate to spec-code.
  • Do NOT perform code reviews yourself. Always delegate to spec-review.
  • Do NOT write tests yourself. Always delegate to spec-test.

If a worker skill is not installed, stop and suggest installation. Never fall back to doing it yourself.

Critical First Steps

BEFORE any implementation, execute these checks in order:

  1. Verify environment: pwd, git status, gh auth status
  2. Parse user input: Extract --resume, --issue, --spec, --dry-run options
  3. Check cmux availability: echo $CMUX_SOCKET_PATH If set → record that cmux dispatch is available. Propose parallel execution mode to the user before proceeding to Phase 6.
  4. Locate spec directory 🚨 BLOCKING:

- If --spec provided → verify the path exists, then use it - Always scan .specs/ regardless of whether Issue body contains a path: find.specs -maxdepth 2 -name "tasks.md" 2>/dev/null - If a matching spec directory is found → use it and proceed - If no .specs/ found → ask user via AskUserQuestion: question: "No spec directory found. Where are your specifications?" / "仕様書ディレクトリが見つかりません。仕様書の場所を教えてください。" options: - "Specify path manually" / "パスを手動で指定する" - "Generate specs with spec-generator" / "spec-generator で仕様書を生成する" - If user specifies a path → verify it exists and use it - If user chooses spec-generator → stop and instruct: Run /spec-generator first, then re-run /spec-implement - Do NOT proceed to Phase 5 (branch creation) until a valid spec directory is confirmed.

  1. Locate and read project files:

- Workflow: docs/development/issue-to-pr-workflow.mddocs/ → find → fallback - Coding rules: docs/development/coding-rules.mddocs/ → find → fallback - Review rules: docs/development/review_rules.mddocs/ → find → optional - Project instructions: CLAUDE.md, AGENTS.md - Spec files: requirement.md, design.md, tasks.md

Execution Flow

Phase 1-3: Load Context

Read workflow, coding rules, and project instructions. Same search/fallback logic as before — see references/implement-guide.md for details.

Extract from workflow:

  • Base branch (default: main)
  • Branch naming convention
  • Commit message format
  • Test/lint/build commands
  • Dispatch strategy and agent definitions (if present)

Phase 4: Issue Analysis

If --issue {N} is provided:

gh issue view {N} --json title,body,labels,assignees

Phase 5: Branch Creation

🚨 BLOCKING — Feature branch is MANDATORY
git checkout {base_branch} && git pull origin {base_branch}
git checkout -b feature/issue-{N}-{brief-description}

Post-creation verification — MUST NOT be on main, master, or develop.

Phase 6: Task Loop (Orchestration)

Read tasks.md and process phases by role tag:

If a phase has NO role tag (legacy specs without [code]/[orchestrator]), treat it as [code] by default. This ensures backward compatibility with specs generated before v3.

Review gate phases: Phases with -R suffix (e.g., Phase 2-R: Review Gate [orchestrator]) are review gates. When processing these, run spec-review + spec-test for each task in the preceding [code] phase.

for each phase in tasks.md:
  if phase has [orchestrator] tag AND phase name contains "Review Gate":
    // This is a review gate — run spec-review + spec-test for preceding [code] tasks
    for each task in the preceding [code] phase:
      invoke spec-review --task {task-id} --spec {path}
      read review result → if FAIL, run fix loop (spec-code --feedback → re-review, max 3)
      invoke spec-test --task {task-id} --spec {path}
      read test result → if FAIL, run fix loop (spec-code --feedback → re-test)
      if review PASS AND test PASS: mark review gate task checkbox

  elif phase has [orchestrator] tag:
    execute tasks directly (run commands, check results — do NOT modify files)

  elif phase has [code] tag (or NO tag — legacy fallback):
    for each unchecked task in phase:
      // Implement only — review/test happens in the Review Gate phase
      invoke spec-code --issue {N} --task {task-id} --spec {path}
      mark task checkbox: - [ ] → - [x]
      commit progress

Dispatch modes:

When invoking worker skills, the method depends on execution mode:

ModeHow to invoke
Single agentCall the skill directly in the current session
cmux dispatchcmux-delegate --agent {ai} --task "/spec-code --issue {N} --task {id} --spec {path}"

For cmux dispatch:

  1. Read workflow's dispatch strategy and agent definition file paths
  2. Map roles to agents (implementer/tester → cmux-delegate, reviewer → cmux-second-opinion)
  3. Pass skill commands — worker skills handle their own context loading via §4.0

Phase 7: Final Quality Gate

After all tasks complete:

  1. Run test commands from workflow (or language defaults)
  2. Run lint/typecheck commands (if specified)
  3. Verify all tasks in tasks.md are checked
  4. If any check fails → fix via spec-code --feedback → recheck

Phase 8: PR Creation

gh pr create \
  --title "{type}: {description} (closes #{N})" \
  --body "{PR body following workflow template}" \
  --base {base_branch}

Safety guards:

  • Do NOT create PR if tests are failing
  • Do NOT force push or push to main/master
  • Verify base branch matches workflow

Error Handling

SituationResponse
Not a git repositoryError: must be in a git repository
gh CLI not availableError: guide user to install/auth
.specs/ not found🚨 BLOCKING: ask user for path or suggest spec-generator
requirement.md missingWarning: use Issue body as requirements
tasks.md missingWarning: generate simple checklist from Issue
On protected branch🚨 BLOCKING: stop, require feature branch
Worker skill not installedError: suggest npx skills add anyoneanderson/agent-skills --skill {name}
Review FAIL after 3 iterationsAsk user to decide
Test FAIL after fix attemptAsk user to decide

Post-Completion Actions

AskUserQuestion:
  question: "PR created. What's next?" / "PRを作成しました。次は?"
  options:
    - "Monitor CI status" / "CIステータスを監視"
    - "Done" / "完了"

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

展示第三方安全扫描或审计结果

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

平台分布

Codex

36.75%
按下载量换算76

Claude

29.59%
按下载量换算61

Cursor

16.1%
按下载量换算33

Gemini CLI

9.16%
按下载量换算19

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills