Sql Style Guide
This SQL Style Guide helps you write cleaner, more readable SQL code by enforcing best practices and improving maintainability.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add sql-style-guide npx -- -y @trustedskills/sql-style-guide
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"sql-style-guide": {
"command": "npx",
"args": [
"-y",
"@trustedskills/sql-style-guide"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill provides SQL style guide formatting and suggestions. It can automatically format SQL queries to adhere to a consistent style, improving readability and maintainability. The skill aims to help users write cleaner, more standardized SQL code by applying best practices.
When to use it
- Formatting existing SQL: You have a large codebase of SQL queries that lack consistency in formatting.
- Ensuring team standards: Your development team has established SQL style guidelines you want all members to follow.
- Improving query readability: You need to make complex SQL queries easier for others (or yourself) to understand and debug.
- Automating code review: You want to integrate automated SQL formatting into your development workflow.
Key capabilities
- SQL Formatting
- Style Guide Adherence
- Readability Improvement
- Code Standardization
Example prompts
- "Format this SQL query:
SELECT * FROM users WHERE id = 1;" - "Apply the standard SQL style guide to this code block."
- "Can you reformat this SQL and suggest improvements?"
Tips & gotchas
The skill's effectiveness depends on a clearly defined SQL style guide. Providing specific formatting rules or preferences will yield more accurate results.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.