sql-database-management

Mitigate SQL security vulnerabilities across PostgreSQL, MySQL, and SQLite configurations.

17|1|Updated Jun 8, 2025
One-click install
npx skills add https://github.com/williamzujkowski/standards --skill sql-database-management
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sql-database-management
Source: https://github.com/williamzujkowski/standards/tree/main/skills/database/sql
Command: npx skills add https://github.com/williamzujkowski/standards --skill sql-database-management

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill provides best practices for designing, implementing, and managing SQL databases, ensuring your relational data is structured, consistent, and performant. It simplifies complex database design decisions, reducing development time and preventing common data integrity issues.

Core Features & Use Cases

  • Relational Data Modeling: Guides on designing normalized schemas, defining relationships, and ensuring data integrity.
  • Query Optimization: Teaches how to write efficient SQL queries and use indexes effectively.
  • Database Management: Provides strategies for backups, replication, and security for PostgreSQL, MySQL, and SQL Server.
  • Use Case: Design a schema for an e-commerce product catalog using PostgreSQL, automatically generating SQL DDL statements and suggesting optimal indexes for product search and filtering.

Quick Start

Generate a basic PostgreSQL schema definition for a blog post system, including tables for posts, comments, and users.

Frequently Asked Questions about sql-database-management

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design a normalized SQL database schema for relational data?

Relational data modeling involves designing normalized schemas with properly defined relationships and constraints. This skill guides you through structuring tables, defining primary and foreign keys, and ensuring data integrity to prevent anomalies and redundancy in production systems.

What's the best way to optimize SQL queries and database performance?

Query optimization teaches you to write efficient SQL and use indexes effectively across PostgreSQL, MySQL, and SQLite. The skill provides strategies for identifying slow queries and applying indexing techniques to improve search and filtering performance on large datasets.

How do I secure SQL databases and mitigate vulnerabilities?

This skill addresses security vulnerabilities in SQL code and database configurations for production systems. It integrates with security linters and SAST tools to enforce security guidelines, enabling automated testing and secure deployment across common workflows.

Can I use this for PostgreSQL, MySQL, and SQLite databases?

Yes. The skill covers database management strategies—including backups, replication, and security—for PostgreSQL, MySQL, and SQLite, supporting relational data workflows across multiple database platforms.

What does relational database management include?

Relational database management encompasses schema design, query optimization, indexing strategies, and operational practices like backups and replication. It simplifies complex design decisions and reduces development time while preventing data integrity issues.