Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

spec-driven-sync-specs规格驱动的同步规格

Agent Skill

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

总安装

713

周安装

30

GitHub Stars

公开资料未说明

下载量

250
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/kw12121212/auto-spec-driven --skill spec-driven-sync-specs

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。

  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装 spec-driven-sync-specs 技能。
  • 当前无额外说明,需参考原始 SKILL.md 获取完整功能细节。

SKILL.md

You are helping the user synchronize .spec-driven/specs/ with behavior that already exists in the repository.

This Skill's Commands

If you cannot remember the exact command used by this skill, look it up here before running anything. Do not guess.

init: node {{SKILL_DIR}}/scripts/spec-driven.js init
verify-spec-mappings: node {{SKILL_DIR}}/scripts/spec-driven.js verify-spec-mappings

Prerequisites

The .spec-driven/ directory must exist at the project root. Before proceeding, verify:

ls .spec-driven/

If this fails, the project is not initialized. Run /spec-driven-init first.

Steps

  1. Choose the scan scope — determine whether the user wants: If the user already gave a scope, use it. If not, ask whether to scan the whole repository or a narrower target.

- a repository-wide scan - a scoped scan for a specific directory, module, or feature area

  1. Read spec context first — before deciding that any drift exists, read:

- .spec-driven/config.yaml - .spec-driven/specs/INDEX.md - every main spec file that appears relevant to the chosen scan scope

  1. Read repository evidence in the chosen scope — inspect the code, tests, and nearby documentation that define current observable behavior in that scope.

- Prefer files that expose behavior directly: CLI commands, handlers, user-facing flows, tests, and docs - Do not treat internal implementation details as requirements

  1. Classify drift findings — compare the repository evidence to the current specs and sort findings into:

- confirmed behavior that exists in code but is missing from specs - existing requirements that appear outdated or incomplete - ambiguous findings that need human confirmation before they become specs - areas with no meaningful drift in the scanned scope

  1. Report drift summary in chat — present a concise summary covering:

- the scan scope that was analyzed - confirmed gaps or outdated spec areas, with specific file references - ambiguous findings that need human input - areas in scope where no meaningful drift was found

  1. Get user confirmation — before editing any spec file, ask the user to confirm the proposed changes. List each spec file that will be added, modified, or removed. Do not proceed until the user explicitly approves.
  2. Edit spec files directly — for each confirmed gap:

- edit the corresponding file under .spec-driven/specs/ - add, modify, or remove ### Requirement: blocks as appropriate - preserve or update mapping.implementation and mapping.tests frontmatter to match the repository evidence used for the sync - describe observable behavior only - if no existing category or file fits, create the new file under .spec-driven/specs/ with the correct relative path

  1. Refresh INDEX.md — after all spec edits are complete, run: node {{SKILL_DIR}}/scripts/spec-driven.js init This regenerates .spec-driven/specs/INDEX.md to reflect the current file state. If mapping frontmatter changed, also run: node {{SKILL_DIR}}/scripts/spec-driven.js verify-spec-mappings
  2. Report final changes — summarize what was done:

- which spec files were added, modified, or removed - a brief description of the drift that was fixed in each file - any ambiguous findings that were left unresolved and why

Rules

  • This is a documentation skill only — do not change product code
  • Read spec context before judging drift
  • Respect the user-selected scope; do not imply full-repository coverage after a scoped scan
  • Use code, tests, and nearby docs as evidence, but write only observable behavior into the specs
  • Do not create a change — edit .spec-driven/specs/ files directly
  • Do not write a standalone report file; the summary belongs in chat
  • Get explicit user confirmation before editing any spec file
  • Keep implementation and test mappings in frontmatter, not in requirement prose

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.69%
按下载量换算87

Claude

28.44%
按下载量换算71

Cursor

18.32%
按下载量换算46

Gemini CLI

8.78%
按下载量换算22

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills