Ezorm write yaml mysql

From ezbuy/ezorm · View interactive version

Ezorm write yaml mysql is an AI agent skill from the GitHub repository ezbuy/ezorm. 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).

How to use this skill

Skill file

Ezorm Write Yaml (MySQL/MySQLr)

Scope

Write ezorm YAML schemas from user requirements for mysql/mysqlr and emit YAML only.

Prefer mysqlr unless the user explicitly requests mysql.

Read these files when schema details or examples are needed:

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.

Workflow

  1. Restate the domain model in simple entities and relationships. Ask one clarification only if critical (missing entities, relationship direction, or required constraints).
  2. Choose db driver:
  1. Map fields:
  1. Set table metadata:
  1. Add constraints:
  1. Output only YAML (no Go code, no prose). Use --- to separate multiple entities.

Output Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.