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

spec-kit-specify规格套件指定

Agent Skill

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

总安装

210

周安装

9

GitHub Stars

2

下载量

73
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

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

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

SKILL.md

Spec Kit Specify

Create or refresh the feature specification for the active Spec Kit feature.

Invocation Notice

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

When to Use

  • Start a new feature and create the first spec.md.
  • Convert free-form requirements into a structured, testable, implementation-agnostic specification.
  • Rework an existing spec draft so it is ready for spec-kit-clarify or spec-kit-plan.

When Not to Use

  • Clarify ambiguity in an already-written spec without redrafting it (spec-kit-clarify).
  • Generate design artifacts or tasks from an approved spec (spec-kit-plan, spec-kit-tasks).
  • Reconcile cross-artifact drift in an existing feature (spec-kit-reconcile).

Router Fit

  • Primary route from spec-kit when spec.md does not exist yet.
  • Downstream: hand off to spec-kit-clarify (if high-impact ambiguity remains) or spec-kit-plan (if spec is ready).

Preconditions

  • User provided a non-empty feature description.
  • Run from repository root (or a subdirectory inside the repository).

Workflow

  1. Normalize input:

- Treat the full user request as the feature description. - If empty, stop: ERROR: No feature description provided.

  1. Generate a short branch suffix (2-4 words, kebab-case):

- Preserve meaningful technical terms/acronyms. - Prefer action-noun phrasing (for example user-auth, bulk-export-audit-log).

  1. Bootstrap feature branch and spec exactly once:

- Run scripts/create-new-feature.sh --json --short-name "<short-name>" "<feature description>". - Do not manually pre-compute branch numbers; let the script assign the next number. - Parse JSON output and capture: - BRANCH_NAME - SPEC_FILE - FEATURE_NUM - Derive FEATURE_DIR as dirname(SPEC_FILE).

  1. Load template context:

- Preferred template: {REPO_ROOT}/templates/spec-template.md. - Fallback template: assets/spec-template.md. - Preserve heading order from the selected template.

  1. Draft spec.md content (focus on WHAT/WHY, not HOW):

- Fill prioritized user stories with independent tests and acceptance scenarios. - Write testable functional requirements. - Add edge cases and scope boundaries. - Add measurable, technology-agnostic success criteria. - Include key entities when data is central. - Use reasonable defaults and document assumptions when needed.

  1. Clarification policy while drafting:

- First, make informed defaults using domain norms. - Add [NEEDS CLARIFICATION:...] only for high-impact uncertainty. - Hard limit: at most 3 clarification markers. - Prioritize by impact: scope > security/privacy > UX > technical detail.

  1. Write the spec to SPEC_FILE.
  2. Create and run requirements quality validation:

- Create FEATURE_DIR/checklists/requirements.md. - Validate spec against this checklist: - No implementation details (frameworks, languages, APIs, internal architecture). - Mandatory sections are complete. - Requirements are unambiguous and testable. - Success criteria are measurable and technology-agnostic. - User scenarios and edge cases are covered. - Scope boundaries, dependencies, and assumptions are explicit. - No unresolved [NEEDS CLARIFICATION] markers for plan-ready specs. - If non-clarification issues fail, revise spec and re-validate (max 3 passes).

  1. If clarification markers remain after validation:

- Ask up to 3 numbered clarification questions total. - For each question, present 2-3 concrete options plus a short custom answer path. - Wait for user responses, update spec.md, then re-run validation.

  1. Report completion:
  • Branch name.
  • spec.md path.
  • requirements.md path and pass/fail summary.
  • Recommended next step:

- spec-kit-clarify if high-impact ambiguity remains. - spec-kit-plan if ready.

Output

  • Active feature branch from scripts/create-new-feature.sh
  • specs/<feature>/spec.md
  • specs/<feature>/checklists/requirements.md
  • readiness handoff for spec-kit-clarify or spec-kit-plan

Common Mistakes

  • Writing implementation design into the spec instead of user-visible behavior and outcomes.
  • Leaving vague requirements that cannot be acceptance-tested.
  • Asking too many clarification questions instead of making reasonable defaults.
  • Running feature bootstrap script multiple times for one request.

References

  • references/spec-kit-workflow.dot
  • scripts/create-new-feature.sh
  • assets/spec-template.md
  • https://github.com/github/spec-kit/blob/9111699cd27879e3e6301651a03e502ecb6dd65d/templates/commands/specify.md

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.89%
按下载量换算25

Claude

30.84%
按下载量换算23

Cursor

20.82%
按下载量换算15

Gemini CLI

9.38%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills