s5-audit-codebase

star 4

Audit codebase for consistency issues, anti-patterns, and missing test coverage

pgagarinov By pgagarinov schedule Updated 2/12/2026

name: s5-audit-codebase description: Audit codebase for consistency issues, anti-patterns, and missing test coverage context: fork agent: Explore argument-hint: "[focus-area]"

S5 — Codebase Audit

Audit this codebase for quality issues. Focus area: $ARGUMENTS

If no focus area is specified, perform a full audit across all categories.

Audit Categories

Each category has a detailed checklist in the checklists/ subdirectory. Read only the relevant checklist(s) based on the focus area requested.

  1. Namingchecklists/naming.md — snake_case, PascalCase, verb prefixes
  2. Importschecklists/imports.md — ordering, absolute paths, no wildcards
  3. Error Handlingchecklists/error-handling.md — specific exceptions, no bare except
  4. Type Hintschecklists/type-hints.md — annotations, modern union syntax
  5. Docstringschecklists/docstrings.md — Args/Returns/Raises sections
  6. Test Coveragechecklists/test-coverage.md — happy path, edge cases, fixtures

If $ARGUMENTS specifies a focus area (e.g., "error handling"), read only that checklist file. If no focus area, read all 6 checklists and audit everything.

Output Format

For each issue found, report:

[CATEGORY] file_path:line_number
  Issue: Description of the problem
  Suggestion: How to fix it

End with a summary table:

Category Issues Found
Naming N
Imports N
Errors N
Types N
Docs N
Tests N
Install via CLI
npx skills add https://github.com/pgagarinov/awesome-claude-code --skill s5-audit-codebase
Repository Details
star Stars 4
call_split Forks 4
navigation Branch main
article Path SKILL.md
More from Creator