create-initializer

Community

Generate versioned Directum ModuleInitializer safely

Authordunaevdmitriys-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It removes the error-prone, repetitive work of creating and maintaining Directum RX ModuleInitializer logic by generating an idempotent initializer, module constants (GUIDs/versions), and localized resources in a consistent versioned pattern.

Core Features & Use Cases

  • Versioned initialization with migrations: Implements an Initializing flow using ModuleVersionInit-style version gates so that roles, rights, and default data evolve safely across versions.
  • Idempotent creation of roles and reference data: Ensures roles and default entries are created only if missing (e.g., role lookup by Sid, existence checks by name) to prevent duplicates across repeated runs.
  • Automated AccessRights provisioning: Generates role grants across entity/document types and includes required validations and resx synchronization steps to keep permissions and localization consistent.

Use Case: When starting a new Directum RX module for a company, generate the initial roles, rights, and required dictionaries (e.g., statuses, periods, pipelines) so the module can be packaged, validated, and deployed without manual patching.

Quick Start

Ask the AI to create the initializer for your module by providing CompanyCode, ModuleName, roles (name/description), access rights (role-to-type mapping), default data to seed, and optional initialization versions.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: create-initializer
Download link: https://github.com/dunaevdmitriys-dev/directum-mcp-server/archive/main.zip#create-initializer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.