repository-adapters
Modify database repository adapters using sqlc-generated SQLite queries.
allowed_tools: Bash(git:*) Bash(make:*) Bash(go:*) Bash(sqlc:*) Read
$ 安裝
git clone https://github.com/matt-riley/mjrwtf /tmp/mjrwtf && cp -r /tmp/mjrwtf/.github/skills/repository-adapters ~/.claude/skills/mjrwtf// tip: Run this command in your terminal to install the skill
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: 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
- Update
internal/adapters/repository/sqlc/sqlite/queries.sql - Regenerate:
make generate
- Update adapters in
internal/adapters/repository/*.go. - Verify:
make test
Repository

matt-riley
Author
matt-riley/mjrwtf/.github/skills/repository-adapters
0
Stars
0
Forks
Updated1d ago
Added1w ago