Install any skill in seconds. Free to start, no credit card required.
Get Started Free →jnzader/manage-database-session
This skill covers patterns for managing database sessions and models. Trigger: Load when working with database interactions.
Passed 22 of 22 test cases with the skill, and 4 of 22 without it.
and 14 more in the full report
18 fixed4 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 18 test cases the skill fixed. Same model, same prompt, with and without the skill.
We are deploying an update to production and need to run all pending database migrations using Alembic. What exact command should be executed?
| Checked | Without skill | With skill |
|---|---|---|
| The command is python -m alembic upgrade head | Missed | Passed |
The instructions your model reads when the skill loads.
This skill covers patterns for managing database sessions and models.
Trigger: Load when working with database interactions.
| Task | Pattern |
|---|---|
| Create a database session | get_db() |
| Define a database model | Base |
get_db() to create a session for database operations.Base to define your database models.Use get_db() to create a session for database operations, ensuring proper management of database connections.
from apps.server.app.models.database import get_db
async def some_database_operation():
async with get_db() as session:
# Perform database operations
pass
Utilize Base to define your database models, which will serve as the foundation for your ORM mappings.
test cases passed, vs 4 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.