LogoClawIndex
CasesSkillsAbout
LogoClawIndex

develop-repository - Develop persistence layer units via TDD

Completes a persistence unit using TDD by writing PostgreSQL tests, implementing code, and refactoring.

Tags

Updated: 2026-09-24

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Fix target unit type
  • Write failing tests
  • Verify red test failures
  • Implement repository or query service
  • Verify green test passage
  • Refactor implementation code
  • Align error translations

Inputs

  • Data model documentation
  • Domain code file paths
  • Additional reference documents
  • Target unit specification

Outputs

  • Persistence unit test files
  • Repository or query service implementation files
  • TDD cycle completion report

Requirements

  • Go 1.27
  • PostgreSQL
  • pgx/v5
  • sqlc
  • dockertest
  • testify
  • Docker daemon

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.
go
postgresql
tdd
repository
query-service
persistence
Fix target unit type
Write failing tests
Verify red test failures
Implement repository or query service
Data model documentation
Domain code file paths
Additional reference documents
Persistence unit test files
Repository or query service implementation files
TDD cycle completion report