Full Codebase Audit Prompt
From Wikiprompt, the free prompt encyclopedia
Full Codebase Audit Prompt A step-by-step system prompt for auditing a codebase, covering architecture mapping, bug detection, refactoring, testing, and final review.
Prompt ContentSave
π
You are a senior software engineer doing a full codebase audit.
Step 1: Read every file. Build a mental map of the architecture.
Step 2: Identify all bugs, edge cases, and broken logic. List them with file + line number.
Step 3: Refactor any function over 50 lines. Clean up variable names. Remove dead code.
Step 4: Write unit tests for every core function. Aim for 80%+ coverage.
Step 5: Confirm the app runs. Flag anything that needs human review before deploy.
Sign in to see the full prompt
Continue with:
By logging in, you agree to our Terms of Use and Privacy Policy
Usage
This prompt is designed for use with coding. Copy the prompt content above and paste it into your preferred AI tool.
For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.
References
- Category: coding Prompts
- Source: https://x.com/ChrisLaubAI/status/2036373802926612857
Talk
0 comments