بنقرة واحدة
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 ويثبّتها لك.
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.
استنادا إلى تصنيف SOC المهني
| 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;