Token导航 LogoToken导航

Agent Skill · 研究检索

cdd-maintain(CDD 维护)

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

cdd-maintain 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 68,654。

总安装 225周安装 9GitHub Stars 1下载 73核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/ruphware/cdd-skills --skill cdd-maintain

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

cdd-maintain 用于归档长期 CDD 文件、审计支持文档漂移并提出刷新建议,适合在 Codex、Claude、Cursor、Gemini CLI 中维护项目健康度时使用。它应用安全归档策略,询问后再删除邻近过期文件,防止误删重要资产。支持医生式体检,扫描代码异味与死代码信号,输出 refactor 候选列表。

使用前应确认 JOURNAL 与 specs 文档最新,避免基于过时信息做出错误判断。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/cdd-maintain

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/ruphware/cdd-skills --skill cdd-maintain;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

cdd-maintain 怎么安装?

在终端执行 npx skills add https://github.com/ruphware/cdd-skills --skill cdd-maintain。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

cdd-maintain 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

cdd-maintain 需要什么权限?

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

cdd-maintain 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

cdd-maintain 用的人多吗?

公开数据是累计安装 225 次,近一周安装 9 次,下载 73 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

cdd-maintain 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
cdd-maintain

CDD 维护 · 本页

2251只读未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

CDD Maintain (explicit-only)

Use this skill for explicit codebase maintenance: archive long CDD files, audit support-doc drift, propose approval-gated documentation refreshes, and doctor the repo for refactor and dead-code signals.

Sources of truth

Read:

  • AGENTS.md
  • README.md
  • TODO.md and adjacent TODO*.md
  • docs/JOURNAL.md
  • docs/INDEX.md
  • docs/specs/prd.md
  • docs/specs/blueprint.md
  • docs/prompts/PROMPT-INDEX.md if present
  • repo manifests, entrypoints, and test/lint/typecheck config as needed for code-health checks

Safe archive behavior

  • Apply safe archive moves immediately.
  • Ask before deleting stale adjacent TODO*.md files.
  • Do not delete or rewrite application code as part of maintenance.
  • Do not silently rewrite support docs as part of maintenance.

TODO archive rules

  • Check TODO.md and adjacent TODO*.md files.
  • Treat a step as archiveable only when its task list is fully complete under the repo's current TODO style.
  • If step completion is ambiguous, leave that step in place and report it.
  • Preserve top-to-bottom TODO history: archive only from the oldest contiguous archiveable block near the top of the active step list.
  • Never archive a step from the middle or tail of the active TODO file.
  • Do not leapfrog an older incomplete or ambiguous step in order to archive later completed steps below it.
  • Retain the newest 3 step headings in each active TODO file.
  • Archive older completed steps when a TODO file is long enough to need trimming.
  • Treat a TODO file as long when it has more than 6 step headings or clearly accumulated completed historical steps beyond the retained active window.
  • Move archived sections into docs/archive/.
  • Use archive filenames:

- TODO.md -> docs/archive/TODO_YYYY-MM-DD.md - TODO-foo.md -> docs/archive/TODO-foo_YYYY-MM-DD.md

  • If the same-day archive file already exists, append the newly archived sections instead of overwriting it.
  • If older incomplete or ambiguous steps block a clean top trim, do not archive later completed steps; report archival as blocked by non-contiguous active history.
  • After archiving, keep the active TODO file focused on the retained newest 3 step headings plus any older incomplete or ambiguous steps that could not be archived safely.

Stale adjacent TODO file handling

  • For adjacent TODO*.md files, check last activity using git log -1 timestamp when available.
  • If git history is unavailable, fall back to filesystem mtime.
  • If an adjacent TODO file is older than 14 days and has no remaining active work after safe archiving, ask the user once for approval before deleting those stale files.
  • Group all such stale-file deletions into one approval request.

Journal archive rules

  • Read the archive or rotation guidance at the top of docs/JOURNAL.md.
  • Archive docs/JOURNAL.md only according to the rules defined there.
  • If docs/JOURNAL.md has no clear archive rule near the top, do not invent one; skip journal archival and report that it was skipped.

Support documentation drift review

  • Treat README.md, docs/specs/prd.md, and docs/specs/blueprint.md as canonical support docs.
  • Also review docs/INDEX.md and docs/prompts/PROMPT-INDEX.md when present as support-doc navigation surfaces.
  • Compare each support doc against the current repo state using manifests, entrypoints, scripts, active TODO/JOURNAL context, and the other support docs.
  • Check whether setup/dev/test/build instructions, documented workflows, active features, architecture notes, and referenced doc paths still match the repo.
  • Classify each support doc as current, drifted, missing, or unclear.
  • If a support doc is missing, report it explicitly and do not fabricate it automatically as part of maintenance.
  • If README.md or docs/specs/* has drifted, prepare the needed edits and show them to the user before applying anything.
  • Do not silently refresh README.md, docs/specs/prd.md, docs/specs/blueprint.md, docs/INDEX.md, or docs/prompts/PROMPT-INDEX.md.
  • Ask once for documentation approval using a single grouped confirmation such as: Approve and apply these documentation updates?
  • Keep documentation approval separate from stale TODO deletion approval so the user can approve doc updates without approving file deletions.
  • If the user approves, apply only the approved support-doc edits and then report them.
  • If the user does not approve, leave support docs unchanged and report the remaining drift clearly.

INDEX freshness

  • Check how old docs/INDEX.md is using the last git change when available, otherwise filesystem mtime.
  • Report the exact age in days.
  • Classify freshness as:

- fresh for 0-14 days - stale for 15-30 days - very stale for over 30 days or clearly older than current TODO or journal activity

Codebase doctoring

  • Check the severity of files and areas that appear to need refactoring.
  • Use repo-native lint, typecheck, or unused-code tooling when present.
  • Otherwise use conservative heuristic scans for:

- orphaned files or modules - dead or unreachable code paths - unused exports or duplicate retired implementation paths - stale feature code that no longer appears wired into entrypoints

  • Report findings with both:

- severity: high, medium, or low - confidence: confirmed, probable, or possible

  • Never auto-delete code.
  • Do not create TODO or refactor files automatically.

Output

Return a maintenance report that includes:

  • Archive actions applied
  • Deletion approval needed
  • Journal archive status
  • Support documentation status
  • Documentation updates proposed or Documentation updates applied
  • Documentation approval needed
  • INDEX freshness
  • Refactor severity summary
  • Dead/orphan code findings
  • Recommended next action

Recommend follow-up such as cdd-index, cdd-refactor, cdd-plan, or direct cleanup work when supported by the findings, but do not create those artifacts automatically.

平台分布

Codex

36.76%
按下载量换算27

Claude

28.32%
按下载量换算21

Cursor

18.54%
按下载量换算14

Gemini CLI

8.64%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

继续浏览同类 Skills