Skip to content
Back to skills

Audit Comment Residue

ASecurity

Read-only classifier: flags residue in code comments (history narration, plan or session references, conversational asides, ticket/PR back-references, origin notes, workarounds with no link or removal condition). No edits. Use when: 'audit code comments' or report chat/ticket comments on commit/review. Not for edits: /code-tidying:remove-comments.

  • 34 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added September 2, 2026
ai-agentsgodebugging

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add melodic-software/claude-code-plugins --skill audit-comment-residue --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Audit Comment Residue?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Audit Comment Residue
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/melodic-software-audit-comment-residue/badge)](https://www.skillsdirectory.com/skills/melodic-software-audit-comment-residue)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: "Read-only classifier: flags residue in code comments (history narration, plan or session references, conversational asides, ticket/PR back-references, origin notes, workarounds with no link or removal condition). No edits. Use when: 'audit code comments' or report chat/ticket comments on commit/review. Not for edits: /code-tidying:remove-comments."
argument-hint: "[audit] [--added-since <base>] [target] [--repo <repo> ...]"
user-invocable: true
disable-model-invocation: false
allowed-tools: ["Skill"]
metadata:
  workflow-stage: review
  summary: Classify code comments for history narration and session-reference residue
---

# Audit comment residue

## Run it

Arguments: `$ARGUMENTS`

Drop one leading `audit` token from the arguments if they start with it. Then use the Skill tool to
run `/code-tidying:remove-comments audit` followed by what remains, and report what it returns. It
edits nothing and never asks; do not edit or delete a comment here.

A target form from [`${CLAUDE_PLUGIN_ROOT}/reference/target-scope.md`](../../reference/target-scope.md)
"Target forms" (`--repo`, `--repos-from`, `--owner`, `--fleet`, `--skip`, or the same request in
words) goes through with the rest of the arguments, so the audit runs once per repository as
`/code-tidying:remove-comments` "Over several repositories" says. With no target form, the audit
covers this checkout.

## Next

- The findings are agreed and ready to apply: `/code-tidying:remove-comments` on the same target.
- The surviving comments restate the code rather than narrate its past: `/code-tidying:tidy`.
- An `unjustified-workaround` finding marks a bug whose cause is unknown: `/debugging:debug`.
- An `unjustified-workaround` finding marks a known cause ready to fix: `/implementation:implement`.

## Gotchas

- A leading `audit` passed through unchanged reaches the audit action as a file target, so it is
  dropped before the call.

Files in this skill

  • SKILL.md7.5 KB
  • evals/evals.json4.4 KB
  • evals/fixtures/residue-snippet.py490 B
  • scripts/detect.sh5.8 KB
  • scripts/detect.test.sh17.3 KB
  • scripts/lib/comment-shapes.sh5.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.