skills/codebase-audit-pre-push/SKILL.md
--- name: codebase-audit-pre-push description: Deep audit before GitHub push: removes junk files, dead code, security holes, and optimization issues. Checks every file line-by-line for production readiness. category: Document Processing source: antigravity tags: [javascript, typescript, node, api, ai, design, document, image, security, rag] url: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/codebase-audit-pre-push --- # Pre-Push Codebase Audit As a senior engineer, y
npx skillsauth add ranbot-ai/awesome-skills skills/codebase-audit-pre-pushInstall 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.
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.
Review the entire codebase file by file. Read the code carefully. Fix issues right away. Don't just note problems—make the necessary changes.
Start by looking for files that shouldn't be on GitHub:
Delete these immediately:
.DS_Store, Thumbs.db, desktop.ini*.log, npm-debug.log*, yarn-error.log**.tmp, *.temp, *.cache, *.swpdist/, build/, .next/, out/, .cache/node_modules/, vendor/, __pycache__/, *.pyc.idea/, .vscode/ (ask user first), *.iml, .project*.bak, *_old.*, *_backup.*, *_copy.*coverage/, .nyc_output/, test-results/TODO.txt, NOTES.txt, scratch.*, test123.*Critical - Check for secrets:
.env files (should never be committed)password, api_key, token, secret, private_key*.pem, *.key, *.cert, credentials.json, serviceAccountKey.jsonIf you find secrets in the code, mark it as a CRITICAL BLOCKER.
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.
Look through each code file and check:
Dead Code (remove immediately):
return, inside if (false))Code Quality (fix issues as you go):
data, info, temp, thing → rename to be descriptiveif (status === 3) → extract to named constantconsole.log, print(), debuggerany: add proper types or explain why any is used=== instead of == in JavaScriptLogic Issues (critical):
.catch() or try/catchdefault in switch statementsSecrets: Search for hardcoded passwords, API keys, and tokens. They must be in environment variables.
Injection vulnerabilities:
exec() with user-provided inputinnerHTML or dangerouslySetInnerHTML with user dataAuth/Authorization:
Data exposure:
Dependencies:
npm audit or an equivalent toolDatabase:
SELECT *: specify columnsAPI Design:
Code:
Organization:
Separation of concerns:
testing
Fix SEO indexing issues, crawl budget problems, and Search Console coverage errors for Next.js apps. Covers canonical tags, noindex audits, sitemap health, static rendering, and internal linking.
data-ai
Analyze AI disruption pressure across a business, map competitive exposure, and produce a 90-day defensive action plan.
tools
--- name: longbridge description: 125+ agent skills for Longbridge Securities — real-time quotes, charts, fundamentals, portfolio analysis, options, and more for HK/US/A-share/SG markets. Trilingual: Simplified Chinese, Traditional category: AI & Agents source: antigravity tags: [api, mcp, claude, ai, agent, security, cro] url: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/longbridge --- # Longbridge ## Overview Longbridge is the official skill collection for Longbr
tools
Design, debug, and harden GitHub Actions CI/CD workflows, including reusable workflows, matrix builds, self-hosted runners, OIDC authentication, caching, environments, secrets, and release automation.