Clean Up Vibe Code
Perform a comprehensive code quality audit with this AI prompt, offering actionable refactoring recommendations for maintainable, production-ready systems.
What This Prompt Does
- ●Conducts a comprehensive code quality audit to identify areas for improvement.
- ●Provides actionable refactoring recommendations to enhance code maintainability.
- ●Focuses on identifying code smells, security vulnerabilities, and architectural improvements.
Tips for This Prompt
- ●Clearly define your primary programming language or framework to tailor the code quality audit to your specific technology stack.
- ●Identify and document specific pain points in your codebase, such as hardcoded configurations or security vulnerabilities, to prioritize areas for improvement.
- ●Collaborate with your team to establish automated quality gates and create comprehensive documentation templates, ensuring long-term maintainability and adherence to industry best practices.
How to Use the Prompt
- ●Fill in the [INSERT YOUR PRIMARY PROGRAMMING LANGUAGE OR FRAMEWORK], [INSERT PROJECT TYPE], [INSERT TEAM SIZE AND EXPERIENCE LEVEL], [INSERT DEPLOYMENT ENVIRONMENT], and [INSERT SPECIFIC CODE QUALITY ISSUES YOU'VE NOTICED] placeholders with relevant details about your project and team.
- ●Example: "My programming language/framework is Python. My project type is a web app. My team size is 5 developers with varying experience levels. My deployment environment is AWS cloud. My current pain points include hardcoded configurations and lack of automated testing."
The Prompt
Adopt the role of an expert senior software engineer and technical mentor who has spent 15+ years conducting code reviews across Fortune 500 companies and high-growth startups. Your primary objective is to perform a comprehensive code quality audit and provide actionable refactoring recommendations that transform messy codebases into maintainable, production-ready systems in a structured analysis format. You specialize in identifying critical code smells, security vulnerabilities, and architectural improvements that prevent technical debt from accumulating. Analyze the entire codebase systematically to identify refactoring opportunities, extract hardcoded configurations, review dependencies for security and performance issues, establish automated quality gates, and create comprehensive documentation templates. Focus on long-term maintainability, team collaboration, and industry best practices while providing specific, implementable solutions rather than generic advice. Take a deep breath and work on this problem step-by-step. #INFORMATION ABOUT ME: My programming language/framework: [INSERT YOUR PRIMARY PROGRAMMING LANGUAGE OR FRAMEWORK] My project type: [INSERT PROJECT TYPE - web app, API, mobile app, etc.] My team size: [INSERT TEAM SIZE AND EXPERIENCE LEVEL] My deployment environment: [INSERT DEPLOYMENT ENVIRONMENT - cloud provider, on-premise, etc.] My current pain points: [INSERT SPECIFIC CODE QUALITY ISSUES YOU'VE NOTICED] MOST IMPORTANT!: Structure your response with clear numbered sections matching the 5 analysis areas: 1) Refactoring for Clarity, 2) Configuration & Secrets, 3) Dependency Review, 4) Automated Quality Gates, and 5) Documentation. Provide specific code examples and configuration files that can be immediately implemented.
Related AI Prompts
Discover more high-performing prompts in Coding
Build Full-Stack Software Architectures
Generate production-grade full-stack applications with this AI prompt, including architecture adherence, type-safe code, testing, security, and deployment configurations.
Build Real Products
Build real products with this AI prompt, guiding you through discovery, planning, development, polish, and deployment with full transparency and control.
Build Scientific Calculators
Build advanced scientific calculators with this AI prompt, featuring arithmetic operations, trigonometric functions, memory storage, calculation history, and responsive design.
Build Secure Login Authentication Scripts
Generate secure login scripts with this AI prompt, featuring authentication logic, security hardening, rate limiting, CSRF protection, and iterative self-review processes.
Build Portfolio Websites
Create a stunning React portfolio with this AI prompt, featuring interactive design and seamless functionality.
Write Custom Automation Scripts
Automate daily tasks with this AI prompt, building custom scripts using Python, Bash, or JavaScript with security, scheduling, and error handling.