Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计提醒

sdd-archiveSDD 档案

Agent Skill

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

总安装

449

周安装

18

GitHub Stars

公开资料未说明

下载量

145
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:sdd-archive(SDD 档案)
来源仓库:https://github.com/fearovex/claude-config
仓库路径:skills/sdd-archive
安装命令:
npx skills add https://github.com/fearovex/claude-config --skill sdd-archive
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/fearovex/claude-config --skill sdd-archive

简介

sdd-archive 归档已完成变更,生成不可逆的闭环报告并更新项目记忆。

  • 适用于 SDD 开发周期收尾阶段的成果固化。
  • 执行前必须获得用户确认,因操作无法撤销。
  • 建议保留历史记录供审计和未来参考。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

sdd-archive

Closes a completed SDD change and persists an archive report.

Triggers: /sdd-archive <change-name>, archive change, finalize sdd cycle, close change, sdd archive


Purpose

Archiving is the final step of the SDD cycle. It validates completeness, saves a closure record, and updates the project memory layer. It is irreversible — I confirm with the user before executing.


Process

Skill Resolution

When the orchestrator launches this sub-agent, it resolves the skill path using:

1. .claude/skills/sdd-archive/SKILL.md     (project-local — highest priority)
2. ~/.claude/skills/sdd-archive/SKILL.md   (global catalog — fallback)

Project-local skills override the global catalog. See docs/SKILL-RESOLUTION.md for the full algorithm.


Step 1 — Verify it is archivable

Completeness Check

Before reading the verify report, I check for required SDD artifacts in engram. Artifact exists if mem_search returns results.

CRITICAL artifacts (block with no proceed option): proposal, tasks

WARNING artifacts (present two-option prompt): design, specs

Check order:

  1. Check CRITICAL artifacts first. If any are absent:
CRITICAL — Cannot archive "[change-name]"

The following artifacts are required for a valid SDD cycle but are missing:
  - proposal   (required — CRITICAL)
  - tasks      (required — CRITICAL)

Return and complete the missing phases before archiving.
No proceed option is available.

List only the artifacts that are actually absent. Halt immediately. Do NOT evaluate WARNING artifacts.

  1. If CRITICAL passes, check WARNING artifacts. If any are absent:
WARNING — Incomplete cycle detected for "[change-name]"

The following artifacts are missing:
  - design     (recommended — WARNING)
  - specs      (recommended — WARNING)

Choose:
  1. Return and complete the missing phases (/sdd-spec, /sdd-design)
  2. Archive anyway — I acknowledge these phases were intentionally skipped

Reply 1 or 2:

List only the artifacts that are actually absent. Wait for the user to reply:

  • Option 1 selected: halt. The user returns to complete the missing phases.
  • Option 2 selected: record the skipped phases (for use in Step 4 closure) and continue.
  1. If all CRITICAL and WARNING artifacts are present: produce no output and continue immediately.

Note: exploration is explicitly excluded from this check. Its absence MUST NOT trigger any CRITICAL or WARNING output.


I read the verify report artifact if it exists:

  • mem_search(query: "sdd/{change-name}/verify-report")mem_get_observation(id).

If there are unresolved CRITICAL issues:

No archiving allowed.

The verification report has [N] critical issues:
- [issue 1]
- [issue 2]

Resolve the issues and run /sdd-verify again before archiving.

If there is no verification report, I inform the user and ask whether to proceed anyway.

User-docs review checkbox (non-blocking):

After reading the verify-report (if it exists), surface the user-docs review item status:

User docs review checkbox: [CHECKED / UNCHECKED / ABSENT]
  • CHECKED: verify-report contains [x] Review user docs — good
  • UNCHECKED: verify-report contains [] Review user docs — remind the user to check if this change affects user-facing docs
  • ABSENT: the checkbox is not in the verify-report — no action needed (older changes pre-date this requirement)

This check is non-blocking — the archive operation continues regardless of the checkbox state.

Step 2 — Confirm with the user

Do you confirm archiving the change "[change-name]"?

This will perform the following actions:
1. Save an archive closure report to engram
2. Update ai-context/ with decisions from this change

[PASS WITH WARNINGS — warnings were left unresolved]
[or: Verification: PASS]

Continue? [y/n]

Step 3 — Update feature files (optional)

If ai-context/features/ exists and any domain specs were produced for this change, check whether the delta specs introduced new business rules, invariants, or gotchas that should be reflected in the permanent feature files.

For each affected domain:

  • If a matching feature file exists: append new business rules or invariants to the appropriate sections
  • If no matching feature file exists: skip — feature files are created by /codebase-teach or /memory-init, not by archive

This step is non-blocking. If ai-context/features/ does not exist, skip entirely.

Step 4 — Save closure to engram

Call mem_save with topic_key: sdd/{change-name}/archive-report, type: architecture, content = compact summary:

Archived: {change-name}. Dates: {start} -> {close}. Summary: {1-2 sentences}.
Specs domains: {domain list}. Skipped phases: {list or "none"}.

If Engram MCP is not reachable: skip persistence. Return closure content inline only.

Step 5 — Auto-update memory

After the archive is complete, I automatically update ai-context/ with the decisions and changes from this cycle.

Process:

  1. Read ~/.claude/skills/memory-manage/SKILL.md
  2. Execute the /memory-manage process in "update" mode inline, using the archived change as session context:

- Change name: <change-name> - Artifacts: proposal, specs, design, tasks (from engram)

  1. Report the result

Non-blocking error handling:

  • On success: report in the output: Memory updated: ai-context/ files refreshed with decisions from "[change-name]".
  • On failure (skill not found, write error, any other issue): report a warning and continue: Warning: Memory update failed — [reason]. Archive completed successfully. Suggestion: Run /memory-manage (update mode) manually to update ai-context/.

The archive is always considered successful regardless of the memory-update outcome.

Final output:

Change "[change-name]" successfully archived.

Memory: [updated | failed — reason]

Output to Orchestrator

{
  "status": "ok|warning|failed",
  "summary": "Change [name] archived. Memory: [updated|failed|skipped].",
  "artifacts": ["engram:sdd/{change-name}/archive-report"],
  "next_recommended": [],
  "risks": []
}

Rules

  • NEVER archive with unresolved CRITICAL issues
  • ALWAYS confirm with the user before executing (it is irreversible)
  • CRITICAL artifacts (proposal, tasks) MUST block with no proceed option — the completeness check MUST run before the verify-report is read
  • WARNING artifacts (design, specs) MUST always offer option 2 (acknowledge and proceed) — they MUST NOT silently block

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.36%
按下载量换算51

Claude

30.41%
按下载量换算44

Cursor

19.31%
按下载量换算28

Gemini CLI

10.05%
按下载量换算15

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills