create-async-handler

Community

Generate Directum AsyncHandlers safely

Authordunaevdmitriys-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps you create a correct Directum RX AsyncHandler (AsyncHandler) for a module by coordinating MTD configuration and server-side C# implementation so the handler is discoverable, consistent, and validated after creation.

Core Features & Use Cases

  • Creates a new AsyncHandler entry in Module.mtd with required fields like Name, delay strategy, parameters (with GUIDs), and handler-generation flags.
  • Implements/updates the server method in ModuleAsyncHandlers.cs using the proper namespace/module layout and handler signature.
  • Guides production-grade patterns and guardrails such as retry behavior, lock handling, logging conventions, and validation workflow via MCP tools.
  • Validates and synchronizes the package after changes to ensure the code and metadata stay consistent and resx keys are aligned.

Quick Start

Ask an AI to: create an AsyncHandler named ProcessDocumentAsync for an existing module, with parameters documentId (LongInteger) and actionType (String), and ensure it uses RegularDelayStrategy with delay period 15 plus post-creation MCP validation and resx synchronization.

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-async-handler
Download link: https://github.com/dunaevdmitriys-dev/directum-mcp-server/archive/main.zip#create-async-handler

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.