create-isolated-function

Create Directum RX IsolatedArea functions for .NET 8 external-library processes.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/dunaevdmitriys-dev/directum-mcp-server --skill create-isolated-function
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-isolated-function
Source: https://github.com/dunaevdmitriys-dev/directum-mcp-server/tree/main/skills/create-isolated-function
Command: npx skills add https://github.com/dunaevdmitriys-dev/directum-mcp-server --skill create-isolated-function

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of implementing heavy or third-party-code tasks in Directum RX by isolating them into a separate .NET 8 IsolatedArea process so the main platform services remain stable.

Core Features & Use Cases

  • IsolatedArea design for external libraries: provides a contract and workflow for using third-party dependencies (e.g., Aspose, Newtonsoft) without accessing Directum entities or repositories inside Isolated code.
  • Stream-safe integration patterns: standardizes how to pass inputs/outputs (notably Stream usage rules) and how to avoid unsupported transfers like entities or repositories.
  • Production-ready function scaffolding guidance: documents how to create Isolated projects in DDS, define function contracts, mark serializable structures with [Public(Isolated=true)], and connect server calls to IsolatedMethods.

Quick Start

Ask the AI to generate a Directum RX IsolatedArea implementation plan for a new XLSX parsing function, including the correct serializable input/output types, required .NET 8 Isolated project structure, and the exact server-side call signature expectations.

Frequently Asked Questions about create-isolated-function

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

FAQPage Schema
How do I run Aspose XLSX parsing in Directum RX without crashing core platform services?

You can isolate XLSX parsing in Directum RX by moving the logic into a separate .NET 8 IsolatedArea process. This prevents third-party dependencies from affecting core platform stability.

Does Directum RX support calling external libraries in an isolated process?

Yes, Directum RX supports external libraries in an isolated process by using IsolatedArea functions. You wire server calls to Sungero.<Module>.IsolatedFunctions.<Area>.<Method> to execute resource-intensive tasks safely.

How do I pass data to Directum RX IsolatedArea functions?

You pass data to Directum RX IsolatedArea functions by using contract types limited to serializable primitives, structures, and Stream. Direct entities or repositories cannot be transferred into the isolated environment.

When should I use IsolatedArea functions for document generation in Directum RX?

Use IsolatedArea functions for document generation when tasks involve resource-intensive logic or external API calls. Isolating these processes in a separate .NET 8 environment ensures main Directum RX services remain stable.

What's the best way to structure contracts for Directum RX IsolatedArea functions?

The best way to structure contracts is defining serializable input and output types, marking shared structures with [Public(Isolated=true)], and creating dedicated Isolated projects in DDS for the function scaffolding.

Why does my Directum RX isolated function fail when passing domain entities?

Directum RX isolated functions fail when passing domain entities because the isolated environment restricts transfers to serializable primitives, structures, and Stream only. Entities and repositories are unsupported inside Isolated code.