ezorm-gen-yaml-mysql

star 50

Generate Go code from ezorm YAML (mysql/mysqlr). Prefer mysqlr unless the user explicitly asks for mysql. Provide the exact ezorm CLI command(s).

ezbuy By ezbuy schedule Updated 1/28/2026

name: ezorm-gen-yaml-mysql description: Generate Go code from ezorm YAML (mysql/mysqlr). Prefer mysqlr unless the user explicitly asks for mysql. Provide the exact ezorm CLI command(s).

Ezorm Gen Yaml (MySQL/MySQLr)

Scope

Generate Go code from ezorm YAML schema files for mysql/mysqlr using the ezorm CLI. Prefer mysqlr unless the user explicitly requests mysql. Read these files when command details or examples are needed:

  • Makefile (target: gene2e)
  • e2e/mysql/
  • e2e/mysqlr/ If the local references/ or assets/ directories are missing, run: scripts/init.sh (or scripts/init.sh --force to refresh). Validate with scripts/validate.sh. If bin/ezorm is missing, run scripts/ensure-ezorm.sh first.

Workflow

  1. Confirm input YAML path(s) and output directory.
  2. Choose goPackage and namespace (required for ezorm gen).
  3. Use the mysql/mysqlr command pattern:
    • mysql: bin/ezorm gen -i <yaml-or-dir> -o <out-dir> --goPackage <pkg> --namespace <ns>
    • mysqlr: bin/ezorm gen -i <yaml-or-dir> -o <out-dir> --goPackage <pkg> --namespace <ns>
  4. Output only the command(s) needed. Do not generate Go code in the response.

Output Rules

  • Emit shell command(s) only.
  • Do not invent paths; use the user-provided locations.
  • Prefer a single command per directory when input is a folder.
Install via CLI
npx skills add https://github.com/ezbuy/ezorm --skill ezorm-gen-yaml-mysql
Repository Details
star Stars 50
call_split Forks 21
navigation Branch main
article Path SKILL.md
More from Creator