Universal database operations skill for modern applications. Expert in SQLModel/SQLAlchemy patterns, async database operations, connection pooling, migrations, performance optimization, and multi-database support (PostgreSQL, MySQL, SQLite). Provides production-ready patterns for any database-driven application.
SkillScore56Maintained
Automatic
◆Coding pack
Last verified 9/3/2026
What it changes
Passed 14 of 25 test cases with the skill, and 11 of 25 without it.
Without skill44%
With skill56%
Checks it passed that the model alone missed
Calls first method on db.exec result.
Executes await session.close() inside a finally block.
Applies Task.is_deleted equal to False filter condition.
and 4 more in the full report
6 fixed8 passed either way8 still failing3 broke
Pass-rate lift
+12 pp
Tokens
+189%
Agent turns
0%
Response time
-2%
Model gemini-3.6-flashMeasured 9/3/2026v114 of 25 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 6 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 6
Prompt
We want to write a PostgreSQL database optimization utility that queries system stats to locate slow queries exceeding an average execution time threshold. Which view and column should be queried?
What was checked, without and with the skill
Checked
Without skill
With skill
Queries pg_stat_statements view.
Passed
Passed
Filters records where mean_time exceeds specified threshold parameter.
Missed
Passed
case-20 · gemini-3.6-flash · 9/3/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md739 linessingle file
Database Operations & Management
This skill provides comprehensive database patterns and best practices for 2025, focusing on async operations, performance optimization, and production-ready configurations that work across different database systems.
Use this skill when designing database schemas for relational (SQL) or document (NoSQL) databases. Provides normalization guidelines, indexing strategies, migration patterns, and performance optimization techniques. Ensures scalable, maintainable, and performant data models.