# SQL & Database Guidelines

> Objective: Define standards for writing safe, performant, and maintainable SQL across relational databases, covering security, query design, indexing, schema design, and operational best practices.

::: tip Source File
View the full rule: [`.agent/rules/sql.md`](https://github.com/snowdreamtech/template/blob/main/.agent/rules/sql.md)
:::

## Sections

- 1. Security
- 1. Query Design
- 1. Indexing
- 1. Schema Design
- 1. Transactions & Operations
