isolation-create

Generate CUBRID CTP isolation testcase .ctl files from bug or feature descriptions.

1|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/tw-kang/skills --skill isolation-create
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: isolation-create
Source: https://github.com/tw-kang/skills/tree/main/isolation-create
Command: npx skills add https://github.com/tw-kang/skills --skill isolation-create

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating well-formed CUBRID CTP isolation testcase files is repetitive and error-prone, and teams need consistent scaffolding, headers, synchronization, and cleanup to avoid flaky or non-runnable tests. This Skill provides a rule-driven template and checklist so authors can produce ready-to-run .ctl files that follow CTP conventions and directory naming standards.

Core Features & Use Cases

  • Generate .ctl scaffolds that include a complete header block, NUM_CLIENTS setup, MC and Cx commands, phase comments, and cleanup steps.
  • Enforce conventions such as isolation-level directories, sequential numbering, lock timeout setup, explicit client quit, and synchronization barriers to prevent interleaving.
  • Use Cases: drafting a bug-fix isolation test for a CBRD issue, creating a new feature isolation test under the features directory, and producing variants of a scenario with correct numbering and documentation.

Quick Start

Create an isolation testcase draft for CBRD-12345 that verifies read committed lock contention between two clients.

Frequently Asked Questions about isolation-create

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

FAQPage Schema
How do I generate CUBRID CTP isolation testcases from a bug description?

CUBRID CTP isolation testcases are generated by processing a bug or feature description into .ctl files. The output includes properly formatted headers, NUM_CLIENTS setup, MC and Cx synchronization commands, lock timeout settings, and cleanup steps for concurrent clients.

What is an isolation test in CUBRID and when do I need a .ctl file?

An isolation test in CUBRID verifies database behavior with two or more concurrent clients under isolation levels like READ COMMITTED, REPEATABLE READ, and SERIALIZABLE. A .ctl file is needed to define MC and Cx commands, synchronization barriers, and cleanup steps for the CTP framework.

How to structure a .ctl file for CUBRID isolation testing with multiple concurrent clients?

Structure a .ctl file by following CTP header and body conventions, setting NUM_CLIENTS, defining MC and Cx commands with synchronization barriers, configuring lock timeout and isolation levels, and adding explicit client quit and cleanup steps to prevent interleaving issues.

Does CUBRID CTP support isolation level directories and sequential testcase numbering?

Yes, CUBRID CTP supports isolation level directories and sequential testcase numbering. Generated .ctl files enforce these directory naming standards, placing tests under appropriate isolation-level directories with correct sequential numbering and documentation for bug-fix or feature scenarios.

Why do my CUBRID isolation tests fail with interleaving or lock timeout errors?

CUBRID isolation tests fail with interleaving when missing synchronization barriers between MC and Cx commands. Generated .ctl files prevent this by enforcing explicit lock timeout setup, isolation settings, synchronization barriers, and explicit client quit commands to ensure proper cleanup and sequential execution.

Can I create isolation test variants for different concurrency scenarios in CUBRID?

Yes, you can create isolation test variants for different concurrency scenarios in CUBRID. The generation process produces scenario variants with correct sequential numbering, proper documentation, and formatted .ctl files supporting common isolation level combinations like READ COMMITTED, REPEATABLE READ, and SERIALIZABLE.