원클릭으로
sql-debug-skill
Debug common SQL query errors by identifying anti-patterns and applying targeted fixes.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Debug common SQL query errors by identifying anti-patterns and applying targeted fixes.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Construct correct regular expressions for common text matching and validation challenges.
Teaches agents how to use the skillforge CLI to distill procedural skills from model traces.
Debug common Python runtime errors by reading tracebacks and applying targeted fixes.
| name | sql-debug-skill |
| description | Debug common SQL query errors by identifying anti-patterns and applying targeted fixes. |
| version | 0.1.0 |
| source_model | mock-strong |
| extracted_from | {"total_traces":10,"passed_traces":10,"failed_traces":0,"extractor":"manual@0.1","extracted_at":"2026-01-01T00:00:00Z"} |
| triggers | ["sql","debug","query","fix"] |
| domains | ["sql-debug"] |
| license | Apache-2.0 |
Apply this skill when you encounter a SQL query that produces incorrect results, errors, or unintended side effects. Covers: missing JOINs, NULL comparisons, GROUP BY misuse, ambiguous columns, integer division, clause ordering, missing WHERE, implicit column lists, COUNT semantics, and correlated subqueries.
= NULL with IS NULL and != NULL with IS NOT NULLusers.id instead of id)CAST(col AS DECIMAL) or multiply by 1.0COUNT(*) when counting all rowsInput: SELECT users.name, orders.total FROM users, orders WHERE users.id = 1;
Fix: SELECT users.name, orders.total FROM users JOIN orders ON users.id = orders.user_id WHERE users.id = 1;
Input: SELECT * FROM employees WHERE manager_id = NULL;
Fix: SELECT * FROM employees WHERE manager_id IS NULL;
Input: SELECT completed_tasks / total_tasks AS completion_rate FROM projects;
Fix: SELECT CAST(completed_tasks AS DECIMAL) / total_tasks AS completion_rate FROM projects;