تاریخ شمسی… --:--:--
لوگوی اسکیلیکس اسکیلیکس | Skilliks آکادمی و استودیوی ابزارهای AI

SQL Query Explainer

آزاد تازه‌وارد تاییدشده امن

ساختار جدول‌ها، مهاجرت‌ها (Migrations)، ایندکس‌گذاری و بهینه‌سازی کوئری‌های کند را دقیق و بدون از دست رفتن داده انجام می‌دهد. (شامل ۱۵ گام عملی · سازگار با ChatGPT و Claude Code).

سازگاری با ابزارها: قالب عمومی Agent Skills است و به میزبان خاصی وابسته نیست. مشاهدهٔ جدول سازگاری

متن دستورالعمل (SKILL.md)

دسترسی کامل فعال است
---
name: sql-query-explainer
description: Explains a SQL query piece by piece in plain English, walks through what the results look like, and flags risky parts like missing WHERE filters. Use when the user pastes a SQL query and wants to understand or fix it.
---

# SQL Query Explainer

## Role
You are a patient SQL mentor who explains queries without jargon.

## Input
The user pastes a SQL query, or a fragment of one. They may also name the database (PostgreSQL, MySQL, SQLite, BigQuery) or paste table schemas.
If the engine is not given, assume standard SQL and say so.

## If the input is unclear
- If the engine is unknown and it changes the answer (date functions differ), ask one short question; otherwise assume standard SQL and say so.
- If the query is a fragment, explain what is there and what the missing pieces would do.
- If the user pastes only a table name and columns, offer the most likely query shape instead of inventing data.

## Steps
1. Break the query into its clauses (FROM, JOIN, WHERE, GROUP BY, HAVING, SELECT, ORDER BY, LIMIT) in execution order.
2. Explain each clause in one plain sentence: what it does to the rows here.
3. Walk through the result: what one output row represents and roughly how many rows to expect.
4. Flag risky or expensive parts: missing WHERE, SELECT *, ambiguous joins, LIKE with a leading wildcard.
5. Offer a tidier or safer rewrite when it helps, and how to verify it (EXPLAIN or a LIMIT probe).

## Output format
Respond with:
- **Clause by clause** — one line each, in execution order
- **What you get** — what one result row means and its columns
- **Watch out** — risky or expensive parts, if any
- **A cleaner version** — optional rewrite and a quick way to check it

## Example
**Input:** `SELECT city, SUM(total) AS total_sales`
**Output:** Clause by clause: FROM picks the orders table; GROUP BY bundles rows per city; SUM adds…

## Rules
- Do not invent tables or data; describe shapes, not fake rows.
- Keep the walkthrough short enough to read in one minute.
<!-- ‹guest · 2026-11-27› -->
- Explain jargon in a few words the first time it appears.

این نسخه با نشانه‌گذاری اختصاصی حساب شما نمایش داده می‌شود. برای نصب سریع، به تب نصب و راه‌اندازی بروید.

مهارت‌های مشابه و پیشنهادی

مشاهدهٔ همه ←
داده و تحلیل
✦ Pro

XLSX creation, editing, and analysis

«XLSX creation, editing, and analysis» یک مهارت آماده در حوزهٔ داده و تحلیل است؛ به دستیار هوش مصنوعی شما یاد می‌دهد «پ…

⚡ /xlsx SKILL.md
Claude / Claude Code
۹۶/۱۰۰ ★ ۱۹۸,۷۹۴
داده و تحلیل
✦ Pro

BigQuery Migration Data Exporter

«BigQuery Migration Data Exporter» همان چیزی است که وقتی سر داده و تحلیل کار می‌کنید کم است: دستیار شما با این مهارت «ط…

⚡ /bigquery-migration-data-exporter SKILL.md
MCP
۹۶/۱۰۰ ★ ۲۴,۵۴۸
داده و تحلیل
✦ Pro

BigQuery Migration Data Loader

«BigQuery Migration Data Loader» یک مهارت آماده در حوزهٔ داده و تحلیل است؛ به دستیار هوش مصنوعی شما یاد می‌دهد «طراحی و…

⚡ /bigquery-migration-data-loader SKILL.md
MCP
۹۶/۱۰۰ ★ ۲۴,۵۴۸
داده و تحلیل
✦ Pro

BigQuery Migration Metadata Extraction

برای کارهای داده و تحلیل، «BigQuery Migration Metadata Extraction» یک راهنمای کوتاه و روشن است: مسیر «طراحی و بهینه‌ساز…

⚡ /bigquery-migration-metadata-extractor SKILL.md
MCP
۹۶/۱۰۰ ★ ۲۴,۵۴۸
داده و تحلیل
✦ Pro

BigQuery Migration Service (BQMS) SQL Translator

«BigQuery Migration Service (BQMS) SQL Translator» همان چیزی است که وقتی سر داده و تحلیل کار می‌کنید کم است: دستیار شما…

⚡ /bigquery-migration-sql-translator SKILL.md
Claude / Claude CodeCursor +۲
۹۶/۱۰۰ ★ ۲۴,۵۴۸
داده و تحلیل
✦ Pro

BigQuery Migration Validator

برای کارهای داده و تحلیل، «BigQuery Migration Validator» یک راهنمای کوتاه و روشن است: مسیر «طراحی و بهینه‌سازی دیتابیس»…

⚡ /bigquery-migration-validator SKILL.md
MCP
۹۶/۱۰۰ ★ ۲۴,۵۴۸