跳到主要内容
知仓学习社ZHICANG

deepchat-sdd-cleanup

Use only when a developer explicitly asks to clean, prune, tidy, or organize DeepChat SDD documentation after implementation and validation. Scans d…

不碰外部(只输出文字)无严重或高危命中ThinkInAIXYZ/deepchat

它会碰到什么

扫了多少2 个文本文件,3 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

DeepChat SDD Cleanup

Rule

Run this skill only when the developer explicitly asks for SDD cleanup, documentation tidying, pruning,

or removal of completed/stale SDD files. Do not run it as an automatic final step of ordinary

feature, bug, architecture, or release work.

Workflow

  1. Inspect docs/spec-driven-dev.md, docs/README.md, and git status.
  2. Inventory docs/features, docs/issues, and docs/architecture with find or rg.
  3. Prefer parallel sub-agent review when available:
  • one pass for docs/features
  • one pass for docs/issues
  • one pass for docs/architecture
  • optional verifier pass over proposed deletes
  1. Apply only changes with clear evidence. Keep a concise keep/delete/update list for handoff.
  2. Validate references after edits.

Cleanup Rules

  • Completed feature or architecture goal: delete plan.md and any legacy tasks.md; keep spec.md

only when it still defines a maintained contract, regression guard, platform policy, or

architecture decision.

  • Completed issue goal: delete the issue folder when a linked GitHub issue is closed or the

implementation and validation evidence prove the bug no longer exists.

  • Removed feature: delete its folder when the product/code path is gone and the spec has no reusable

decision record.

  • Obsolete architecture: delete its folder when the module was fully replaced and the doc no longer

describes a maintained boundary; otherwise update the spec.

  • Historical feature spec affected by an architecture refactor: update the retained spec instead of

leaving contradictory docs.

GitHub Checks

Use gh only when it is installed and authenticated. For linked issue docs, verify closure with

gh issue view <number> --json state,url,title when possible. If gh is unavailable, do not delete

solely because a GitHub link looks old.

Never Delete

  • Active work with unchecked plan.md steps or legacy tasks.
  • Any document containing unresolved [NEEDS CLARIFICATION].
  • A document referenced by docs/README.md, docs/ARCHITECTURE.md, docs/FLOWS.md, or AGENTS

instructions unless the reference is updated in the same change.

  • Runtime baselines or machine-read files unless the cleanup request explicitly covers them.

Validation

  • Run rg -n "plan.md|tasks.md|docs/archives|NEEDS CLARIFICATION" docs AGENTS.md .agents/skills

and inspect any stale policy references.

  • Run git status --short.
  • For Markdown-only cleanup, formatting/lint commands are optional unless repository instructions or

touched generated files require them.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 6,326
本站分层T1
该仓技能数23
原文件路径.agents/skills/deepchat-sdd-cleanup/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 23 个技能