gen-service

Generate CRUD service wrappers for Dataverse tables and Power Platform connectors.

5|1|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/Ramakrishnan24689/codeapps-toolkit --skill gen-service
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gen-service
Source: https://github.com/Ramakrishnan24689/codeapps-toolkit/tree/main/skills/gen-service
Command: npx skills add https://github.com/Ramakrishnan24689/codeapps-toolkit --skill gen-service

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill automates the generation of production-ready service layers for Dataverse tables and Power Platform connectors, wrapping generated and custom code with robust patterns, error handling, and data transformations.

Core Features & Use Cases

  • Generate domain models, Create/Update DTOs, and CRUD services for Dataverse and connectors.
  • Enforce safe-field handling by excluding system-managed fields, handling boolean fields with as any, and mapping API results to domain models.
  • Useful when setting up data access layers for enterprise Power Apps Code Apps, enabling consistent service patterns across multiple entities.

Quick Start

Invoke gen-service for a Dataverse table or connector by providing the target entity and fields to generate a ready-to-use service wrapper.

Frequently Asked Questions about gen-service

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

FAQPage Schema
How do I generate a service layer for Dataverse tables and Power Platform connectors?

Generate a Dataverse service layer by providing the target entity and fields, which produces ready-to-use CRUD service wrappers, domain models, and Create/Update DTOs for Power Platform connectors.

What are the best patterns for handling system-managed fields in Dataverse CRUD services?

Handling system-managed fields in Dataverse CRUD services involves excluding them from create and update payloads, managing boolean fields with as any, and mapping API results to domain models.

Can I generate domain models and DTOs for Power Platform connectors automatically?

Generating domain models and DTOs for Power Platform connectors is done automatically by providing the target entity and fields, creating consistent service wrappers with toDomainModel transformations and error handling.

Does this code generation approach work with enterprise Power Apps Code Apps?

Yes, this code generation approach works with enterprise Power Apps Code Apps, enabling consistent service patterns across multiple Dataverse entities and connectors with safe data handling.

Why should I use a generated service wrapper instead of writing Dataverse data access code manually?

Using a generated service wrapper instead of writing Dataverse data access code manually enforces consistent CRUD patterns, robust error handling, and safe field handling across multiple entities.