A documentation task may expand into deleting commented-out code
Source references: 4The stated purpose is recording documentation and decisions, but the final verification checklist requires that no commented-out code remain. That is a source-code cleanup instruction, not merely documentation, and it is not limited to files explicitly selected by the user.
If an agent applies the checklist across the repository, it could remove temporarily retained implementations, debugging fragments, or migration references, creating lasting file changes beyond what a documentation task implies. Version control may permit recovery, but uncommitted material could be lost.
The Skill is primarily for documentation and ADRs, but its active verification checklist requires that no commented-out code remain, and an earlier instruction says “Delete it.” If applied repository-wide, an agent could remove source-file content when the user only requested documentation; that content might include retained examples, temporary diagnostics, or uncommitted user work. Users can ask that this check only report findings and that deletion require explicit authorization for named files.
---name: documentation-and-adrsdescription: Records decisions and documentation. Use when making architectural decisions, changing public APIs, shipping features, or when you need to record context that future engineers and agents will need to understand the codebase.---Show 3 other places
After documenting:- [ ] ADRs exist for all significant architectural decisions- [ ] README covers quick start, commands, and architecture overview- [ ] API functions have parameter and return type documentation- [ ] Known gotchas are documented inline where they matter- [ ] No commented-out code remains- [ ] Rules files (CLAUDE.md etc.) are current and accurate// Don't leave commented-out code// const oldImplementation = () => { ... } ← Delete it, git has history```## VerificationAfter documenting:- [ ] ADRs exist for all significant architectural decisions- [ ] README covers quick start, commands, and architecture overview- [ ] API functions have parameter and return type documentation- [ ] Known gotchas are documented inline where they matter- [ ] No commented-out code remains- [ ] Rules files (CLAUDE.md etc.) are current and accurate