create-response-dto

Community

Generate typed WebAPI DTO responses for Directum RX

Authordunaevdmitriys-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Skill helps create consistent, typed DTO responses for Directum RX WebAPI endpoints instead of returning raw JSON strings, making responses predictable and easier to integrate.

Core Features & Use Cases

  • Creates CommonResponse to standardize IsSuccess and Message across endpoints.
  • Generates Request/Response DTO pairs per endpoint to wrap parameters and deliver a structured payload (Payload) with consistent result semantics.
  • Guides DTO integration into ServerFunctions using Public(WebApiRequestType=...) so endpoints return the expected typed structures.
  • Use case: Refactor an existing WebAPI method that currently returns untyped JSON into a strongly-typed response DTO flow (request → server function → typed response), improving client reliability and validation readiness.

Quick Start

Create DTOs for your WebAPI endpoint by running the create-response-dto skill for the target Module.mtd PublicStructures section.

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

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.