Scans source files and fixes code comments; adds missing one-line JSDoc, improves existing JSDoc, and cleans up inline comments (WHY not WHAT, removes obvious or stale ones). Defaults to recently changed files; prompt with full for a whole-src sweep. Use when asked to clean up, fix, or standardize comments.
Runs checks and tests, then fixes all warnings, errors, and failing tests, consulting recent git changes to decide whether the code under test or the test itself is wrong. Use proactively after code changes to confirm everything still passes.
Analyzes the codebase for coding-standards violations (file/function length, nesting depth, parameter counts, TODO/FIXME markers) using the scopewalker tools, then refactors to fix them while keeping checks and tests green. Use proactively after significant code changes or for a full standards audit.