Skillquality 0.45

litestar-data-services

Auto-activate for SQLAlchemyAsyncRepositoryService, SQLSpecAsyncService, create_filter_dependencies, LimitOffsetFilter, OffsetPagination, repository_type, service_class, filters, pagination, or CRUD service layers. Use when implementing Litestar data services, repositories, filte

Price
free
Protocol
skill
Verified
no

What it does

Litestar Data Services

Use this skill for repositories, service layers, CRUD boundaries, filters, and pagination.

Code Style Rules

  • Match the existing persistence stack before choosing patterns.
  • Keep handlers out of query construction and transaction management.
  • Use filter dependency objects rather than ad hoc query params.
  • Return typed pagination envelopes for collection endpoints.

Quick Reference

<workflow>

Workflow

  1. Identify the project's data stack.
  2. Put persistence operations behind a service boundary.
  3. Add filters and pagination through the stack's native pattern.
  4. Return DTO-ready data to Controllers.
</workflow> <guardrails>

Guardrails

  • Do not mix repository stacks in one feature.
  • Do not place SQL or ORM session handling in route handlers.
  • Do not hand-roll pagination query params.
  • Do not return persistence internals when DTOs are required.
</guardrails> <validation>

Validation Checkpoint

  • Service methods own data access.
  • Filters and pagination match the selected stack.
  • Controller code stays thin.
  • DTO conversion is explicit or handled by the service stack.
</validation> <example>

Example

class UserService(SQLAlchemyAsyncRepositoryService[User]):
    repository_type = UserRepository
</example>

References Index

Official References

Shared Styleguide Baseline

Capabilities

skillsource-litestar-orgskill-litestar-data-servicestopic-advanced-alchemytopic-agent-skillstopic-agentskillstopic-ai-agentstopic-claude-code-plugintopic-claude-code-skillstopic-gemini-cli-extensiontopic-htmxtopic-inertiatopic-litestartopic-mcptopic-python

Install

Quality

0.45/ 1.00

deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 7 github stars · SKILL.md body (2,037 chars)

Provenance

Indexed fromgithub
Enriched2026-05-18 19:13:53Z · deterministic:skill-github:v1 · v1
First seen2026-05-18
Last seen2026-05-18

Agent access