In short.
DeepChat SDD Cleanup is an AI assistant skill for DeepChat contributors cleaning development documentation, but it can delete files and relies on accurate interpretation of project evidence. It covers feature, issue and architecture documents, requires an explicit cleanup request, and protects active work, unresolved questions and maintained references. The supplied files describe its intended behavior; nothing was executed, so deletion accuracy, reference validation and assistant compatibility remain unassessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes both complete files in .agents/skills/deepchat-sdd-cleanup, SKILL.md and agents/openai.yaml, plus the supplied repository-level LICENSE at revision ef05d5368f8680d0f532eb55a0c732d7a7a24518. It excludes the wider DeepChat application, referenced repository policies, feature and issue documents, architecture records and live GitHub issue states. No commands, installation, assistant invocation, edits or validation were executed.
The overview
Identity
The resource is the deepchat-sdd-cleanup skill in ThinkInAIXYZ/deepchat, located at .agents/skills/deepchat-sdd-cleanup. Its two supplied files are SKILL.md, which defines the cleanup procedure, and agents/openai.yaml, which supplies the display name, short description and default prompt.
The original folder address is [https://github.com/ThinkInAIXYZ/deepchat/tree/dev/.agents/skills/deepchat-sdd-cleanup]. This is an instruction-based assistant skill; the supplied folder contains no standalone cleanup executable.
Assessment
Its strongest fit is a DeepChat repository whose documentation has accumulated completed plans, resolved issue records or architecture descriptions that no longer match maintained code. The rules help distinguish documents with continuing value from temporary implementation paperwork.
The main trade-off is judgment: an assistant must determine whether work is complete, a bug is resolved or a specification still protects a maintained contract. The skill provides criteria and safeguards, but the supplied material contains no results demonstrating how reliably an assistant applies them.
Users
The intended users are developers and maintainers working with DeepChat's specification-driven development documents. They need enough project knowledge to evaluate implementation evidence, validation evidence and the continuing purpose of a specification.
A beginner can use the rules to understand what deserves retention, but an experienced maintainer should review decisions that remove specifications or architecture records. Applying the skill to another repository would require adapting its DeepChat-specific paths and policies.
Capabilities
The skill directs an assistant to inventory docs/features, docs/issues and docs/architecture, then produce a concise keep/delete/update list. For completed feature or architecture goals, it removes plan.md and legacy tasks.md while retaining spec.md when that file still defines maintained behavior, regression protection, platform policy or an architecture decision.
It permits removal of issue folders when a linked GitHub issue is closed or implementation and validation evidence proves the bug no longer exists. It also covers removed features, replaced architecture and updates to retained feature specifications affected by architecture refactors.
Using it
Requirements
The procedure assumes access to the DeepChat checkout, its documentation, Git working-tree state and an assistant environment capable of reading files and making edits. It begins with docs/spec-driven-dev.md, docs/README.md and git status. Inventory uses find or rg, and reference validation explicitly calls for rg.
GitHub CLI checks are conditional: gh must be installed and authenticated. Parallel sub-agent review is preferred when available, with separate passes for feature, issue and architecture documents and an optional deletion verifier. No model requirement, supported assistant version or minimum tool version is specified.
Mechanism
The assistant reads repository policies and working-tree state, inventories the three documentation areas, evaluates proposed changes against the cleanup rules, applies changes supported by clear evidence and validates references. For linked issues, the prescribed check is gh issue view <number> --json state,url,title when available.
The deletion safeguards protect active work with unchecked plan steps or legacy tasks, documents containing unresolved [NEEDS CLARIFICATION], and referenced documents unless their references are updated in the same change. Runtime baselines and machine-read files require explicit inclusion in the cleanup request. These are instructions for the assistant to follow; no enforcement mechanism is supplied.
Setup
The captured resource already uses the .agents/skills/deepchat-sdd-cleanup layout, with assistant-interface metadata under agents/openai.yaml. Installation commands, discovery behavior and compatibility across assistant hosts are not documented in these files.
Once the skill is available to an assistant, its documented trigger is an explicit request to clean, prune, tidy or organize DeepChat SDD documentation. Both files restrict activation to that request. SKILL.md says it must not become an automatic finishing step for routine feature, bug, architecture or release work.
Example
An illustrative request is: Use $deepchat-sdd-cleanup to tidy DeepChat SDD documentation after implementation and validation, and provide the keep/delete/update list.
Suppose a feature is complete and its spec.md still defines maintained behavior. The documented outcome would be removal of its completed plan.md and legacy tasks.md, retention of spec.md, and correction of affected references. A folder containing unresolved [NEEDS CLARIFICATION] would remain protected. This is a hypothetical application of the rules; no cleanup was executed.
Assessment & evidence
Limitations
The rules are tied to DeepChat's document structure and depend on project policies that were not supplied here. There are no included execution results, deletion-accuracy measurements or demonstrations of broken-reference detection. Compatibility and effectiveness remain unassessed.
A closed GitHub issue is an allowed deletion condition, but closure alone does not explain whether a document retains useful context. The reference-validation search targets named patterns and cannot establish that every remaining statement is accurate. No automated rollback or deterministic deletion engine is described.
Reasoning
The retention rules provide a useful basis for reducing documentation clutter while preserving maintained contracts and architecture decisions. Requiring an explicit request also gives the developer control over when deletion becomes part of the task.
The expected benefit is inferred from those rules. It depends on the quality of the assistant's evidence review and its understanding of document relationships. Reviewing the proposed changes and their rationale is therefore especially valuable when a specification or architecture folder would disappear.
Alternatives
The supplied material names no competing skills or products, so comparative features, prices and effectiveness are unknown.
A practical alternative inferred from its checklist is a maintainer-led cleanup using the same policy review, documentation inventory, issue checks and reference searches. This can suit occasional work or environments without skill support, although the same evidence and retention judgments remain necessary.
Evidence
The complete skill definition is available at [https://raw.githubusercontent.com/ThinkInAIXYZ/deepchat/ef05d5368f8680d0f532eb55a0c732d7a7a24518/.agents/skills/deepchat-sdd-cleanup/SKILL.md]. Its interface metadata is at [https://raw.githubusercontent.com/ThinkInAIXYZ/deepchat/ef05d5368f8680d0f532eb55a0c732d7a7a24518/.agents/skills/deepchat-sdd-cleanup/agents/openai.yaml]. These files establish the intended behavior and invocation.
The repository licence is at [https://raw.githubusercontent.com/ThinkInAIXYZ/deepchat/ef05d5368f8680d0f532eb55a0c732d7a7a24518/LICENSE]. Repository policy documents, actual cleanup candidates, linked issue states and execution results were not supplied, so their contents and outcomes are unknown.
Access & freshness
Costs
The files state no resource price, assistant subscription requirement, model choice, token consumption or runtime estimate. Total operating cost is unknown. Optional parallel review introduces additional agent work, but its cost and benefit are unmeasured.
The supplied Apache 2.0 licence grants rights without a licence fee. That does not establish the cost of an assistant host, model provider or other services used during cleanup.
Rights
The supplied repository LICENSE is Apache License 2.0 and includes a 2025 ThinkInAIXYZ copyright notice. It permits reproduction, modification and redistribution under its conditions. Neither selected skill file supplies a separate licence.
Redistribution requires a copy of the licence, prominent notices on modified files, retention of applicable source notices and relevant NOTICE attributions if such a file accompanies the work. Additional NOTICE contents are not established by the supplied material. The licence includes warranty disclaimers and does not grant general trademark permission.
Freshness
The supplied snapshot was captured on 2026-11-16 at 01:15:55.267 UTC and pins all three files to revision ef05d5368f8680d0f532eb55a0c732d7a7a24518. The original folder address follows the dev branch, whose contents can change.
The capture time identifies this snapshot; it does not establish the skill's publication date or last modification date. Subsequent changes, current branch contents and compatibility with current assistant releases are unknown.
Actions
Before use, confirm that the checkout follows the referenced DeepChat documentation policies and that the assistant can discover the skill. Make the cleanup request explicit and identify any runtime baselines or machine-read files that are intentionally included.
Review the keep/delete/update list and resulting diff, especially the evidence supporting issue-folder removal and retained specifications. Check that references are updated alongside deletions. The prescribed final validation searches docs, AGENTS.md and .agents/skills for plan.md, tasks.md, docs/archives and NEEDS CLARIFICATION, followed by git status --short. These actions are recommendations and documented steps; none was performed here.
