UnitTesting-convert2CaTDD

Convert legacy test files to CaTDD format with structured comments.

1|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/EnigmaWU/MyCodeAgentSkills --skill unittesting-convert2catdd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: UnitTesting-convert2CaTDD
Source: https://github.com/EnigmaWU/MyCodeAgentSkills/tree/main/UnitTesting-convert2CaTDD
Command: npx skills add https://github.com/EnigmaWU/MyCodeAgentSkills --skill unittesting-convert2catdd

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill converts existing test files into CaTDD (Comment-alive Test-Driven Development) format, enhancing test design and enabling efficient collaboration between humans and AI.

Core Features & Use Cases

  • Test Conversion: Converts test files to CaTDD format with structured comments.
  • Verification Design: Extracts User Stories, Acceptance Criteria, and Test Cases for clear test design.
  • LLM Collaboration: Facilitates AI-powered test generation and modification based on structured comments.
  • Use Case: Use this Skill to refactor legacy tests into CaTDD format for improved test maintainability and AI-assisted development.

Quick Start

Convert the test file at 'path/to/test_file.py' to CaTDD format using the UnitTesting-convert2CaTDD skill.

Frequently Asked Questions about UnitTesting-convert2CaTDD

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

FAQPage Schema
How do I convert legacy test files to CaTDD format for AI collaboration?

To convert legacy test files to CaTDD format, use this Skill to extract and structure test information like User Stories, Acceptance Criteria, and Test Cases into structured comments, enabling better readability and AI-assisted code generation.

Can I refactor existing unit tests to extract User Stories and Acceptance Criteria?

Yes, you can refactor existing unit tests by applying structured comments to extract User Stories and Acceptance Criteria, transforming legacy test files into a structured CaTDD format for clearer verification design.

How do structured comments in test files facilitate LLM collaboration?

Structured comments in test files facilitate LLM collaboration by providing extracted and organized test information, allowing AI systems to efficiently understand test design and generate or modify code based on the structured CaTDD format.

Do I need any specific testing framework to apply CaTDD structured comments to my tests?

No specific testing framework is required as a dependency, because the conversion applies structured comments to extract test information directly from your existing test files, making the test design traceable by humans and AI systems.

What are the limitations of converting tests to CaTDD format?

The conversion requires analysis of your existing test files to extract test information, meaning poorly designed or undocumented legacy tests may need manual review to accurately structure User Stories and Acceptance Criteria into the CaTDD format.