ezbuy/ezorm/ezorm-write-yaml-mongo
Claude Code and agent skill by ezbuy/ezorm
- community
Checking that the SKILL.md file is still in the repository.
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).
Install
npx vskill@latest install ezbuy/ezorm/ezorm-write-yaml-mongoSKILL.md
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:
doc/schema/yaml.mddoc/schema/yaml_mongo.mde2e/mongo/*.yaml
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
- Restate the domain model in simple entities and relationships. Ask one clarification only if critical (missing entities, relationship direction, or required constraints).
- Choose representation:
- Embedded structure: define a separate entity with
embed: trueand reference it withlist<EmbedType>orEmbedTypefields. - Separate collection: define separate entities and connect via ID fields.
- Map fields:
- Use mongo field types from
doc/schema/yaml_mongo.md. - Add
flagslikeindex,unique,sort,nullableas needed. - Use
attrswithbsonTag/jsonTagonly when a specific storage name is requested.
- Set collection metadata:
- Always include
tableanddbname. - Default
tableto snake_case of the entity name. - Default
dbnametodefaultunless the user provides one.
- Add constraints:
- Use
indexes,uniques,primaryas required.
- Output only YAML (no Go code, no prose). Use
---to separate multiple entities.
Output Rules
- Emit a valid YAML schema file (or multiple YAML documents) and nothing else.
- Keep names consistent with user domain language.
- Prefer minimal fields; do not invent behavior.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/ezorm-write-yaml-mongo/SKILL.md
Popularity
- Repository stars
- 50
- Repository forks
- 21
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 6 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ezbuy/ezorm/ezorm-write-yaml-mongo)