disc

Convert UML sequence diagrams and decision tables into tests and implementation.

1|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/mossgreen/design-is-code-plugin --skill disc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: disc
Source: https://github.com/mossgreen/design-is-code-plugin/tree/main/skills/disc
Command: npx skills add https://github.com/mossgreen/design-is-code-plugin --skill disc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

DisC bridges the gap between precise design and deterministic code by converting UML sequence diagrams and decision tables into a complete test-and-implementation pipeline, removing ambiguity from AI-assisted coding.

Core Features & Use Cases

  • Deterministic design-to-test-to-implementation workflow: tests are derived from design and code from tests.
  • Supports two design feeds: sequence diagrams (interaction structure) and decision tables (behaviour) to produce robust artifacts.
  • Handles branching, loops, exceptions, and leaves with descriptions like pure function, side effects, and factories.
  • Generates both consumer orchestration tests and leaf-function tests when needed.

Quick Start

Provide your design under design/ (UML diagrams and decision tables) and let DisC generate tests and implementation from the designs.

Frequently Asked Questions about disc

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

FAQPage Schema
How do I generate deterministic tests from UML sequence diagrams?

You can generate deterministic tests from UML sequence diagrams by feeding design artifacts into a two-phase pipeline that derives tests from the design structure first, then derives implementation from those tests to guarantee code matches the original contract.

What is the best way to convert decision tables into working code?

Converting decision tables into working code is best achieved through a design-to-test-to-implementation pipeline that transforms behavior tables into consumer orchestration and leaf-function tests, which subsequently drive the final code generation.

Can I use mockist testing to handle branches and exceptions in generated code?

Yes, mockist testing handles branches, loops, and exceptions in generated code by deriving both consumer orchestration tests and leaf-function tests from your design artifacts, explicitly covering pure functions, side effects, and factory descriptions.

Does design-to-code workflow support both orchestrator and leaf function roles?

Yes, design-to-code workflows support both orchestrator and leaf function roles by generating targeted consumer orchestration tests alongside leaf-function tests from your sequence diagrams and decision tables, ensuring complete behavioral coverage across roles.

Why do I need decision tables for AI-assisted coding?

You need decision tables for AI-assisted coding to remove ambiguity by providing precise behavioral feeds that, alongside sequence diagrams, produce robust artifacts for deterministic test and implementation generation.