Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates, validates, and deploys stored procedures, functions, and triggers for PostgreSQL, MySQL, and SQL Server databases.
48% 96%+48 ptsof test cases passed
Passed 22 of 23 test cases with the skill, and 11 of 23 without it.
Provide the exact command line invocation using the python deployer script to deploy a PostgreSQL SQL file `procedure.sql` to host `localhost` on database `mydb`.
Uses stored_procedure_deployer.py script.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Generate production-ready stored procedures for PostgreSQL, MySQL, and SQL Server with proper error handling, transaction management, and security best practices.
Determine the target database and procedure requirements:
-- PostgreSQL: Check version and extensions
SELECT version();
\dx
-- MySQL: Check version and settings
SELECT VERSION();
SHOW VARIABLES LIKE 'sql_mode';
-- SQL Server: Check version and edition
SELECT @@VERSION;
PostgreSQL Function (PL/pgSQL):
CREATE OR REPLACE FUNCTION get_user_by_id(p_user_id INTEGER)
RETURNS TABLE(id INTEGER, username VARCHAR, email VARCHAR, created_at TIMESTAMP)
LANGUAGE plpgsql
AS $$
BEGIN
RETURN QUERY
Next to this one in the catalogue, plus more from the same author.