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

openspec-sync-specsopenspec 同步规范

Agent Skill

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

总安装

279

周安装

12

下载量

98
Local Agent

安装说明

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

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。当前暂无明确安装命令,请以来源页面说明为准。

简介

用于查找、检索和筛选相关信息。openspec-sync-specs 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适合在 Local Agent 中根据关键词或任务场景快速定位候选结果时使用。
  • 可结合来源仓库和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围和维护状态,以及是否会触发联网或文件读写。
  • 当前分类为研究检索,但技能描述较泛化,需人工复核实际能力。

SKILL.md

Sync delta specs from a change to main specs.

This is an agent-driven operation - you will read delta specs and directly edit main specs to apply the changes. This allows intelligent merging (e.g., adding a scenario without copying the entire requirement).

Input: Optionally specify a change name. If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.

Steps

  1. If no change name provided, prompt for selection Run openspec list --json to get available changes. Use the AskUserQuestion tool to let the user select. Show changes that have delta specs (under specs/ directory). IMPORTANT: Do NOT guess or auto-select a change. Always let the user choose.
  2. Find delta specs Look for delta spec files in openspec/changes/<name>/specs/*/spec.md. Each delta spec file contains sections like: If no delta specs found, inform user and stop.

- ## ADDED Requirements - New requirements to add - ## MODIFIED Requirements - Changes to existing requirements - ## REMOVED Requirements - Requirements to remove - ## RENAMED Requirements - Requirements to rename (FROM:/TO: format)

  1. For each delta spec, apply changes to main specs For each capability with a delta spec at openspec/changes/<name>/specs/<capability>/spec.md: a. Read the delta spec to understand the intended changes b. Read the main spec at openspec/specs/<capability>/spec.md (may not exist yet) c. Apply changes intelligently: ADDED Requirements: MODIFIED Requirements: REMOVED Requirements: RENAMED Requirements: d. Create new main spec if capability doesn't exist yet:

- If requirement doesn't exist in main spec → add it - If requirement already exists → update it to match (treat as implicit MODIFIED) - Find the requirement in main spec - Apply the changes - this can be: - Adding new scenarios (don't need to copy existing ones) - Modifying existing scenarios - Changing the requirement description - Preserve scenarios/content not mentioned in the delta - Remove the entire requirement block from main spec - Find the FROM requirement, rename to TO - Create openspec/specs/<capability>/spec.md - Add Purpose section (can be brief, mark as TBD) - Add Requirements section with the ADDED requirements

  1. Show summary After applying all changes, summarize:

- Which capabilities were updated - What changes were made (requirements added/modified/removed/renamed)

Delta Spec Format Reference

## ADDED Requirements

### Requirement: New Feature

The system SHALL do something new.

#### Scenario: Basic case

- **WHEN** user does X
- **THEN** system does Y

## MODIFIED Requirements

### Requirement: Existing Feature

#### Scenario: New scenario to add

- **WHEN** user does A
- **THEN** system does B

## REMOVED Requirements

### Requirement: Deprecated Feature

## RENAMED Requirements

- FROM: `### Requirement: Old Name`
- TO: `### Requirement: New Name`

Key Principle: Intelligent Merging

Unlike programmatic merging, you can apply partial updates:

  • To add a scenario, just include that scenario under MODIFIED - don't copy existing scenarios
  • The delta represents *intent*, not a wholesale replacement
  • Use your judgment to merge changes sensibly

Output On Success

## Specs Synced: <change-name>

Updated main specs:

**<capability-1>**:
- Added requirement: "New Feature"
- Modified requirement: "Existing Feature" (added 1 scenario)

**<capability-2>**:
- Created new spec file
- Added requirement: "Another Feature"

Main specs are now updated. The change remains active - archive when implementation is complete.

Guardrails

  • Read both delta and main specs before making changes
  • Preserve existing content not mentioned in delta
  • If something is unclear, ask for clarification
  • Show what you're changing as you go
  • The operation should be idempotent - running twice should give same result

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

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

平台分布

Local Agent

97.2%
按下载量换算95

安全审计

暂无安全审计结果可展示。

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills