syncable-entity-integration

Wire syncable entity services into NestJS modules for Twenty entities.

1|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/consuelohq/opensaas --skill syncable-entity-integration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: syncable-entity-integration
Source: https://github.com/consuelohq/opensaas/tree/main/.cursor/skills/syncable-entity-integration
Command: npx skills add https://github.com/consuelohq/opensaas --skill syncable-entity-integration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Wire syncable entity services into NestJS modules, enabling a cohesive service layer and resolvers for Twenty entities with robust error handling.

Core Features & Use Cases

  • Registers services in builder, validators, and action-handlers to assemble a modular architecture.
  • Creates a service layer that returns flat entities for predictable composition.
  • Creates a resolver layer that converts flat entities to DTOs for GraphQL exposure, using an exception interceptor for consistent error handling.
  • Facilitates end-to-end integration by wiring builder, validator, and runner steps into a single workflow.

Quick Start

Read and implement the six-step integration pattern to wire builder, validator, and action-handlers, create service and resolver layers, and apply the GraphQL exception interceptor.

Frequently Asked Questions about syncable-entity-integration

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

FAQPage Schema
How do I wire services and resolvers into NestJS for entity integration?

Wiring services and resolvers into NestJS involves registering syncable entity services across builder, validator, and action-handler steps to ensure a coherent service, resolver, and DTO flow. This approach enforces service-first logic and interceptor usage to align with existing architecture.

How do I convert flat entities to GraphQL DTOs in a NestJS service layer?

Converting flat entities to GraphQL DTOs in NestJS requires a resolver layer that transforms predictable flat entities returned by the service layer. This exposes data through GraphQL while applying an exception interceptor for consistent error handling.

What's the best way to handle errors in NestJS GraphQL resolvers for Twenty entities?

Handling errors in NestJS GraphQL resolvers for Twenty entities is managed by applying a GraphQL exception interceptor. This enforces consistent error handling across the resolver layer during the conversion of flat entities to DTOs.

Can I use a service-first architecture for Twenty entity migration in NestJS?

Using a service-first architecture for Twenty entity migration in NestJS is supported by registering services in builder, validator, and action-handler integration steps. This creates a modular architecture that returns flat entities for predictable composition.

Why do I need to wire builder, validator, and action-handler steps together for NestJS integration?

Wiring builder, validator, and action-handler steps together facilitates end-to-end integration by assembling these components into a single workflow. This ensures a coherent service, resolver, and DTO flow during syncable entity integration.

Does syncable-entity-integration enforce interceptor usage for NestJS module wiring?

Syncable-entity-integration does enforce interceptor usage during NestJS module wiring. It applies GraphQL exception interceptors within the resolver layer to guarantee consistent error handling and align with the existing service-first architecture.