
Code Auditor
- 284 installs
- 656 repo stars
- Updated July 25, 2026
- mhattingpete/claude-skills-marketplace
code-auditor is a Claude Code skill that runs structured pre-merge codebase audits across architecture, quality, security, performance, testing, and maintainability for developers who need PR approval or release candidat
About
code-auditor is a Claude Code skill from claude-skills-marketplace that performs comprehensive codebase analysis before merge or release. The skill evaluates six areas documented in its README: architecture and design, code quality, security, performance, testing, and maintainability—including style issues, complexity hotspots, dead code, test coverage gaps, and security smells. Developers invoke it when triggers like “audit the code,” “find technical debt,” or “security audit” appear, or before PR approval on large diffs. Unlike a single-purpose linter, code-auditor synthesizes a holistic health report an agent or reviewer can prioritize. Use it on legacy imports, pre-release hardening, or when stakeholders request a structured codebase health check without standing up a separate audit toolchain.
- Structured audit checklists
- Complexity and smell detection
- Test coverage gap flags
- Security and dependency risks
- Actionable review comments
Code Auditor by the numbers
- 284 all-time installs (skills.sh)
- +6 installs in the week ending Aug 4, 2026 (Skillselion tracking)
- Ranked #286 of 1,352 Code Review & Quality skills by installs in the Skillselion catalog
- Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/mhattingpete/claude-skills-marketplace --skill code-auditorAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 284 |
|---|---|
| repo stars | ★ 656 |
| Last updated | July 25, 2026 |
| Repository | mhattingpete/claude-skills-marketplace ↗ |
How do you audit codebase quality before merging a PR?
Run structured pre-merge code audits—style, complexity, dead code, test gaps, and security smells—across repos before PR approval or release candidate sign-off.
Who is it for?
Tech leads and reviewers who want a six-area pre-merge health report spanning quality, security, performance, and test coverage.
Skip if: Teams needing only a single linter rule fix or formal penetration testing instead of a broad static codebase review.
When should I use this skill?
The user asks to audit code quality, find technical debt, review the codebase, or check security and test coverage before merge.
What you get
Structured audit report covering architecture, code quality, security, performance, testing gaps, and maintainability findings.
- codebase health report
- technical debt findings
- security and test gap summary
By the numbers
- Analyzes 6 codebase areas: architecture, quality, security, performance, testing, maintainability
Files
Code Auditor
Comprehensive codebase analysis covering architecture, code quality, security, performance, testing, and maintainability.
When to Use
- "audit the code"
- "analyze code quality"
- "check for issues"
- "review the codebase"
- "find technical debt"
- "security audit"
- "performance review"
What It Analyzes
1. Architecture & Design
- Overall structure and organization
- Design patterns in use
- Module boundaries and separation of concerns
- Dependency management
- Architectural decisions and trade-offs
2. Code Quality
- Complexity hotspots (cyclomatic complexity)
- Code duplication (DRY violations)
- Naming conventions and consistency
- Documentation coverage
- Code smells and anti-patterns
3. Security
- Common vulnerabilities (OWASP Top 10)
- Input validation and sanitization
- Authentication and authorization
- Secrets management
- Dependency vulnerabilities
4. Performance
- Algorithmic complexity issues
- Database query optimization
- Memory usage patterns
- Caching opportunities
- Resource leaks
5. Testing
- Test coverage assessment
- Test quality and effectiveness
- Missing test scenarios
- Testing patterns and practices
- Integration vs unit test balance
6. Maintainability
- Technical debt assessment
- Coupling and cohesion
- Ease of future changes
- Onboarding friendliness
- Documentation quality
Approach
1. Explore using Explore agent (thorough mode) 2. Identify patterns with Grep and Glob 3. Read critical files for detailed analysis 4. Run static analysis tools if available 5. Synthesize findings into actionable report
Thoroughness Levels
- Quick (15-30 min): High-level, critical issues only
- Standard (30-60 min): Comprehensive across all dimensions
- Deep (60+ min): Exhaustive with detailed examples
Output Format
# Code Audit Report
## Executive Summary
- Overall health score
- Critical issues count
- Top 3 priorities
## Findings by Category
### Architecture & Design
#### 🔴 High Priority
- [Finding with file:line reference]
- Impact: [description]
- Recommendation: [action]
#### 🟡 Medium Priority
...
### [Other categories]
## Prioritized Action Plan
1. Quick wins (< 1 day)
2. Medium-term improvements (1-5 days)
3. Long-term initiatives (> 5 days)
## Metrics
- Files analyzed: X
- Lines of code: Y
- Test coverage: Z%
- Complexity hotspots: NTools Used
- Task (Explore agent): Thorough codebase exploration
- Grep: Pattern matching for issues
- Glob: Find files by type/pattern
- Read: Detailed file analysis
- Bash: Run linters, coverage tools
Success Criteria
- Comprehensive coverage of all six dimensions
- Specific file:line references for all findings
- Severity/priority ratings (Critical/High/Medium/Low)
- Actionable recommendations (not just observations)
- Estimated effort for fixes
- Both quick wins and long-term improvements
Integration
- feature-planning: Plan technical debt reduction
- test-fixing: Address test gaps identified
- project-bootstrapper: Set up quality tooling
Configuration
Can focus on specific areas:
- Security-only audit
- Performance-only audit
- Testing-only assessment
- Quick architecture review
Related skills
How it compares
Use code-auditor for holistic pre-merge health synthesis; use dedicated security or perf skills when a single dimension needs deep specialist review.
FAQ
What areas does code-auditor analyze?
code-auditor analyzes six areas: architecture and design, code quality, security, performance, testing, and maintainability. Developers run it before PR approval to catch debt, dead code, and coverage gaps.
When should developers invoke code-auditor?
code-auditor fits pre-merge and pre-release workflows when users ask to audit code, find technical debt, or run a security review. The skill produces a structured health report across quality and testing dimensions.