AGENT SKILL

Spec Kit 工件清单检查

speckit-artifact

通过 `specify artifact` 检查 Spec Kit 的有效工件清单与组合堆栈。适用于:列出命令/模板/脚本/钩子,说明某个工件由哪一层预设或扩展提供,检查解析优先级与隐藏层,核查钩子注册情况,或将堆栈 lookupId 解析为其经过校验的贡献项。不适用于:安装或更改预设/扩展(使用 speckit-preset 或 speckit-extension)、仅解析由预设管理的文件名(使用 speckit-preset),或运行某个工件。

License 许可
MIT
最近更新
2026-11-05
Stars
★ 28
Forks
13

01 前言 Front Matter

name
speckit-artifact
description
Inspect the effective Spec Kit artifact inventory and composition stacks via `specify artifact`. USE FOR: listing commands/templates/scripts/hooks, explaining which preset or extension layer supplies an artifact, inspecting resolution precedence and hidden layers, checking hook registration, or resolving a stack lookupId to its validated contribution. DO NOT USE FOR: installing or changing presets/extensions (use speckit-preset or speckit-extension), resolving only a preset-managed filename (use speckit-preset), or running an artifact.
argument-hint
<list|info|lookup> [artifact name or lookupId] --json

02 资源文件 406

03 SKILL.md 正文

Spec Kit — artifacts

Inspect commands, templates, scripts, hooks, and their effective composition stacks with the Specify CLI specify artifact command group. Requires Specify CLI >= 1.0.7.

Prerequisite: needs the specify CLI. If specify --version fails, install it with the speckit-cli-setup skill first.

When to use

  • List every command, template, script, and hook visible to a Spec Kit project.
  • Explain which project, preset, extension, or built-in layer supplies an artifact.
  • Inspect precedence, composition strategy, active layers, and hidden layers.
  • Check whether declared hooks are registered and active.
  • Resolve a stack entry back to the validated manifest contribution Spec Kit uses.

How to invoke

# Full artifact inventory, including composition stacks
specify artifact list --json

# Inspect one artifact by bare name or source-agnostic artifact id
specify artifact info <name> --json
specify artifact info <kind>:<name> --json
specify artifact info <name> --kind <command|template|script|hook> --json

# Resolve a manifest-backed stack layer to its effective contribution
specify artifact lookup <lookupId> --json

Identifiers

  • An artifact id has the form <kind>:<name>, such as command:speckit.specify. Pass this value to specify artifact info.
  • A stack entry's lookupId identifies the preset or extension contribution behind that layer. Pass this opaque value unchanged to specify artifact lookup.
  • Built-in layers do not have a lookupId. Project or convention-only layers may not have a manifest contribution that lookup can resolve.

Notes

  • All specify artifact subcommands are read-only.
  • --json is currently required. A missing --json is a usage error.
  • Run commands from an initialized Spec Kit project containing .specify/.
  • list and info return ordered stacks. For commands, templates, and scripts, index 0 is the winning layer. Hook stacks are additive, so multiple entries can be active.
  • Composition strategies are replace, wrap, prepend, append, and additive for hooks.
  • active and hidden are independent: an inactive layer can still participate in composed output unless a higher replace layer hides it.
  • Hook artifact ids percent-encode event and target-command components. Reuse ids and lookupIds exactly as returned instead of constructing them manually.

04 同仓库更多 Skills

github
github/spec-kit-copilot

Spec Kit 自动化工作流管理

speckit-workflow

通过 `specify workflow` 管理和运行 Spec Kit 自动化工作流。适用场景:按 ID 或本地 YAML 运行工作流、恢复暂停或失败的运行、查看运行状态、列出/安装/移除工作流、搜索工作流目录、显示工作流步骤图。不适用于:扩展(使用 speckit-extension)、预设(使用 speckit-preset)或捆绑包(使用 speckit-bundle)。

软件开发工程师定时任务与自动化编排
★ 28
github
github/spec-kit-copilot

Spec Kit 工作流步骤管理

speckit-workflow-step

通过 `specify workflow step` 管理 Spec Kit 工作流步骤类型。适用场景:列出内置和自定义工作流步骤类型、从目录安装/移除自定义步骤类型、搜索/显示步骤类型信息、管理步骤类型目录源。不适用:运行或安装整个工作流(使用 speckit-workflow)或捆绑包(使用 speckit-bundle)。

软件开发工程师开发环境与工具链管理
★ 28
github
github/spec-kit-copilot

Spec Kit CLI 更新

speckit-self

通过 `specify self` 检查并应用 Spec Kit CLI 更新。适用场景:检查是否有更新的 specify-cli 版本可用、使用 --dry-run 预览升级、就地升级 CLI(可选升级到指定标签)。不适用:检查项目工具/集成(使用 speckit-check)或管理扩展/预设/集成/工作流。

软件开发工程师开发环境与工具链管理
★ 28
github
github/spec-kit-copilot

Spec Kit 预设管理

speckit-preset

通过 `specify preset` 管理 Spec Kit 预设。适用场景:以文本或 JSON 格式列出已安装预设、安装/移除预设、搜索预设目录、显示预设信息、解析预设名称映射到哪个模板、启用/禁用预设、设置解析优先级,或管理预设目录。不适用:完整的工件组合堆栈(使用 speckit-artifact)、扩展(使用 speckit-extension)、捆绑包(使用 speckit-bundle)或工作流(使用 speckit-workflow)。

软件开发工程师开发环境与工具链管理
★ 28
github
github/spec-kit-copilot

Spec Kit 项目初始化

speckit-init

为 GitHub Copilot 搭建 Spec Kit(规格驱动开发)项目脚手架,通过运行 `specify init --integration copilot --integration-options="--skills"` 实现。适用场景:启动新的 spec-kit 项目、在现有仓库中引导规格驱动开发、为 Copilot 安装 spec-kit 模板/脚本/命令。不适用:管理已初始化项目的扩展/预设/捆绑包(请改用 speckit-extension / speckit-preset / speckit-bundle 技能)。

软件开发工程师开发环境与工具链管理
★ 28
github
github/spec-kit-copilot

Spec Kit 扩展管理

speckit-extension

通过 `specify extension` 管理 Spec Kit 扩展。适用于:以文本或 JSON 格式列出已安装扩展、安装/移除/更新扩展、搜索扩展目录、查看扩展信息、启用/禁用扩展、设置解析优先级、管理扩展目录。不适用于:工件组合栈(请用 speckit-artifact)、预设(请用 speckit-preset)、捆绑包(请用 speckit-bundle)或工作流(请用 speckit-workflow)。

软件开发工程师插件与技能管理
★ 28