Loading...
Loading...
Checks WHY-not-WHAT, density (15-20%), forbidden content, docstrings quality, actuality, legacy cleanup. Returns findings with severity, location, and recommendations.
npx skill4agent add levnikolaevich/claude-code-skills ln-613-code-comments-auditorPaths: File paths (,shared/,references/) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.../ln-*
shared/references/audit_worker_core_contract.mdcontextStoretech_stackproject_rootoutput_dirtech_stackshared/templates/audit_worker_report_template.md{output_dir}/613-code-comments.md| # | Category | What to Check |
|---|---|---|
| 1 | WHY not WHAT | Comments explain rationale, not obvious code behavior; no restating code |
| 2 | Density (15-20%) | Comment-to-code ratio within range; not over/under-commented |
| 3 | No Forbidden Content | No dates/authors; no historical notes; no code examples in comments |
| 4 | Docstrings Quality | Match function signatures; parameters documented; return types accurate |
| 5 | Actuality | Comments match code behavior; no stale references; examples runnable |
| 6 | Legacy Cleanup | No TODO without context; no commented-out code; no deprecated notes |
shared/references/audit_worker_core_contract.mdshared/references/audit_scoring.mdshared/references/audit_worker_core_contract.mdshared/templates/audit_worker_report_template.md{output_dir}/613-code-comments.mdcategory: "Code Comments"Report written: docs/project/.audit/ln-610/{YYYY-MM-DD}/613-code-comments.md
Score: X.X/10 | Issues: N (C:N H:N M:N L:N)| Issue Type | Severity |
|---|---|
| Author names, dates in comments | CRITICAL |
| Commented-out code blocks | HIGH |
| Stale/outdated comments | HIGH |
| Obvious WHAT comments | MEDIUM |
| Density deviation >5% | MEDIUM |
| Minor density deviation | LOW |
shared/references/audit_worker_core_contract.mdfile:lineshared/references/audit_worker_core_contract.md{output_dir}/613-code-comments.md