> REGISTRY // obelaw // ium-developmint
GITHUB SKILL v1.0.0 MIT

obelaw / ium-developmint_

// Ium Developmint

Comprehensive architectural guide, scaffolding workflow, and reference for developing Obelawium (IUM) domain modules

INSTALLATION COMMAND_ ZERO TOKEN REQUIRED // PUBLIC
$ onsynk add obelaw/ium-developmint -y
$ onsynk add obelaw/ium-developmint

Documentation (README.md / SKILL.md)

SYNCED FROM GITHUB

Obelawium Module Development Skill (ium-developmint)

Skill Version Core Package License

An AI agent and developer skill for architecting, scaffolding, building, testing, and maintaining headless domain modules within the Obelawium (IUM) ERP ecosystem (obelaw/ium).


Key Capabilities

  • Fluent Gateway DSL: Unified domain entry and orchestration via ium()->[domain]()->[service]()->[method]().
  • Core Engine Primitives: Detailed coverage of ObelawiumManager, Domain, ObelawConfigManager, GlobalConfigManager, IumConfigEnum, BaseDto, ModelBase, and MigrationBase.
  • Automated Module Scaffolding: Turnkey PowerShell scaffolding script (scripts/scaffold-module.ps1) that generates a complete, test-ready module skeleton in seconds.
  • Persistence & Multi-Tenancy Isolation: Automatic ium_<slug>_ table prefixing and dynamic database connection routing (obelawium.db.connection).
  • Strict Domain Boundaries: Headless business engine architecture, immutable DTO contracts, DB::transaction() atomicity, polymorphic cross-domain references, and Anti-Corruption Layer (ACL) event ingestion.
  • Orchestra Testbench & PestPHP Setup: Ready-to-use testing templates for isolated in-memory SQLite verification.

Quick Example

use Obelaw\Ium\Crm\Data\CreateLeadDto;

// 1. Check domain registration
if (ium()->hasDomain('crm')) {
    // 2. Execute domain mutation via fluent DSL
    $lead = ium()->crm()->leads()->create(CreateLeadDto::from([
        'code'     => 'LEAD-2026-001',
        'name'     => 'Acme Corporation',
        'actor_id' => 'user-01',
    ]));

    // 3. Query domain service
    $activeLeads = ium()->crm()->leads()->list();
}

Fast Scaffolding

Generate a complete, compliant module skeleton using the bundled script:

powershell -ExecutionPolicy Bypass -File scripts/scaffold-module.ps1 -Slug crm -ModuleName Crm -Entity Lead -BasePath packages

References & Documentation

Document Purpose
SKILL.md Core philosophy, naming conventions, 10-step development workflow, and decision matrix.
Architecture & Core Engine Deep dive into obelaw/ium internals (ObelawiumManager, config managers, helpers, base classes, and lifecycle).
Boilerplate Templates Copy-pasteable PHP & JSON templates for every file in a compliant IUM domain module.
Conventions & Checklist Naming matrix across real modules, architectural invariants, and pre-flight verification checklist.
Testing & Verification Orchestra Testbench setup, PestPHP configuration, gateway integration tests, and DTO/Model unit test patterns.
Scaffolding Script PowerShell automation script to scaffold new IUM domain packages.

License

Licensed under the MIT License.

REPOSITORY CONFIGURATION (onsynk.json)

SCHEMA V1

This specification file resides at the root of the linked GitHub repository and defines the skill manifest.

{
  "organization": "obelaw",
  "skill": "ium-developmint",
  "version": "1.0.0",
  "license": "MIT" ,
  "description": "Comprehensive architectural guide, scaffolding workflow, and reference for developing Obelawium (IUM) domain modules"
}

Skill Details

// MAINTAINER ORGANIZATION slug: obelaw
// CURRENT VERSION
v1.0.0 STABLE
// LICENSE MIT
// TOTAL INSTALLS
⬇ 18
Published: 2026-10-19
Updated: 6 days ago

CLI & AUTOMATION API

// METADATA ENDPOINT
GET https://onsynk.com/api/v1/skills/obelaw/ium-developmint
// DIRECT DOWNLOAD ENDPOINT
GET https://onsynk.com/api/v1/skills/obelaw/ium-developmint?yes=1