Ezorm write yaml mongo

From ezbuy/ezorm · View interactive version

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

How to use this skill

Skill file

Ezorm Write Yaml

Scope

Write ezorm YAML schemas from user requirements for mongo and emit YAML only.

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 representation:
  1. Map fields:
  1. Set collection 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.