syncable-entity-testing

Generate integration tests for syncable entities in Twenty CRM.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/kanojiyapratik/twentycrm --skill syncable-entity-testing-kanojiyapratik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: syncable-entity-testing
Source: https://github.com/kanojiyapratik/twentycrm/tree/main/.cursor/skills/syncable-entity-testing
Command: npx skills add https://github.com/kanojiyapratik/twentycrm --skill syncable-entity-testing-kanojiyapratik

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures the reliability and correctness of syncable entities within the Twenty CRM by providing a comprehensive framework for integration testing. It addresses the critical need for thorough validation of entity creation, updating, and deletion operations.

Core Features & Use Cases

  • Comprehensive Test Suite: Covers all validation scenarios, input transpilation exceptions, and successful CRUD operations for syncable entities.
  • Mandatory Testing: Enforces that integration tests are a required step for all syncable entities before deployment.
  • Reusable Utilities: Provides patterns for creating query factories and wrapper utilities to streamline test writing.
  • Use Case: When developing a new metadata entity (e.g., a custom contact field), use this Skill to generate and run integration tests that verify all possible valid and invalid inputs, ensuring the entity behaves as expected under all conditions.

Quick Start

Use the syncable-entity-testing skill to create integration tests for a new syncable entity named 'my-entity'.

Frequently Asked Questions about syncable-entity-testing

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

FAQPage Schema
How do I write integration tests for syncable entities in Twenty CRM?

Integration tests for syncable entities in Twenty CRM are generated using patterns for query factories and wrapper utilities to validate CRUD operations, input transpilation, and exceptions. This ensures mandatory test coverage before deployment.

What are the best practices for testing CRUD operations and validator exceptions for custom entities?

Best practices for testing CRUD operations and validator exceptions involve generating comprehensive integration tests that cover both successful and failing cases for creation, updating, and deletion using reusable query factory patterns.

How do I validate input transpilation errors for CRM syncable entities?

Input transpilation errors for CRM syncable entities are validated by generating integration tests that specifically target and assert exceptions during the creation and update lifecycle of the entity.

Does Twenty CRM require mandatory integration testing before deploying new metadata entities?

Yes, Twenty CRM requires mandatory integration testing for all syncable entities before deployment to ensure the reliability and correctness of entity creation, updating, and deletion operations.

Can I use query factories and wrapper utilities to streamline syncable entity test creation?

Yes, you can use query factories and wrapper utilities to streamline syncable entity test creation by reusing established patterns to quickly generate failing and successful test cases for CRUD operations.