cygnusfear/claude-stuff/audit
Claude Code and agent skill by cygnusfear/claude-stuff
- community
Checking that the SKILL.md file is still in the repository.
Run comprehensive codebase audit for gaps, deprecated code, TODOs, FIXMEs, architectural anti-patterns, type issues, and code smells. Use when user asks to audit code, find issues, check code quality, or identify architectural problems.
Install
npx vskill@latest install cygnusfear/claude-stuff/auditSKILL.md
Codebase Audit
Instructions
Perform a comprehensive, systematic audit of the codebase to identify quality issues, architectural problems, and technical debt.
Phase 1: Discovery & Planning
- Identify scope - Determine which files/directories to audit based on user request
- Create comprehensive file list - Use Glob to find all relevant files
- Initialize todo list - Create a todo with one item per file to audit
- Set up audit report - Create structured markdown report at
.audit/audit-report-[timestamp].md
Phase 2: Automated Analysis
Run automated tools to supplement manual review:
- TypeScript compiler diagnostics
- ESLint (if configured)
- Grep for common patterns: TODO, FIXME, HACK, XXX, @deprecated
Phase 3: Systematic File Review
For EACH file in the todo list:
- Read and analyze the file thoroughly
- Check for issues in these categories:
- Deprecations: Deprecated APIs, patterns, or code marked for removal
- TODOs/FIXMEs: Unfinished work or known issues
- Architectural anti-patterns:
- God objects/classes
- Circular dependencies
- Tight coupling
- Violation of SOLID principles
- Inconsistent patterns
- Type issues:
- Use of
anyorunknown - Missing type annotations
- Incorrect type usage
- Type casts that hide issues
- Code smells:
- Duplicated code
- Long functions/classes
- Complex conditionals
- Dead code
- Magic numbers/strings
- Poor naming
- Assign severity to each finding:
- CRITICAL: Breaks functionality, security issues, data corruption risks
- HIGH: Architectural violations, major maintainability issues
- MEDIUM: Code smells, minor anti-patterns, missing types
- LOW: Style issues, minor TODOs, cosmetic improvements
- Check for cross-file patterns - As you review, note patterns that appear across multiple files
- Update report - Add findings to the structured report
- Mark file as completed in todo list
Phase 4: Cross-File Analysis
After reviewing all individual files:
- Identify systemic patterns - Issues that appear across multiple files
- Architectural assessment - Overall system architecture health
- Dependency analysis - Check for circular dependencies or coupling issues
- Consistency check - Verify naming conventions, patterns are followed
Phase 5: Validation & Summary
- Run final checks:
- TypeScript type check (
tsc --noEmitor similar) - Linting (
npm run lintor similar) - Build process if applicable
- Generate executive summary:
- Total issues by category
- Total issues by severity
- Top 10 most critical findings
Audit Report Structure
Critical Principles
- NEVER skip files - Audit every file in the todo list
- NEVER edit files during audit - This is read-only analysis
- NEVER provide recommendations - Only identify and report problems
- NEVER create action plans - That's a separate responsibility
- DO use memory/pinboard - Store context as you discover patterns
- DO be thorough - Think critically about each file
- DO be objective - Report what you find, not what to do about it
- DO track progress - Keep todo list updated in real-time
- DO find all relevant files - If you discover new files that should be audited, add them to the todo
Dynamic File Discovery
If during audit you discover additional files that should be reviewed:
- Add them to the todo list immediately
- Continue systematic review
- Ensure no stone is left unturned
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/audit/SKILL.md
Popularity
- Repository stars
- 3
- Repository forks
- 1
- 7-day trend score
- 7
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 9 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cygnusfear/claude-stuff/audit)