Skill / SKILL.md

Code Docs Cleanup

grimoire-rs/grimoire

Clause-by-clause procedure for shortening and cleaning up source-code comments without losing a guard, the comment that says why a non-obvious line must stay as it is and what breaks if it changes. Use when someone asks to shorten, trim or clean up comments, says a file has too many or overly verbose comments or is over-commented, cut comment density or comment bloat, split an essay comment or an over-long doc comment or docstring, move design rationale out of code into a decision record, remove plan, work-package, review-round or decision IDs from comments, delete comments that restate the code, bring a file under the code-docs length caps, or prepare a file or package for the code-docs comment ratchet. Not for writing the comment standards, which the code-docs rule carries, not for --help, JSON Schema, MCP tool descriptions or other text that renders to users, and not for user-facing documentation pages, which the docs-quality rules cover.
3 views 17 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Clause-by-clause procedure for shortening and cleaning up source-code comments without losing a guard, the comment that says why a non-obvious line must stay as it is and what breaks if it changes. Use when someone asks to shorten, trim or clean up comments, says a file has too many or overly verbose comments or is over-commented, cut comment density or comment bloat, split an essay comment or an over-long doc comment or docstring, move design rationale out of code into a decision record, remove plan, work-package, review-round or decision IDs from comments, delete comments that restate the code, bring a file under the code-docs length caps, or prepare a file or package for the code-docs comment ratchet. Not for writing the comment standards, which the code-docs rule carries, not for --help, JSON Schema, MCP tool descriptions or other text that renders to users, and not for user-facing documentation pages, which the docs-quality rules cover.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/grimoire-rs/grimoire' skill-source

Use the complete skill-source/.agents/skills/code-docs-cleanup directory with your client’s skill installer.

  • .agents/skills/code-docs-cleanup

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

  • .claude/skills/code-docs-cleanup Claude Code

    main · SKILL.md

    Open installation source

    Client installation directory present in source repository

Source directory .agents/skills/code-docs-cleanup

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
438d12ead9fda742f0a29faa9430ecd130ce37be93c9a869db72016bc187f344
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills