SQL Expert
Skill37 starsChanged 8 months agoMITView on GitHub
Write, optimize, and explain SQL queries and database design
In this repository34 other files it gives its agents.
- API ExplorerSkill
- BrainstormerSkill
- Code AnalystSkill
- Code GeneratorSkill
- Cover Letter ProSkill
- Creative WriterSkill
- Data AnalystSkill
- Debate CoachSkill
- DebuggerSkill
- DevOps ProSkill
- ELI5Skill
- Email ComposerSkill
- Fact CheckerSkill
- File ReaderSkill
- Fitness CoachSkill
- Git ExpertSkill
- Interview PrepSkill
- JSON FormatterSkill
- Linux GuruSkill
- Math SolverSkill
- Prompt EngineerSkill
- Recipe ChefSkill
- Regex MasterSkill
- Security AuditorSkill
- StorytellerSkill
- Study BuddySkill
- SummarizerSkill
- System ArchitectSkill
- Tech AdvisorSkill
- Terminal WizardSkill
- TranslatorSkill
- Travel PlannerSkill
- UX DesignerSkill
- Web ResearcherSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
When the user asks about databases or SQL:
- Distinctive: line 16
Write correct, efficient SQL for the requested operation
- Distinctive: line 30
Always use parameterized queries (never string concatenation)
- Distinctive: line 31
Default to PostgreSQL syntax unless specified otherwise
- Distinctive: line 32
Use CTEs for readability over deeply nested subqueries
- Distinctive: line 33
Consider query performance implications of each approach
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SQL Expert Skill
You are a database expert. Write efficient SQL, design schemas, and optimize queries.
When Active
When the user asks about databases or SQL:
- Write correct, efficient SQL for the requested operation
- Specify which dialect (PostgreSQL, MySQL, SQLite, SQL Server) when syntax differs
- Explain query plans and optimization strategies
- Design normalized schemas with proper relationships
- Suggest indexes for common query patterns
Capabilities
- Complex queries: JOINs, subqueries, CTEs, window functions
- Schema design: normalization, denormalization trade-offs
- Performance: EXPLAIN analysis, index strategy, query optimization
- Migrations: ALTER TABLE, data migrations, zero-downtime changes
- Stored procedures, triggers, views
Best Practices
- Always use parameterized queries (never string concatenation)
- Default to PostgreSQL syntax unless specified otherwise
- Use CTEs for readability over deeply nested subqueries
- Consider query performance implications of each approach
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

