codebase-audit-pre-push

Audit Python codebases for security vulnerabilities, dead code, and optimization issues before pushing to GitHub.

Updated Aug 19, 2025
One-click install
npx skills add https://github.com/hoainam183/GR --skill codebase-audit-pre-push-hoainam183
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-audit-pre-push
Source: https://github.com/hoainam183/GR/tree/main/src/RAG_v2/frontend/chat-companion/.agent/skills/codebase-audit-pre-push
Command: npx skills add https://github.com/hoainam183/GR --skill codebase-audit-pre-push-hoainam183

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates a comprehensive pre-push code audit, ensuring security, quality, and performance before code is pushed to GitHub.

Core Features & Use Cases

  • Security Checks: Identifies and removes security vulnerabilities like hardcoded secrets.
  • Code Quality: Ensures clean code, removes dead code, and improves readability.
  • Performance Optimization: Checks for scalable database queries and efficient API design.
  • Use Case: Before deploying a new feature or before making a repository public, use this Skill to ensure your codebase is ready for production.

Quick Start

Run the codebase-audit-pre-push skill to audit your codebase before pushing to GitHub.

Frequently Asked Questions about codebase-audit-pre-push

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate a pre-push code audit for security vulnerabilities and dead code?

Automate a pre-push code audit by running a Python-based analysis script that scans your codebase to identify security holes, remove dead code, and optimize performance before pushing to GitHub.

What does a comprehensive code audit check for before deploying to production?

A comprehensive code audit checks for unnecessary files, dead code, hardcoded secrets, security vulnerabilities, and optimization issues like scalable database queries to ensure production readiness.

Can I use Python scripts to check for hardcoded secrets and optimize code quality before a Git push?

Yes, you can use Python scripts to perform deep code analysis, identify and remove security vulnerabilities like hardcoded secrets, and clean up dead code to improve overall code quality.

What is the best way to ensure codebase performance readiness before making a repository public?

The best way to ensure performance readiness is to run an automated audit that checks for scalable database queries, efficient API design, and removes unnecessary files before pushing your code.

Does an automated code audit remove unnecessary files and check for scalable database queries?

Yes, an automated code audit removes unnecessary files, eliminates dead code, and checks for scalable database queries and efficient API design to ensure your codebase is optimized.