LogoClawIndex
CasesSkillsAbout
LogoClawIndex

repository - Create a repository interface and implementation

Creates a repository abstraction and Drizzle ORM implementation for storing, retrieving, querying, and deleting hydrated domain entities.

Tags

Updated: 2026-10-08

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Define repository contracts
  • Implement Drizzle persistence
  • Hydrate domain entities
  • Support transactional mutations
  • Register repository bindings

Inputs

  • registry.yaml
  • Domain context
  • Domain entity
  • Database table

Outputs

  • Repository abstract class
  • Drizzle repository implementation
  • Mock repository implementation
  • Registry bindings

Requirements

  • Existing context
  • Existing entity
  • Existing database table
  • Drizzle ORM project

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
repository pattern
Drizzle ORM
data persistence
domain entities
Define repository contracts
Implement Drizzle persistence
Hydrate domain entities
Support transactional mutations
registry.yaml
Domain context
Domain entity
Repository abstract class
Drizzle repository implementation
Mock repository implementation