一键导入
ezorm-gen-yaml-mongo
Generate Go code from ezorm YAML (mongo). Use when asked to produce Go output from mongo YAML schemas; provide the exact ezorm CLI command(s).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate Go code from ezorm YAML (mongo). Use when asked to produce Go output from mongo YAML schemas; provide the exact ezorm CLI command(s).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Entry point for ezorm repo skills. Use to pick the right skill based on task (write YAML vs generate code, and mongo vs mysql/mysqlr).
Generate Go code from ezorm YAML (mysql/mysqlr). Prefer mysqlr unless the user explicitly asks for mysql. Provide the exact ezorm CLI command(s).
Write ezorm YAML schema files for this repo (mongo only). Use when asked to define or update ezorm YAML for mongo collections, fields, indexes, flags, embeds, or relations; output YAML only (no Go code).
Write ezorm YAML schema files for this repo (mysql/mysqlr). Prefer mysqlr unless the user explicitly asks for mysql. Output YAML only (no Go code).
| name | ezorm-gen-yaml-mongo |
| description | Generate Go code from ezorm YAML (mongo). Use when asked to produce Go output from mongo YAML schemas; provide the exact ezorm CLI command(s). |
Generate Go code from ezorm YAML schema files for mongo using the ezorm CLI.
Read these files when command details or examples are needed:
Makefile (target: gene2e)e2e/mongo/
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.ezorm gen).bin/ezorm gen -i <yaml-or-dir> -o <out-dir> --goPackage <pkg> --namespace <ns>