ck:scenario

Generate edge case lists and test scenarios with severity labels.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/hidonguyen/trade-ops --skill ck-scenario-hidonguyen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ck:scenario
Source: https://github.com/hidonguyen/trade-ops/tree/main/.opencode/skills/ck-scenario
Command: npx skills add https://github.com/hidonguyen/trade-ops --skill ck-scenario-hidonguyen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Surface overlooked edge cases, risks, and test targets early in the development lifecycle so implementations and tests catch issues before they reach production.

Core Features & Use Cases

  • 12-dimension decomposition: Break features into user types, input extremes, timing, scale, state transitions, environment, error cascades, authorization, data integrity, integration, compliance, and business logic.
  • Targeted scenario generation: Filter relevant dimensions, generate 3–5 scenarios per dimension, and classify each by severity (Critical/High/Medium/Low).
  • Structured output for workflows: Emit a table formatted for test case generation, risk assessment, and integration with downstream skills like test generation and planning.
  • Use Cases: Pre-implementation risk reviews, API contract validation, comprehensive test-plan seeding during code review, and QA scenario generation.

Quick Start

Use the command /ck:scenario followed by a file path or concise feature description, for example /ck:scenario src/api/payment.ts.

Frequently Asked Questions about ck:scenario

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

FAQPage Schema
How do I generate test scenarios and identify edge cases for a new API feature?

Feature decomposition for test planning breaks a feature into 12 dimensions like input extremes, timing, and error cascades. It generates targeted scenarios per dimension, classified by severity, to surface risks and test targets early before implementation begins.

What is the best way to structure QA scenario generation for risk assessment workflows?

Structured scenario generation emits tables formatted for direct consumption by testers and engineers. It filters relevant dimensions, classifies scenarios by Critical, High, Medium, or Low severity, and defines expected behaviors to seamlessly integrate with downstream test generation workflows.

Can I use feature decomposition to validate API contracts during code review?

Yes, you can use feature decomposition to validate API contracts during code review. Applying the 12-dimension decomposition to an API path surfaces authorization, data integrity, and error cascade risks, producing structured scenarios that catch implementation issues before release.

Does scenario generation work with existing source code files like payment processing modules?

Yes, scenario generation works directly with source code files. By passing a file path like a payment processing module, the system evaluates state transitions, data integrity, and business logic dimensions to produce targeted test scenarios and identify critical edge cases.

What dimensions are covered when generating edge cases for software engineering features?

Edge case generation covers 12 dimensions: user types, input extremes, timing, scale, state transitions, environment, error cascades, authorization, data integrity, integration, compliance, and business logic. This decomposition ensures comprehensive test coverage and early risk assessment.