Agent skill · software engineering · sickn33
codebase-audit-pre-push
Deep audit before GitHub push: removes junk files, dead code, security holes, and optimization issues. Checks every file line-by-line for production readiness.
Why this skill is useful
Adds specific patterns and checks for code quality and security that the AI wouldn't reliably generate on its own.
What it needs
About 5k tokens when loaded. Last updated 2026-08-07. 44,571 stars on the source repository.
What this skill does
Pre-Push Codebase Audit As a senior engineer, you're doing the final review before pushing this code to GitHub. Check everything carefully and fix problems as you find them. When to Use This Skill User requests "audit the codebase" or "review before push" Before making the first push to GitHub Before making a repository public Pre-production deployment review User asks to "clean up the code" or "optimize everything" Your Job Review the entire codebase file by file. Read the code carefully. Fix issues right away. Don't just note problems—make the necessary changes. Audit Process 1. Clean Up Junk Files Start by looking for files that shouldn't be on GitHub: Delete these immediately: OS files: .DSStore, Thumbs.db, desktop.ini Logs: .log, npm-debug.log, yarn-error.log Temp files: .tmp, .temp, .cache, .swp Build output: dist/, build/, .next/, out/, .cache/ Dependencies: nodemodules/, vendor/, pycache/, .pyc IDE files: .idea/, .vscode/ (ask user first), .iml, .project Backup files: .bak, old., backup., copy. Test artifacts: coverage/, .nycoutput/, test-results/ Personal junk: TODO.txt, NOTES.txt, scratch., test123. Critical - Check for secrets: .env files (should never be committed) Files containing: password, apikey, token, secret, privatekey .pem, .key, .cert, credentials.json, serviceAccountKey.json If you find secrets in the code, mark it as a CRITICAL BLOCKER. 2. Fix .gitignore Check if the .gitignore file exists and is thorough. If it’s missing or not complete, update it to include all junk file patterns above. Ensure that .env.example exists with keys but no values. 3. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills sickn33/codebase-audit-pre-push--6b0d56