Claude Code Plugins

Community-maintained marketplace

Feedback

code-generation

@matt-riley/mjrwtf
0
0

Run and troubleshoot project code generation (sqlc + templ).

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 code-generation
description Run and troubleshoot project code generation (sqlc + templ).
license MIT
compatibility Requires bash, git, Go, make, sqlc v1.30.0+, and templ.
metadata [object Object]
allowed-tools Bash(git:*) Bash(make:*) Bash(go:*) Bash(sqlc:*) Bash(templ:*) Bash(curl:*) Read

What this skill covers

This repo relies on generated code for:

  • sqlc: generates DB access code into internal/adapters/repository/sqlc/sqlite/
  • templ: generates Go code from .templ templates

Standard commands

make generate

Manual equivalents:

sqlc generate
templ generate

When to run generation

Run make generate when you change:

  • internal/adapters/repository/sqlc/sqlite/queries.sql
  • sqlc.yaml
  • migration files referenced by sqlc.yaml under schema:
  • any .templ files

Troubleshooting

If you see compile errors referencing missing generated code, re-run:

make generate