shell-create

Generate CTP shell test entry scripts from CBRD issues.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate self-contained CUBRID CTP shell testcase entry scripts that pass review on the first attempt, based on CBRD issue numbers and test scenarios.

Core Features & Use Cases

  • Automates creation of entry scripts following the 5-phase lifecycle: init, setup, test, verify, and cleanup.
  • Enforces usage of CTP helper functions (cubrid_createdb, change_db_parameter, write_ok, finish) and proper lifecycle management.
  • Adheres to CTP directory conventions for shell tests (shell/{category}/{test_name}/cases/{test_name}.sh) and supports optional resources (scripts/, references/, assets/).
  • Use Case: Quickly draft reliable shell test scripts for bug fixes or new features, ready for review.

Quick Start

Create a complete entry script scaffold for a new CBRD issue using this skill and fill in the lifecycle steps.

Frequently Asked Questions about shell-create

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

FAQPage Schema
How do I create a CUBRID CTP shell test script for a CBRD issue?

To create a CTP shell test script for a CBRD issue, use this skill to generate a production-ready entry script scaffold. It automatically enforces the 5-phase lifecycle, directory conventions, and CTP helper functions for immediate review readiness.

What is the 5-phase lifecycle in CTP shell test automation?

The 5-phase lifecycle in CTP shell test automation consists of init, setup, test, verify, and cleanup. This skill generates entry scripts structured around these phases to ensure proper test environment management and reliable validation.

Do I need a SKILL.md file to generate CTP shell testcases?

Yes, a mandatory SKILL.md frontmatter with name and description is required to generate CTP shell testcases. This metadata ensures the automated entry script adheres to safety checks and proper helper function usage.

What directory structure does CTP enforce for shell test scripts?

CTP enforces a specific directory structure for shell test scripts: shell/{category}/{test_name}/cases/{test_name}.sh. This skill automatically formats your generated testcases to match these CTP conventions, including optional resources.

Which CTP helper functions are required when writing shell test automation scripts?

Required CTP helper functions for shell test automation scripts include cubrid_createdb, change_db_parameter, write_ok, and finish. This skill enforces their proper usage to ensure lifecycle management and safety checks pass review.

Can I include optional resource files when automating CTP shell test creation?

Yes, you can include optional resource files when automating CTP shell test creation. This skill supports adding directories like scripts/, references/, and assets/ alongside the main entry script for comprehensive test scenario validation.