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.

Install with Tessl CLI

npx tessl i github:NeverSight/skills_feed --skill python-database-patterns
What are skills?

83

Does it follow best practices?

Validation for skill structure

SKILL.md
Review
Evals

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%

Without context: $0.2321 · 54s · 18 turns · 21 in / 3,380 out tokens

With context: $0.6560 · 2m 7s · 31 turns · 34 in / 8,783 out tokens

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%

Without context: $0.4445 · 1m 37s · 26 turns · 32 in / 6,659 out tokens

With context: $0.6874 · 2m 18s · 31 turns · 36 in / 9,222 out tokens

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%

Without context: $0.3978 · 1m 30s · 24 turns · 30 in / 5,775 out tokens

With context: $0.4755 · 1m 42s · 25 turns · 278 in / 5,714 out tokens

Evaluated
Agent
Claude Code

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.