repository-adapters

star 0

Modify database repository adapters using sqlc-generated SQLite queries.

matt-riley By matt-riley schedule Updated 12/29/2025

name: repository-adapters description: Modify database repository adapters using sqlc-generated SQLite queries. license: MIT compatibility: Requires bash, git, Go, and sqlc v1.30.0+. metadata: repo: mjrwtf runner: github-copilot-cli version: 1.2 allowed-tools: Bash(git:) Bash(make:) Bash(go:) Bash(sqlc:) Read

Repo conventions

  • Domain interfaces live in internal/domain/**/repository.go.
  • Implementations live in internal/adapters/repository/.
  • Do not edit generated code under internal/adapters/repository/sqlc/**.

Making a change

  1. Update internal/adapters/repository/sqlc/sqlite/queries.sql
  2. Regenerate:
make generate
  1. Update adapters in internal/adapters/repository/*.go.
  2. Verify:
make test
Install via CLI
npx skills add https://github.com/matt-riley/mjrwtf --skill repository-adapters
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator