tkm:generate-testcases

Generate test case artifacts from MoMorph or rebuild-spec feature specifications.

Updated May 13, 2026
One-click install
npx skills add https://github.com/khapn-2933/agentic-coding-hands-on --skill tkm-generate-testcases
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tkm:generate-testcases
Source: https://github.com/khapn-2933/agentic-coding-hands-on/tree/main/.claude/skills/generate-testcases
Command: npx skills add https://github.com/khapn-2933/agentic-coding-hands-on --skill tkm-generate-testcases

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires momorph, rebuild-spec, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of structured test cases from MoMorph screen captures or rebuild-spec feature specifications, saving time and reducing errors in test case generation.

Core Features & Use Cases

  • Test Case Generation: Create or update test cases automatically from MoMorph or rebuild-spec sources.
  • Routing: Determines the source family (MoMorph or rebuild-spec) and selects the appropriate workflow.
  • References: Utilizes predefined rules and guidelines from references/ directories for each family.
  • Execution Contract: Ensures the Skill handles untrusted data, maintains deterministic routing, and preserves original family output formats.

Quick Start

Generate test cases for a given screen ID or spec path with tkm:generate-testcases create screenId [--feature F###] [--ticket ticket.md] [--existing testcase.md].

Frequently Asked Questions about tkm:generate-testcases

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

FAQPage Schema
How do I automate test case generation from feature specifications?

Automating test case generation from feature specifications is done by parsing MoMorph or rebuild-spec inputs to automatically output structured test case artifacts based on predefined routing workflows.

Does test case generation work with both MoMorph and rebuild-spec sources?

Yes, test case generation works with both MoMorph and rebuild-spec sources by determining the source family and automatically selecting the appropriate workflow to preserve the original output format.

How do I generate test cases for a specific screen ID using MoMorph?

To generate test cases for a specific screen ID, execute the create command with the screen ID and optional flags for feature numbers, tickets, or existing test cases to update your software testing artifacts.

Do I need specific libraries to generate test cases from rebuild-spec?

Yes, you need the MoMorph and rebuild-spec libraries installed as dependencies to parse feature specification inputs and handle the output formatting required for deterministic test case generation.

What is the best way to update existing software testing artifacts from specifications?

The best way to update existing software testing artifacts from specifications is to pass the existing testcase file as an argument during automated generation, ensuring untrusted data is handled securely.

Are there limitations when generating test cases from untrusted specification data?

When generating test cases from untrusted specification data, the Skill maintains deterministic routing and enforces an execution contract to preserve original family output formats while mitigating input risks.