What problem does it solve?
This Skill formats SQL queries for read and modification operations with an ultra-minimalista and standardized structure. It should be used whenever the user requests a SQL query to simulate changes, verify data before changing, or write UPDATE, DELETE, or any SQL that mutates data. It should also be triggered when the user says "monta o SQL", "gera o SQL de alteração", "cria um UPDATE para", "faz um DELETE onde", "quero conferir antes de alterar", "me dá o SQL pra mudar", "simula a alteração", or any variation of requesting SQL that reads or alters data in a database. In doubt, use this skill — the cost of using it when not necessary is minimal, and the cost of not using it is the user receiving an incorrect format.
Core Features & Use Cases
- Gera um único bloco SQL com a operação de conferência (SELECT) seguido de UPDATE/DELETE.
- Suporta múltiplas operações com seções separadas por -- ======.
- Segue regras de saída estritas: SELECT com id como primeira coluna; liste apenas as colunas que serão alteradas; WHERE id idêntico ao UPDATE/DELETE.
- Segurança: força WHERE em UPDATE/DELETE para evitar alterações acidentais.
Quick Start
Informe o id e as alterações desejadas para que eu retorne um único bloco SQL pronto para execução.