/SKILL.md
Removes redundant, obvious, or "AI-flavored" comments from code to improve signal-to-noise ratio. Use when the user asks to "clean up comments", "remove AI comments", or makes a general request to refactor verbose code documentation.
npx skillsauth add chambersxdu/enhance-comment remove-ai-commentsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill guides the removal of low-value comments often generated by AI coding assistants. These comments typically narrate the code structure, state the obvious, or use verbose "tutorial style" explanations that clutter professional codebases.
Identify and remove comments that fall into these categories:
Comments that announce the start of a standard coding construct.
// Begin function// Loop through the array// Define variables// Initialize class// End of if statementComments that merely translate the code line into English without adding context.
i += 1 // Increment ireturn result // Return the resultprint(error) // Print the errorNumbered steps that explain standard logic flows.
// Step 1: Get the data// Step 2: Validation// Step 3: Return responseEmpty or content-free comments left over from templates.
// TODO: implementation (only if the implementation is already there)/* Your code here */Do NOT remove:
WARNING, CAUTION, or notes about side effects.TODO or FIXME items (unless the user specifically asks to clear them).python scripts/comment_density.py <file> (if available) to gauge initial density.Before (AI Style):
# Import the datetime library
import datetime
# Function to get the current date
def get_date():
# Step 1: Get today's date
today = datetime.date.today()
# Step 2: Return it
return today
After (Cleaned):
import datetime
def get_date():
return datetime.date.today()
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.
development
End-to-end Parallels smoke, upgrade, and rerun workflow for OpenClaw across macOS, Windows, and Linux guests. Use when Codex needs to run, rerun, debug, or interpret VM-based install, onboarding, gateway smoke tests, latest-release-to-main upgrade checks, fresh snapshot retests, or optional Discord roundtrip verification under Parallels.