ezorm-write-yaml-mysql
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).
от ezbuy★ 50 звёзд на GitHub
Установить ezorm-write-yaml-mysql в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
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:
doc/schema/yaml.mddoc/schema/yaml_mysql.mddoc/schema/yaml_mysqlr.mde2e/mysql/*.yamle2e/mysqlr/*.yamlIf the localreferences/orassets/directories are missing, run:scripts/init.sh(orscripts/init.sh --forceto refresh). Validate withscripts/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 db driver:
- Use
db: mysqlfor classic mysql schemas (seedoc/schema/yaml_mysql.md). - Use
db: mysqlrfor mysqlr schemas (seedoc/schema/yaml_mysqlr.md).
- Use
- Map fields:
- Use mysql/mysqlr field types from the matching doc.
- Add
flagslikeindex,unique,nullable,primary,autoinc,noincas needed. - Use
fkonly when an explicit foreign key is requested.
- Set table metadata:
- Always include
dbname. - Use
tablefor mysql,dbtablefor mysqlr. - Default table names to snake_case of the entity name unless the user provides one.
- Always include
- Add constraints:
- Use
indexes,uniques,primaryas required.
- Use
- 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.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- scripts/init.sh
- scripts/validate.sh
FAQ
Что делает скилл ezorm-write-yaml-mysql?
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).
Как установить скилл ezorm-write-yaml-mysql?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ezorm-write-yaml-mysql запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…