Goyesql
Go + Yesql
Install / Use
/learn @nleof/GoyesqlREADME
goyesql
Golang + Yesql
Parse a file and associate SQL queries to a map. Useful for separating SQL from code logic.
Installation
$ go get -u github.com/nleof/goyesql
Usage
Create a file containing your SQL queries
-- queries.sql
-- name: list
SELECT *
FROM foo;
-- name: get
SELECT *
FROM foo
WHERE bar = $1;
And just call them in your code!
queries := goyesql.MustParseFile("queries.sql")
// use queries["list"] with sql/database, sqlx ...
Enjoy!
Related Skills
oracle
349.2kBest practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns).
prose
349.2kOpenProse VM skill pack. Activate on any `prose` command, .prose files, or OpenProse mentions; orchestrates multi-agent workflows.
Command Development
109.5kThis skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
Plugin Structure
109.5kThis skill should be used when the user asks to "create a plugin", "scaffold a plugin", "understand plugin structure", "organize plugin components", "set up plugin.json", "use ${CLAUDE_PLUGIN_ROOT}", "add commands/agents/skills/hooks", "configure auto-discovery", or needs guidance on plugin directory layout, manifest configuration, component organization, file naming conventions, or Claude Code plugin architecture best practices.
