Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计提醒

spec-driven-spec-content规格驱动的规格内容

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

282

周安装

12

GitHub Stars

公开资料未说明

下载量

99
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写,适合让 Agent 提炼结构、补齐章节、统一术语或检查链接。

  • 使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装 spec-driven-spec-content 技能。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 当前无额外说明,需参考原始 SKILL.md 获取完整功能细节。

SKILL.md

You are helping the user place spec content into the correct delta spec file for an existing spec-driven change.

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. Select the change — run node {{SKILL_DIR}}/scripts/spec-driven.js modify to list active changes. Ask which change to edit if the user did not specify one.
  2. Understand the request — identify whether the user wants to:

- add new spec content - extend an existing spec - modify an existing requirement - remove one or more existing requirements

  1. Read index-first context — before deciding any path, read:

- .spec-driven/config.yaml - .spec-driven/specs/INDEX.md - any existing files under .spec-driven/changes/<name>/specs/ that already look related

  1. Choose candidate targets from INDEX.md — use the index to determine which existing categories and spec files might already cover the requested behavior.

- If one or more candidates exist, read the full main spec files before making any routing decision - Only create a new category if no existing category fits the behavior - Only create a new spec file inside an existing category if the behavior does not fit any existing file in that category

  1. Decide the delta spec path — classify the request into exactly one of: Keep the delta path aligned with the main spec path that should exist after archive.

- update an existing delta file that mirrors an existing main spec file - create a new delta file under an existing category - create a new delta file under a new category - revise existing requirements in a delta file that already exists - If the chosen delta spec file already exists under .spec-driven/changes/<name>/specs/, read that exact file before appending or revising content

  1. Edit the delta spec content — preserve the standard delta format:

- Use ## ADDED Requirements for new requirements - Use ## MODIFIED Requirements for changed requirements, including a Previously: note - Use ## REMOVED Requirements for deletions, including the reason - Keep ### Requirement: headings intact - Describe observable behavior, not implementation details

  1. Handle removals explicitly — if the request removes spec content:

- identify the exact ### Requirement: heading or headings being removed - write those removals explicitly in the delta file - do not use vague phrasing like "remove old spec" or "delete obsolete content" - if the target requirement is ambiguous after reading the relevant specs, stop and ask the user which requirement should be removed

  1. Run the final spec format check — after any spec edit, run: node {{SKILL_DIR}}/scripts/spec-driven.js verify <name>

- Treat missing artifacts, malformed delta section markers/headings, and other spec structure problems as the format issues to repair - Fix any safe format issues immediately and rerun verify - If verify reports only non-format workflow blockers such as open questions in questions.md, surface those separately instead of misreporting them as spec-format failures - Do not finish without this check - If unresolved format or structure errors remain, report them clearly to the user

  1. Summarize the routing decision — tell the user:

- which category/file was chosen - whether it was an existing file, new file, or new category - whether the change added, modified, or removed requirements - whether the final format check passed

Rules

  • Read .spec-driven/specs/INDEX.md before choosing a category or file name
  • Prefer existing categories and files unless the content clearly requires a new path
  • Read the relevant main specs before editing delta specs
  • If the chosen delta file already exists, read that exact file before editing it
  • Do not implement code — this skill edits planning artifacts only
  • Always finish with a spec format check

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.23%
按下载量换算37

Claude

32.79%
按下载量换算32

Cursor

18.49%
按下载量换算18

Gemini CLI

9.17%
按下载量换算9

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills