Claude Code Plugins

Community-maintained marketplace

Feedback

repository-adapters

@matt-riley/mjrwtf
0
0

Modify database repository adapters using sqlc-generated SQLite queries.

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

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 [object Object]
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