Skip to content
Back to skills

Code Generation

ASecurity

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

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
databasesgobashsqlgit

Works with

  • cli

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill code-generation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Generation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Generation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-code-generation-meta-skill-evloving/badge)](https://www.skillsdirectory.com/skills/david-li0406-code-generation-meta-skill-evloving)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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:
  repo: mjrwtf
  runner: github-copilot-cli
  version: 1.2
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

```bash
make generate
```

Manual equivalents:

```bash
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:

```bash
make generate
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…