model-dsl

Generate domain model definitions in DSL format from interactive prompts.

1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/united-software-platform/req-control --skill model-dsl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-dsl
Source: https://github.com/united-software-platform/req-control/tree/main/.claude/skills/model-dsl
Command: npx skills add https://github.com/united-software-platform/req-control --skill model-dsl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Генерация доменных моделей в DSL-формате по интерактивному вводу, позволяя быстро превратить идеи в готовый DSL-блок, который можно внедрить в кодовую базу.

Core Features & Use Cases

  • Интерактивное сбор имени модели и её полей с типами и модификаторами
  • Применение правил DSL: строгие отступы, поддержка pk, fk, nullable и default, валидная семантика полей
  • Генерация готового DSL-блока для ORM/проектирования схем и дальнейшего использования в коде
  • Примеры использования: создание модели пользователя, товара, связей между сущностями

Quick Start

Укажите имя модели и перечисляйте поля по одному на строку в формате <name> <type> [modifiers], после чего получите готовый DSL-блок.

Frequently Asked Questions about model-dsl

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a domain model in DSL format from a text prompt?

To generate a domain model in DSL format, you provide a model name and list fields with types and modifiers. The tool interactively guides you through naming and field definition, producing a ready-to-use DSL block.

What field modifiers are supported when defining DSL models?

DSL model definitions support modifiers including pk, fk, nullable, and default. The generation process enforces DSL syntax rules and validates field definitions to ensure correct semantic formatting.

What is the correct syntax format for adding fields to a DSL model?

The correct syntax for adding fields to a DSL model requires listing each field on a new line using the format <name> <type> [modifiers]. This ensures the generated DSL block is valid and properly formatted.

Can I create relationships between entities using DSL model generation?

Yes, you can create relationships between entities by using the fk modifier when defining fields. The tool validates these field definitions and enforces DSL syntax rules to correctly map foreign key relationships.

Does DSL model generation enforce strict formatting rules for the output block?

DSL model generation enforces strict formatting rules, including strict indentation and valid field semantics. It validates all field definitions against DSL syntax rules before outputting a clean, correctly formatted DSL block.

Why does my generated domain model have invalid field definitions?

Invalid field definitions in a generated domain model occur when the input does not follow the required <name> <type> [modifiers] format. The tool validates field definitions and enforces DSL syntax rules to prevent this.