This one covers the fundamentals of writing stored procedures, functions, and triggers across PostgreSQL and MySQL. You get examples for scalar functions, multi-step procedures with error handling, and trigger implementations for audit trails and data validation. The quick start shows a straightforward calculation function, and the reference guides walk through progressively complex scenarios. It's practical if you're moving business logic into the database layer or need reusable routines that multiple applications can call. The coverage is solid on the basics, though you'll want to supplement with database-specific docs for advanced features like cursor handling or dynamic SQL.
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill stored-procedures