Complete AI TrainingYourJobSkills for your job

Skills / development

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.

newIT & Software Development

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: .DS_Store, 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: node_modules/, vendor/, __pycache__/, *.pyc
  • IDE files: .idea/, .vscode/ (ask user first), *.iml, .project
  • Backup files: .bak, _old., _backup., _copy.*
  • Test artifacts: coverage/, .nyc_output/, test-results/
  • Personal junk: TODO.txt, NOTES.txt, scratch., test123.

Critical - Check for secrets:

  • .env files (should never be committ

Subscribers only

The full skill, its 1 bundled files and every download is included with every paid Complete AI plan.

Details

Sourcecommunity
License
Risk labelsafe ("critical" means the skill may run commands or touch files — read before use)
FilesSKILL.md
Added2026-03-05

Related skills

agent-harness-fault-injection

Use when an agent workflow needs deterministic recovery evidence for sandbox, MCP/tool, worker, checkpoint, memory, or orchestration failures.

agents-md

Create, revise, or audit AGENTS.md files from repository evidence, verified commands, and correctly scoped instructions without overwriting maintainer intent.

agenttrace-session-audit

Audit local AI coding-agent sessions with agenttrace for cost, tool failures, latency, anomalies, health, diffs, and CI gates.

api-endpoint-builder

Builds production-ready REST API endpoints with validation, error handling, authentication, and documentation. Follows best practices for security and scalability.

api-rate-limit-handler

Implement bounded, idempotency-aware API throttling, backoff, and retry handling for 429 and transient 5xx responses.

arm-cortex-expert

Senior embedded software engineer specializing in firmware and driver development for ARM Cortex-M microcontrollers (Teensy, STM32, nRF52, SAMD).