Prompts tagged "程式碼審查" in the PromptCraft library.
Report a bug in this format and the AI's fix hit rate jumps noticeably: give all four parts at once — the raw symptom, a minimal repro, expected behavior, and environment — and force the AI to diagnose first, ask for more information when it's insufficient, and never guess-and-change blindly. Suited to any scenario where you're asking ChatGPT or Claude to fix code. Note: the AI's diagnosis is reasoning, not an actual test run — after the fix, be sure to actually run through the included verification checklist.
Installs a focused 'security auditor' subagent into Claude Code that reviews code and architecture file-by-file through an OWASP Top 10 lens as you develop features, classifying vulnerabilities by severity with directly-applicable remediation suggestions.
Has Codex do a disciplined code review of your git diff across three tracks (correctness bugs / simplification-and-reuse / security), listing each finding with a confidence level and a pastable fix, and explicitly instructed to say so when nothing's wrong instead of manufacturing complaints.