Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计提醒

spec-kit规格套件

Agent Skill

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

总安装

272

周安装

11

GitHub Stars

2

下载量

85
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

用于查找、检索和筛选相关信息,支持根据关键词或任务场景快速定位候选结果。

  • 适合作为 Spec Kit 技能路由器的默认入口,自动分派到最小适用子技能集。
  • 可通过 npx skills add 从 GitHub 仓库安装,在 Codex、Claude 等宿主中调用 spec-kit 名称触发。
  • 使用前需确认权限范围和操作边界,避免触发不必要的联网或文件读写。
  • spec-kit 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Spec Kit Skill Router

Route requests to the smallest set of installed spec-kit-* skills. Treat routes as defaults; if repository constraints require a different sequence, state the deviation and risk.

Invocation Notice

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

Trigger Tests

  • Should trigger:

- "Which spec-kit skill should I run next?" - "Route this feature request through Spec Kit." - "I have tasks.md; can we implement now?"

  • Should not trigger:

- "Write a Conventional Commit message." - "Debug Python concurrency bugs unrelated to Spec Kit."

Route by Intent

User IntentRouteRequired artifacts
Create or update governance/principlesspec-kit-constitutionnone
Draft or revise feature requirementsspec-kit-specifyconstitution recommended
Resolve high-impact ambiguity before planningspec-kit-clarifyspec.md
Produce technical design artifactsspec-kit-planspec.md + constitution
Generate dependency-ordered implementation tasksspec-kit-tasksplan.md (+ spec.md)
Audit cross-artifact consistency (read-only)spec-kit-analyzespec.md + plan.md + tasks.md
Reconcile specification drift at any stagespec-kit-reconcilegap report + existing feature artifacts
Generate requirements-quality checklistspec-kit-checklistspec.md
Execute implementation from tasksspec-kit-implementtasks.md

Routing Flowchart

Use this for feature-work sequencing. Gate checks are mandatory.

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

    start [label="Feature request", shape=oval];
    reconcile_gate [label="Need reconcile now\n(drift detected)?", shape=diamond];
    has_const [label="constitution exists?", shape=diamond];
    constitution [label="spec-kit-constitution", shape=box];
    has_spec [label="spec.md exists?", shape=diamond];
    specify [label="spec-kit-specify", shape=box];
    clarify_gate [label="Spec ambiguity blocks planning?", shape=diamond];
    clarify [label="spec-kit-clarify", shape=box];
    plan [label="spec-kit-plan", shape=box];
    tasks [label="spec-kit-tasks", shape=box];
    analyze_gate [label="Run spec-kit-analyze?", shape=diamond];
    analyze [label="spec-kit-analyze", shape=box];
    analyze_blocking [label="Blocking findings?", shape=diamond];
    reconcile [label="spec-kit-reconcile", shape=box];
    has_tasks [label="tasks.md exists?", shape=diamond];
    stop_tasks [label="STOP:\nrun spec-kit-tasks first", shape=octagon, style=filled, fillcolor=red, fontcolor=white];
    implement [label="spec-kit-implement", shape=box];
    post_impl_gaps [label="Post-implementation\ngaps found?", shape=diamond];
    done [label="Feature complete", shape=doublecircle];

    start -> reconcile_gate;
    reconcile_gate -> reconcile [label="yes"];
    reconcile_gate -> has_const [label="no"];
    reconcile -> has_const [label="continue"];
    has_const -> constitution [label="no"];
    has_const -> has_spec [label="yes"];
    constitution -> has_spec;
    has_spec -> specify [label="no"];
    has_spec -> clarify_gate [label="yes"];
    specify -> clarify_gate;
    clarify_gate -> clarify [label="yes"];
    clarify_gate -> plan [label="no"];
    clarify -> plan;
    plan -> tasks;
    tasks -> has_tasks;
    has_tasks -> analyze_gate [label="yes"];
    has_tasks -> stop_tasks [label="no"];
    analyze_gate -> analyze [label="recommended"];
    analyze_gate -> implement [label="skip"];
    analyze -> analyze_blocking;
    analyze_blocking -> reconcile [label="yes"];
    analyze_blocking -> implement [label="no"];
    reconcile -> implement;
    implement -> post_impl_gaps;
    post_impl_gaps -> done [label="no"];
    post_impl_gaps -> reconcile [label="yes"];
}

Sequence Rules

  1. Never run spec-kit-plan without spec.md.
  2. Never run spec-kit-implement without tasks.md.
  3. Run spec-kit-clarify before planning when ambiguity can change architecture, data model, testing, UX, operations, or compliance.
  4. Run spec-kit-reconcile whenever drift is detected at any stage before continuing.

Router Behavior

  1. Classify user intent first, then select one or more child skills from the route table.
  2. Enforce artifact gates before invoking downstream skills.
  3. Prefer the minimal next step; do not run the full pipeline unless requested.
  4. If the requested step violates a gate, route to the missing prerequisite and explain the dependency.
  5. Route developer-reported drift directly to spec-kit-reconcile, even if raised outside analyze/implement.

Shared Resource Ownership (Parent Skill)

  • skills/spec-kit/scripts/* is the source of truth for shared shell helpers.
  • Child skills may symlink these scripts; preserve script names and argument contracts unless all dependent children are updated together.
  • skills/spec-kit/references/spec-kit-workflow.dot is shared by symlink in multiple child skills and must stay router-accurate.

Unsupported in This Repo

  • spec-kit-taskstoissues is not supported.
  • If the user asks for GitHub issue export from tasks.md, state that no spec-kit-* exporter skill is available and continue with manual guidance or available skills.

References

  • references/spec-kit-workflow.dot
  • Upstream baseline: https://github.com/github/spec-kit (snapshot: 9111699cd27879e3e6301651a03e502ecb6dd65d)

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

39%
按下载量换算33

Claude

29.82%
按下载量换算25

Cursor

19.03%
按下载量换算16

Gemini CLI

9.37%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/ahgraber/skills --skill spec-kit 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills