skills/audit/SKILL.md
Audit codebases for security issues, code quality problems, and hardcoded secrets. Scans Python and JavaScript files for API keys, credentials, and anti-patterns. Fixes issues and commits with structured messages. Use when asked to audit, scan for secrets, check security, or review code quality.
npx skillsauth add nhouseholder/nicks-claude-code-superpowers auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Systematic codebase audit for security, quality, and hygiene issues.
Scan for hardcoded API keys, tokens, passwords, and credentials using the Grep tool (not bash grep):
Use the Grep tool with pattern (api_key|apikey|api-key|secret|password|token|credential|auth)\s*[=:]\s*['"][^'"]{8,} and glob *.{py,js,jsx,ts,tsx,env} to search the codebase.
Also check for:
https://user:pass@...)AKIA...)-----BEGIN).env files committed to gitFor each secret found:
os.environ (Python) or process.env (JS).env.example with a placeholder.env is in .gitignoreScan for common anti-patterns:
console.log debugging statements left in production codeprint() statements that should be logginggit add <fixed_files>
git commit -m "security: remove hardcoded keys, move to env vars"
Or for quality fixes:
git commit -m "cleanup: remove debug statements and unused imports"
Do not auto-commit unless the user explicitly requested it.
Output a summary:
AUDIT REPORT
============
Files scanned: X
Secrets found: Y (Z fixed)
Quality issues: N
Commits made: M
Remaining items requiring manual review:
- [list any that couldn't be auto-fixed]
This skill works well in headless mode for batch processing:
claude -p "Audit all Python files for hardcoded API keys, fix any found, and commit with message 'security: remove hardcoded keys'" \
--allowedTools "Read,Edit,Bash,Grep" > audit_results.log 2>&1
tools
Unified context management and session continuity skill. Combines total-recall, strategic-compact, /ledger, and session continuity. Runs in background to preserve critical context across compaction and sessions.
tools
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
tools
Suggest /ultraplan for complex planning tasks on Claude Code CLI (2.1.91+ only). Research preview.
tools
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.