Token导航 LogoToken导航TokenDH.com
待分类需要联网github未标认证来源可访问许可证需确认审计通过

spec-kit-clarify规格套件澄清

Agent Skill

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

总安装

242

周安装

10

GitHub Stars

2

下载量

79
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/ahgraber/skills --skill spec-kit-clarify

简介

spec-kit-clarify 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 了解具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 当前分类为待分类,功能聚焦于代码协作信息的组织与处理。

SKILL.md

Spec Kit Clarify

Resolve high-impact ambiguity in the active feature specification before planning.

Invocation Notice

  • Inform the user when this skill is being invoked by name: spec-kit-clarify.

When to Use

  • spec.md already exists but has high-impact uncertainty.
  • You see unresolved placeholders (for example [NEEDS CLARIFICATION], TODOs, or conflicting statements).
  • Ambiguity could materially change architecture, data model, testing, UX behavior, operations, or compliance expectations.

When Not to Use

  • No feature spec exists yet (spec-kit-specify first).
  • Work is design decomposition (spec-kit-plan) or task generation (spec-kit-tasks).
  • You only need read-only consistency analysis (spec-kit-analyze).
  • You are reconciling broader cross-artifact drift (spec-kit-reconcile).

Router Fit

  • Primary route from spec-kit after spec-kit-specify and before spec-kit-plan when ambiguity is still blocking.

Key Rules

  • Ask exactly one question at a time.
  • Ask at most 5 accepted questions per run.
  • Every question must materially influence architecture, data model, testing, UX, operations, or compliance.
  • Integrate each accepted answer into spec.md immediately.

Workflow

digraph clarify_workflow {
    rankdir=TB;
    node [fontname="Helvetica", fontsize=10];
    edge [fontname="Helvetica", fontsize=9];

    start [label="Invoke spec-kit-clarify", shape=doublecircle];
    resolve_paths [label="Resolve FEATURE_SPEC path", shape=box];
    has_spec [label="spec.md exists?", shape=diamond];
    stop_specify [label="STOP: run spec-kit-specify first", shape=octagon, style=filled, fillcolor=red, fontcolor=white];

    scan_taxonomy [label="Scan with clarification taxonomy", shape=box];
    has_high_impact [label="High-impact ambiguity remains?", shape=diamond];
    report_none [label="Report no critical ambiguity", shape=box];

    build_queue [label="Build and rank up to 5 questions", shape=box];
    ask_loop [label="Ask one question at a time\n(recommend/suggest, disambiguate if needed)", shape=box];
    integrate [label="Integrate accepted answer into spec.md", shape=box];
    validate [label="Validate update and consistency", shape=box];
    continue_gate [label="Continue loop?", shape=diamond];
    final_report [label="Report touched sections, coverage, next step", shape=box];
    done [label="Clarify complete", shape=doublecircle];

    start -> resolve_paths;
    resolve_paths -> has_spec;
    has_spec -> stop_specify [label="no"];
    has_spec -> scan_taxonomy [label="yes"];
    scan_taxonomy -> has_high_impact;
    has_high_impact -> report_none [label="no"];
    report_none -> done;
    has_high_impact -> build_queue [label="yes"];
    build_queue -> ask_loop;
    ask_loop -> integrate;
    integrate -> validate;
    validate -> continue_gate;
    continue_gate -> ask_loop [label="yes"];
    continue_gate -> final_report [label="no"];
    final_report -> done;
}
  1. Resolve active spec path:

- Run scripts/check-prerequisites.sh --paths-only --json. - Read FEATURE_SPEC from the JSON payload. - If FEATURE_SPEC is missing, stop and direct the user to spec-kit-specify.

  1. Build an internal ambiguity coverage map from spec.md:

- Use assets/clarification-taxonomy.md as the required category checklist. - Score each category as Clear, Partial, or Missing. - Create candidate questions only for Partial or Missing categories where clarification changes implementation or validation outcomes.

  1. Prioritize up to 5 candidate questions:

- Rank by Impact * Uncertainty. - Exclude already-answered items, stylistic preferences, and low-impact plan-level details. - Ensure each question is answerable by either: - multiple choice with 2-5 mutually exclusive options, or - short answer constrained to <=5 words.

  1. Run the interactive one-question loop:

- Follow the workflow chart above for branching and stop conditions. - Ask exactly one question at a time. - For multiple-choice questions, provide a recommendation and an options table. - For short-answer questions, provide a suggested answer and enforce <=5 words. - Accept yes, recommended, or suggested as confirmation of the current recommendation. - Use disambiguation follow-ups when needed without consuming a new question slot.

  1. Integrate each accepted answer immediately:

- Ensure ## Clarifications exists. - Ensure a session heading exists: ### Session YYYY-MM-DD. - Append: - Q: <question> → A: <final answer>. - Update the most relevant section(s) inline: - functional behavior, - user stories/actors, - data model, - non-functional metrics, - edge/error handling, - terminology normalization. - Replace superseded contradictory statements instead of duplicating. - Save FEATURE_SPEC after each accepted answer.

  1. Validate after each write and on final pass:

- Exactly one clarification bullet per accepted answer. - Accepted questions count is <=5. - No contradiction remains for resolved decisions. - No unresolved vague placeholder remains for resolved items. - Only these new headings are introduced: ## Clarifications, ### Session YYYY-MM-DD. - Canonical terminology is consistent across modified sections.

  1. Report completion:

- Questions asked and answered. - Updated FEATURE_SPEC path. - Sections touched. - Coverage summary by category with status: - Resolved - Deferred - Clear - Outstanding - Next-step recommendation: proceed to spec-kit-plan or run clarify again later.

Behavior Rules

  • If no high-impact ambiguity exists, respond: No critical ambiguities detected worth formal clarification. and suggest proceeding.
  • Never exceed 5 accepted questions (disambiguation retries do not count as new questions).
  • Respect early termination signals: stop, done, proceed.
  • Avoid speculative tech-stack questions unless their absence blocks functional correctness.
  • If quota is reached with unresolved high-impact items, mark them as Deferred with rationale.

Output

  • Updated spec.md with embedded clarification history
  • Summary of asked/answered questions, touched sections, and unresolved/deferred areas

Common Mistakes

  • Low-impact questions. Never ask about cosmetic or stylistic details. Every question must materially affect architecture, data model, testing, UX, operations, or compliance.
  • Asking multiple questions at once. Ask one question at a time. Batching questions overwhelms the user and produces shallow answers.
  • Not updating spec inline. Each accepted answer must be applied to the relevant spec sections immediately. Never defer updates to a later pass.
  • Redundant clarifications. Check existing spec content and prior clarification sessions before asking. Do not re-ask what is already resolved.

References

  • assets/clarification-taxonomy.md
  • references/spec-kit-workflow.dot for overall context of how the clarification fits into the Spec Kit process.
  • scripts/check-prerequisites.sh
  • https://github.com/github/spec-kit/blob/9111699cd27879e3e6301651a03e502ecb6dd65d/templates/commands/clarify.md

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.63%
按下载量换算30

Claude

31.41%
按下载量换算25

Cursor

17.98%
按下载量换算14

Gemini CLI

9.03%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills