Skip to content
Agentmart
Submit a tool

SQL Expert

Write, optimize, and explain SQL queries and database design

Skill by rar-file

IndexedMIT★ 38
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/rar-file-sql-expert

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Write, optimize, and explain SQL queries and database design

Use cases: design, backend, writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/sql-expert

What's inside

Skill name
SQL Expert
Description
Write, optimize, and explain SQL queries and database design
License
MIT
Instructions
26 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: only lowercase letters, digits and single hyphens allowed
  • name: "SQL Expert" does not match folder "sql_expert"

Files (1)

  • SKILL.md

SKILL.md (first lines)

---
name: SQL Expert
description: Write, optimize, and explain SQL queries and database design
icon: 🗃️
enabled: false
author: SURF
version: 1.0
---

# 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:
1. Write correct, efficient SQL for the requested operation
2. Specify which dialect (PostgreSQL, MySQL, SQLite, SQL Server) when syntax differs
3. Explain query plans and optimization strategies
4. Design normalized schemas with proper relationships
5. 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

From rar-file/surf, MIT.

More from rar-file/surf

Signals

Stars
38
Forks
1
Open issues
3
Last commit (this folder)
Mar 20, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from rar-file

Cite this page

SQL Expert skill. Agent Mart. https://agentmart.dev/skills/rar-file-sql-expert (last updated 2026-10-24)