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

openspec-bulk-archive-changeopenspec 批量存档更改

Agent Skill

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

总安装

272

周安装

11

下载量

85
Local Agent

安装说明

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

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

简介

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

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

SKILL.md

Archive multiple completed changes in a single operation.

This skill allows you to batch-archive changes, handling spec conflicts intelligently by checking the codebase to determine what's actually implemented.

Input: None required (prompts for selection)

Steps

  1. Get active changes Run openspec list --json to get all active changes. If no active changes exist, inform user and stop.
  2. Prompt for change selection Use AskUserQuestion tool with multi-select to let user choose changes: IMPORTANT: Do NOT auto-select. Always let the user choose.

- Show each change with its schema - Include an option for "All changes" - Allow any number of selections (1+ works, 2+ is the typical use case)

  1. Batch validation - gather status for all selected changes For each selected change, collect: a. Artifact status - Run openspec status --change "<name>" --json b. Task completion - Read openspec/changes/<name>/tasks.md c. Delta specs - Check openspec/changes/<name>/specs/ directory

- Parse schemaName and artifacts list - Note which artifacts are done vs other states - Count - [] (incomplete) vs - [x] (complete) - If no tasks file exists, note as "No tasks" - List which capability specs exist - For each, extract requirement names (lines matching ### Requirement: <name>)

  1. Detect spec conflicts Build a map of capability -> [changes that touch it]: auth -> [change-a, change-b] <- CONFLICT (2+ changes) api -> [change-c] <- OK (only 1 change) A conflict exists when 2+ selected changes have delta specs for the same capability.
  2. Resolve conflicts agentically For each conflict, investigate the codebase: a. Read the delta specs from each conflicting change to understand what each claims to add/modify b. Search the codebase for implementation evidence: c. Determine resolution: d. Record resolution for each conflict:

- Look for code implementing requirements from each delta spec - Check for related files, functions, or tests - If only one change is actually implemented -> sync that one's specs - If both implemented -> apply in chronological order (older first, newer overwrites) - If neither implemented -> skip spec sync, warn user - Which change's specs to apply - In what order (if both) - Rationale (what was found in codebase)

  1. Show consolidated status table Display a table summarizing all changes: | Change | Artifacts | Tasks | Specs | Conflicts | Status | |---------------------|-----------|-------|---------|-----------|--------| | schema-management | Done | 5/5 | 2 delta | None | Ready | | project-config | Done | 3/3 | 1 delta | None | Ready | | add-oauth | Done | 4/4 | 1 delta | auth (!) | Ready* | | add-verify-skill | 1 left | 2/5 | None | None | Warn | For conflicts, show the resolution: * Conflict resolution: - auth spec: Will apply add-oauth then add-jwt (both implemented, chronological order) For incomplete changes, show warnings: Warnings: - add-verify-skill: 1 incomplete artifact, 3 incomplete tasks
  2. Confirm batch operation Use AskUserQuestion tool with a single confirmation: If there are incomplete changes, make clear they'll be archived with warnings.

- "Archive N changes?" with options based on status - Options might include: - "Archive all N changes" - "Archive only N ready changes (skip incomplete)" - "Cancel"

  1. Execute archive for each confirmed change Process changes in the determined order (respecting conflict resolution): a. Sync specs if delta specs exist: b. Perform the archive: mkdir -p openspec/changes/archive mv openspec/changes/<name> openspec/changes/archive/YYYY-MM-DD-<name> c. Track outcome for each change:

- Use the openspec-sync-specs approach (agent-driven intelligent merge) - For conflicts, apply in resolved order - Track if sync was done - Success: archived successfully - Failed: error during archive (record error) - Skipped: user chose not to archive (if applicable)

  1. Display summary Show final results: ## Bulk Archive Complete Archived 3 changes: - schema-management-cli -> archive/2026-01-19-schema-management-cli/ - project-config -> archive/2026-01-19-project-config/ - add-oauth -> archive/2026-01-19-add-oauth/ Skipped 1 change: - add-verify-skill (user chose not to archive incomplete) Spec sync summary: - 4 delta specs synced to main specs - 1 conflict resolved (auth: applied both in chronological order) If any failures: Failed 1 change: - some-change: Archive directory already exists

Conflict Resolution Examples

Example 1: Only one implemented

Conflict: specs/auth/spec.md touched by [add-oauth, add-jwt]

Checking add-oauth:
- Delta adds "OAuth Provider Integration" requirement
- Searching codebase... found src/auth/oauth.ts implementing OAuth flow

Checking add-jwt:
- Delta adds "JWT Token Handling" requirement
- Searching codebase... no JWT implementation found

Resolution: Only add-oauth is implemented. Will sync add-oauth specs only.

Example 2: Both implemented

Conflict: specs/api/spec.md touched by [add-rest-api, add-graphql]

Checking add-rest-api (created 2026-01-10):
- Delta adds "REST Endpoints" requirement
- Searching codebase... found src/api/rest.ts

Checking add-graphql (created 2026-01-15):
- Delta adds "GraphQL Schema" requirement
- Searching codebase... found src/api/graphql.ts

Resolution: Both implemented. Will apply add-rest-api specs first,
then add-graphql specs (chronological order, newer takes precedence).

Output On Success

## Bulk Archive Complete

Archived N changes:
- <change-1> -> archive/YYYY-MM-DD-<change-1>/
- <change-2> -> archive/YYYY-MM-DD-<change-2>/

Spec sync summary:
- N delta specs synced to main specs
- No conflicts (or: M conflicts resolved)

Output On Partial Success

## Bulk Archive Complete (partial)

Archived N changes:
- <change-1> -> archive/YYYY-MM-DD-<change-1>/

Skipped M changes:
- <change-2> (user chose not to archive incomplete)

Failed K changes:
- <change-3>: Archive directory already exists

Output When No Changes

## No Changes to Archive

No active changes found. Create a new change to get started.

Guardrails

  • Allow any number of changes (1+ is fine, 2+ is the typical use case)
  • Always prompt for selection, never auto-select
  • Detect spec conflicts early and resolve by checking codebase
  • When both changes are implemented, apply specs in chronological order
  • Skip spec sync only when implementation is missing (warn user)
  • Show clear per-change status before confirming
  • Use single confirmation for entire batch
  • Track and report all outcomes (success/skip/fail)
  • Preserve.openspec.yaml when moving to archive
  • Archive directory target uses current date: YYYY-MM-DD-
  • If archive target exists, fail that change but continue with others

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

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

平台分布

Local Agent

79.36%
按下载量换算67

安全审计

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

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills