704-technologies-sql

Review SQL schema, migrations, queries, indexes, and database security practices.

423|90|Updated Feb 8, 2025
One-click install
npx skills add https://github.com/jabrena/plinth --skill 704-technologies-sql
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 704-technologies-sql
Source: https://github.com/jabrena/plinth/tree/main/skills/704-technologies-sql
Command: npx skills add https://github.com/jabrena/plinth --skill 704-technologies-sql

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Provides framework-agnostic guidance for SQL schema, query performance, readability, and database operations without favoring Spring Boot, Quarkus, or Micronaut.

Core Features & Use Cases

  • Schema Naming & Design: Offers best practices for table and column naming, relational table design, keys, and timestamps.
  • Query Writing: Informs readable formatting, joins, CTEs, bind parameters, and execution-plan reviews.
  • Index Strategy: Helps design and manage indexes for foreign keys, filters, and sort paths.
  • Security, Transactions, Migrations, & Testing: Covers security practices, transactions, database operations, and testing practices for SQL in production.

Quick Start

Utilize the '704-technologies-sql' skill to get insights into the database design, schema naming conventions, or review a migration script.

Frequently Asked Questions about 704-technologies-sql

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

FAQPage Schema
What are the best practices for SQL schema naming and relational table design?

SQL schema design best practices involve consistent table and column naming, proper relational key configuration, and structured timestamps. This framework-agnostic skill reviews your database schema to ensure optimal relational integrity, readability, and performance.

How do I optimize SQL query performance and readability?

To optimize SQL query performance, review execution plans, use CTEs for readability, apply proper joins, and utilize bind parameters. This skill analyzes your queries to enhance both operational performance and code maintainability.

How should I design indexes for foreign keys and sort paths?

Designing indexes for foreign keys and sort paths requires evaluating filter conditions and join operations to reduce scanning overhead. This skill helps you manage and structure indexes specifically for your database querying patterns and sorting needs.

Does this database guidance apply outside of Java frameworks like Spring Boot?

Yes, this skill provides framework-agnostic database guidance, meaning it applies equally well outside of Spring Boot, Quarkus, or Micronaut. It focuses purely on SQL best practices, transaction management, and security without framework bias.

How do I review database migration scripts and security practices?

Reviewing database migration scripts and security practices involves checking transaction safety, testing procedures, and operational integrity for production databases. This skill evaluates your migration scripts to ensure secure and reliable database operations.