doc-ut-pw

Generate and revise UT-PW documents with factors, levels, and exclusion conditions.

1|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/tsuji-tomonori/diopside-v3 --skill doc-ut-pw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc-ut-pw
Source: https://github.com/tsuji-tomonori/diopside-v3/tree/main/.opencode/skills/doc-ut-pw
Command: npx skills add https://github.com/tsuji-tomonori/diopside-v3 --skill doc-ut-pw

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the creation and revision of Unit Test Pairwise (UT-PW) documents, ensuring adherence to diopside's standards for defining factors, levels, and exclusion conditions for screen and backend components.

Core Features & Use Cases

  • Standardized Document Creation: Generates UT-PW documents (UT-PW-*.md) in the specified directory structure.
  • Factor and Level Definition: Assists in defining factors (in Japanese) and their corresponding levels for pairwise testing.
  • Exclusion Condition Management: Helps specify combinations that should be excluded from testing.
  • Use Case: When developing a new feature that requires pairwise testing for its backend API, use this Skill to define the test factors (e.g., 'User Role', 'Request Payload Type') and their valid/invalid combinations, ensuring comprehensive test coverage.

Quick Start

Use the doc-ut-pw skill to create a new UT-PW document for the user authentication module.

Frequently Asked Questions about doc-ut-pw

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

FAQPage Schema
How do I generate pairwise testing documents for unit tests?

To generate pairwise testing documents for unit tests, you define factors, levels, and exclusion conditions to create standardized UT-PW markdown files. This approach ensures comprehensive test coverage by systematically managing valid and invalid variable combinations.

What are pairwise testing factors and levels in software development?

Pairwise testing factors are independent variables or conditions in a software component, while levels are the distinct values those factors can take. Defining them systematically ensures comprehensive test coverage across screen and backend components without exhaustive combinations.

How do I create unit test documents that include exclusion conditions?

To create unit test documents with exclusion conditions, you specify invalid factor combinations that should be omitted from the test matrix. This prevents logically impossible or redundant test cases from being generated during pairwise testing analysis.

Can I use pairwise testing for both backend APIs and screen components?

Yes, pairwise testing can be applied to both backend APIs and screen components. You can define specific test factors like User Role or Request Payload Type for backend logic, and UI states for screen components, ensuring comprehensive coverage across the stack.

Do I need a specific script to generate pairwise markdown files?

Generating pairwise markdown files requires a specific script, such as a Python execution tool, to process the defined factors and exclusion conditions. The document creation skill outputs the prerequisite metadata needed to run the pairwise generation script successfully.

What metadata is required in pairwise test code blocks?

Pairwise test code blocks require specific metadata including meta.id, meta.title, meta.target, meta.output, meta.up, meta.related, factors, and excludes. Adhering to this output contract ensures the generated UT-PW document integrates correctly with downstream test generation scripts.