본문으로 건너뛰기
Promptowy / 복사해서 바로 쓰는 AI 프롬프트 모음 (2026/2027) / Best AI Prompts for Coding, Debugging, Refactoring & SQL Review

Best AI Prompts for Coding, Debugging, Refactoring & SQL Review

Developer prompts tested on Claude Fable 5.2, Opus 5.5, GPT-6.2 Astra, and Gemini 4: root-cause debugging, unit tests, security review, and SQL tuning.

사용법: 프롬프트를 복사한 뒤 [대괄호] 부분을 본인 내용으로 바꾸어 붙여넣으세요.

Root-Cause Bug Hunter

Analyze this stack trace and code snippet in [LANGUAGE]. Do NOT rewrite the whole file. Return: (1) exact root cause in 2 sentences, (2) minimal diff patch to fix it cleanly, and (3) one regression test covering this exact edge case. Error: [TRACE]. Code: [CODE].

Senior Security & Edge-Case Review

Review this [LANGUAGE] function for security flaws (injection, auth bypass, race conditions), null/empty edge cases, and O(n^2) bottlenecks. List findings ordered by severity with exact line numbers and one-line fixes. Code: [CODE].

SQL Query Optimizer

Optimize this [POSTGRES/MYSQL] query for a table with [N] million rows. Explain why the current plan is slow, propose the exact composite index needed, and provide the rewritten query with identical output. Query: [SQL].

Word & LLM Token Counter → · LLM API Cost Calculator →

× ‹ ›