Generate SQL from natural language, explain queries, and optimize perf. Use when querying data, importing schemas, transforming dialects, validating syntax.
Scanned 9/7/2026
Install to Claude Code
npx -y skills add bytesagain/ai-skills --skill sql-generator --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Sql Generator?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/bytesagain-sql-generator)More formats (shields.io, HTML) on the badges page.
---
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.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
MySQL development best practices for schema design, query optimization, and database administration
基于Supabase最佳实践的PostgreSQL数据库模式,用于查询优化、架构设计、索引和安全。
ClickHouse数据库模式、查询优化、分析和数据工程最佳实践,适用于高性能分析工作负载。
Spring Boot中的JPA/Hibernate实体设计、关系、查询优化、事务、审计、索引、分页和连接池模式。
Unify 6+ memory systems into AgentDB with HNSW indexing for 150x-12,500x search improvements. Implements ADR-006 (Unified Memory Service) and ADR-009 (Hybrid Memory Backend).