Back to skills
SKILL.md
Sql Generator
ASecurityGenerate SQL from natural language, explain queries, and optimize perf. Use when querying data, importing schemas, transforming dialects, validating syntax.
- 12 stars
- 0 votes
- 0 copies
- 4 views
- Added September 7, 2026
Security analysis
100/100Pro scans all 4 files and shows the line behind each finding
npx -y skills add bytesagain/ai-skills --skill sql-generator --agent claude-codeAre you the author of Sql Generator?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/bytesagain-sql-generator)---
version: "2.0.0"
name: SQL Generator
description: "Generate SQL from natural language, explain queries, and optimize perf. Use when querying data, importing schemas, transforming dialects, validating syntax."
author: BytesAgain
homepage: https://bytesagain.com
source: https://github.com/bytesagain/ai-skills
---
# SQL Generator
SQL生成器。自然语言转SQL、SQL解释、性能优化、建表语句、测试数据生成、数据库迁移、SQL速查表。SQL generator from natural language, explainer, optimizer, DDL creator, mock data, migration scripts, cheatsheet. SQL、数据库、MySQL。
## 常见问题
**Q: 这个工具适合谁用?**
A: 任何需要sql generator的人,无论是个人还是企业用户。
**Q: 输出格式是什么?**
A: 主要输出Markdown格式,方便复制和编辑。
## 可用命令
- **query** — query
- **explain** — explain
- **optimize** — optimize
- **create** — create
- **mock** — mock
- **migrate** — migrate
- **cheatsheet** — cheatsheet
## 专业建议
- SELECT/WHERE/ORDER BY
- INSERT/UPDATE/DELETE
- 基本聚合(COUNT/SUM/AVG)
- GROUP BY + HAVING
- JOIN(INNER/LEFT/RIGHT/FULL)
---
*SQL Generator by BytesAgain*
---
💬 Feedback & Feature Requests: https://bytesagain.com/feedback
Powered by BytesAgain | bytesagain.com
## Examples
```bash
# Show help
sql-generator help
# Run
sql-generator run
```
## Commands
Run `sql-generator help` to see all available commands.
Files in this skill
- SKILL.md
- scripts/script.sh
- scripts/sql.sh
- tips.md
Attribution
Related skills
View all in databases →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.