Token导航 LogoToken导航TokenDH.com
AI 工具只读github未标认证来源可访问clear审计通过

complete-spec完整规格

Agent Skill

complete-spec 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

442

周安装

19

GitHub Stars

1

下载量

155
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/jschulte/claude-plugins --skill complete-spec

简介

complete-spec 完成逆向工程到规格驱动开发的第五步,澄清需求模糊点。

  • 依赖 docs/gap-analysis-report.md 文件作为输入依据。
  • 输出更新后的 specs/*.md 文件,标记所有 [NEEDS CLARIFICATION] 项。
  • 需先完成前四步流程,确保 gap 分析报告已存在。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Complete Specification

Step 5 of 6 in the Reverse Engineering to Spec-Driven Development process.

Estimated Time: 30-60 minutes (interactive) Prerequisites: Step 4 completed (docs/gap-analysis-report.md exists with clarifications list) Output: Updated specs in specs/ with all [NEEDS CLARIFICATION] markers resolved

Canonical Paths

ArtifactPath
Gap analysis reportdocs/gap-analysis-report.md
Feature spec filesspecs/*.md
Clarification progressspecs/.clarification-progress.md

Phase 1: Collect Clarifications

Read docs/gap-analysis-report.md. If the file does not exist, report the error to the user and halt: "Gap analysis report not found at docs/gap-analysis-report.md. Run Step 4 (Gap Analysis) first."

Read all spec files matching specs/*.md using Glob.

If any spec file fails to read, report the filename and error to the user and skip that file.

Extract every line containing [NEEDS CLARIFICATION] from the gap analysis report and all spec files. Record for each marker:

  • The source filename
  • The feature name (nearest heading above the marker)
  • The marker text
  • The priority label if present (P0/P1/P2/P3), default to P1 if unlabeled

Zero-Marker Guard

If zero [NEEDS CLARIFICATION] markers are found across all files, inform the user: "All specifications are already complete. No clarification markers found. Proceed to Step 6 (Implement from Spec)." Halt execution.

Progress Resume

Check whether specs/.clarification-progress.md exists. If it does, read it and identify which markers have already been resolved. Remove resolved markers from the working list. Report to the user: "Found existing progress file. {N} of {total} markers already resolved. Resuming from marker {next}."

Present Summary

Group remaining markers by feature. Sort groups so P0 features appear first, then P1, P2, P3. Present the grouped list to the user:

Found {N} clarification markers across {M} features:

**P0 - Critical ({count})**
- [feature]: [marker text] (specs/filename.md)
...

**P1 - High ({count})**
...

Starting with P0 items. Ready to begin?

Wait for user confirmation before proceeding.

Signal: "Phase 1 complete. {N} markers identified across {M} features."


Phase 2: Interactive Q&A

For each unresolved marker, starting with P0:

  1. Present the marker's context to the user. State the feature name, the question, and any surrounding context from the spec file.
  2. Ask one focused question at a time. Provide examples of common patterns or industry standards when relevant.
  3. Wait for the user's answer.
  4. If the user answers "I don't know" or expresses uncertainty, suggest common industry patterns and offer to mark it as deferred (P3). If the user agrees to defer, record the deferral and move to the next marker.
  5. If the user's answer contradicts a previously documented requirement, surface the contradiction explicitly: "This conflicts with [previous requirement] in [filename]. Which should take priority?" Wait for resolution before proceeding.

Behavioral Constraints

  • Ask one question per message. Do not combine multiple clarifications.
  • Summarize your understanding of each answer before moving to the next question.
  • Adapt question style and terminology to the actual project domain.

Signal after every 5th marker: "Progress: {resolved}/{total} markers resolved."


Phase 3: Update Specs

After each user answer, immediately update the relevant spec file. Do not batch updates.

Load the operations file for detailed update instructions:

Read: skills/complete-spec/operations/update-spec-file.md

After each file write, re-read the file and verify:

  1. The [NEEDS CLARIFICATION] marker has been removed.
  2. The new content is present and correctly formatted.
  3. No existing content was accidentally deleted.

If a write operation fails, report the error to the user and retry once. If the retry fails, log the intended change in specs/.clarification-progress.md and continue with the next marker.

After each successful update, append a completion record to specs/.clarification-progress.md:

## {feature-name} - {marker-summary}
- **File:** specs/{filename}.md
- **Status:** Resolved
- **Resolution:** {one-line summary of the answer}
- **Timestamp:** {ISO 8601}

Signal after each update: "Updated specs/{filename}.md. Marker resolved."


Phase 4: Confirm Priorities

After all markers are resolved (or deferred), present the finalized priority breakdown to the user:

All clarifications resolved. Priority summary:
- P0 (Critical): {count} features
- P1 (High): {count} features
- P2 (Medium): {count} features
- P3 (Low/Deferred): {count} features

Review these priorities. Should any features move up or down?

Wait for user confirmation. If the user requests priority changes, update the relevant spec files immediately.

Signal: "Phase 4 complete. Priorities confirmed."


Phase 5: Final Verification

Read all spec files in specs/. Scan every file for remaining [NEEDS CLARIFICATION] markers.

If any markers remain:

  • Report each remaining marker to the user with its file and location.
  • Ask whether to resolve now or defer to P3.
  • Process accordingly using Phase 2 and Phase 3 procedures.

If zero markers remain, confirm completion:

Final verification passed. Zero [NEEDS CLARIFICATION] markers remain.

Specifications are ready for Step 6 (Implement from Spec).

Delete specs/.clarification-progress.md since all work is complete.

Signal: "Phase 5 complete. All specifications finalized."


Error Recovery Summary

ErrorAction
docs/gap-analysis-report.md not foundHalt. Instruct user to run Step 4 first.
Spec file unreadableSkip file. Report error. Continue with remaining files.
Write operation failsRetry once. On second failure, log to progress file and continue.
Zero markers foundInform user specs are complete. Halt.
User contradicts prior requirementSurface conflict. Wait for resolution.
Session interruptedProgress file preserves state. Resume on next invocation.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

31.53%
按下载量换算49

OpenCode

21.76%
按下载量换算34

Codex

19.4%
按下载量换算30

github-copilot

13.68%
按下载量换算21

Antigravity

8.28%
按下载量换算13

Gemini CLI

3.47%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills