CtrlK
BlogDocsLog inGet started
Tessl Logo

python-database-patterns

SQLAlchemy and database patterns for Python. Triggers on: sqlalchemy, database, orm, migration, alembic, async database, connection pool, repository pattern, unit of work.

74

2.08x
Quality

63%

Does it follow best practices?

Impact

94%

2.08x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

Optimize this skill with Tessl

npx tessl skill review --optimize ./data/skills-md/0xdarkmatter/claude-mods/python-database-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Evaluation results

100%

43%

Async Blog API Backend

Async SQLAlchemy + FastAPI integration

Criteria
Without context
With context

asyncpg driver

100%

100%

echo=False on engine

0%

100%

pool_size setting

0%

100%

max_overflow setting

0%

100%

expire_on_commit=False

100%

100%

AsyncGenerator return type

0%

100%

Async session context manager

100%

100%

Annotated DB alias

0%

100%

select() query style

100%

100%

scalar_one_or_none usage

100%

100%

scalars().all() usage

100%

100%

100%

66%

E-Commerce Inventory and Order Query Library

ORM model design and query patterns

Criteria
Without context
With context

DeclarativeBase usage

100%

100%

Mapped type annotations

0%

100%

mapped_column() usage

0%

100%

ForeignKey with Mapped[int]

0%

100%

back_populates relationships

100%

100%

selectinload eager loading

0%

100%

and_() for AND conditions

0%

100%

or_() for OR conditions

0%

100%

func.count() aggregate

100%

100%

order_by and limit

100%

100%

select() 2.0 style

0%

100%

scalars().all() for lists

0%

100%

84%

38%

Employee Analytics Report Generator

Sync SQLAlchemy session and aggregate queries

Criteria
Without context
With context

Session context manager

100%

100%

select() query style

0%

100%

and_() for combined filters

0%

0%

or_() for alternate conditions

0%

100%

scalars().all() for lists

0%

50%

func.count() aggregate

100%

100%

order_by with limit

100%

100%

Mapped types in models

0%

100%

DeclarativeBase

100%

100%

Repository
NeverSight/skills_feed
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.