Use only when a developer explicitly asks to clean, prune, tidy, or organize DeepChat SDD documentation after implementation and validation. Scans docs/features, docs/issues, and docs/architecture; prefers multi-agent review when available; removes completed issue docs when a linked GitHub issue is closed or implementation and validation evidence proves the bug no longer exists, drops stale plans and legacy task files from completed feature or architecture goals, and deletes obsolete feature or architecture docs.
Capabilities
Rule
Run this skill only when the developer explicitly asks for SDD…
Cleanup Rules
GitHub Checks
Use gh only when it is installed and authenticated
Never Delete
Getting started
Full instructionsInstall the skill, then ask your AI tool for the task in plain words. The full SKILL.md below shows what it covers.
Instructions: SKILL.mdv1.0.1
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
- Inspect
docs/spec-driven-dev.md,docs/README.md, andgit status. - Inventory
docs/features,docs/issues, anddocs/architecturewithfindorrg. - 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
- one pass for
- Apply only changes with clear evidence. Keep a concise keep/delete/update list for handoff.
- Validate references after edits.
Cleanup Rules
- Completed feature or architecture goal: delete
plan.mdand any legacytasks.md; keepspec.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.mdsteps 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.
Explore more skills
Browse all- Deepchat SddUse before substantial DeepChat code, configuration, documentation, test, build, feature, issue, refactor, or…
- Deepchat ReleasePrepare and publish DeepChat releases in this repository. Use when Codex needs to bump the app version, update…
- Deepchat SettingsDeepChat app settings modification (DeepChat 设置/偏好) skill. Activate ONLY when the user explicitly asks to change…
- memcodeUse the enabled Memcode MCP connection to explicitly save approved facts and recall relevant memories across DeepChat…
- MCP BuilderGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external…
- Infographic Syntax CreatorGenerate AntV Infographic syntax outputs. Use when asked to turn user content into the Infographic DSL (template…
Security
Reviews (0)
More from deepchat
View source →Frequently asked questions about deepchat-sdd-cleanup
What does the deepchat-sdd-cleanup skill do?
Use only when a developer explicitly asks to clean, prune, tidy, or organize DeepChat SDD documentation after implementation and validation. Scans docs/features, docs/issues, and docs/architecture; prefers multi-agent review when available; removes completed issue docs when a linked GitHub issue is closed or implementation and validation evidence proves the bug no longer exists, drops stale plans and legacy task files from completed feature or architecture goals, and deletes obsolete feature or architecture docs. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the deepchat-sdd-cleanup skill?
Run `npx @skills-hub-ai/cli install deepchat-sdd-cleanup` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/deepchat-sdd-cleanup/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does deepchat-sdd-cleanup work with?
deepchat-sdd-cleanup runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the deepchat-sdd-cleanup skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use deepchat-sdd-cleanup after installing it?
In Claude Code, type `/deepchat-sdd-cleanup` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the deepchat-sdd-cleanup skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.
Badge for your README
Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.
[](https://skills-hub.ai/skills/deepchat-sdd-cleanup)<a href="https://skills-hub.ai/skills/deepchat-sdd-cleanup"><img src="https://skills-hub.ai/api/badges/skill/deepchat-sdd-cleanup" alt="Install on Skills Hub"></a>More options in the badge docs.