What problem does it solve?
This skill helps engineers quickly produce well-formed HA replication CUBRID CTP SQL testcases that follow CTP conventions, enforce commit/check discipline, and ensure master-to-slave consistency checks for new bug fixes or feature tests.
Core Features & Use Cases
- Generates
.sql test files annotated with --test: and --check: markers to drive master-only actions and cross-node verification.
- Enforces one-statement-per-line rules, requires
--test: COMMIT; after DML batches, and recommends deterministic ORDER BY in checks and explicit primary keys.
- Use cases: drafting a new ha_repl testcase for a CBRD issue, creating DDL/DDL+data replication scenarios, and producing cleanup-safe, re-runnable tests that fit CTP directory conventions.
Quick Start
Create a draft ha_repl testcase for CBRD-12345 including header, setup, 3–6 check points, commit discipline, and cleanup.