activity-to-usecase-v1

Generate use case specifications, PlantUML diagrams, and JSON from UML activity diagrams.

Updated Feb 19, 2026
One-click install
npx skills add https://github.com/atanaka/uml-workflow-v3 --skill activity-to-usecase-v1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: activity-to-usecase-v1
Source: https://github.com/atanaka/uml-workflow-v3/tree/main/skills/activity-to-usecase-v1
Command: npx skills add https://github.com/atanaka/uml-workflow-v3 --skill activity-to-usecase-v1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Infers concrete use cases from UML activity diagrams to accelerate MBSE workflows.

Core Features & Use Cases

  • Infers a temporary domain model from activity diagrams without requiring a class diagram
  • Generates individual Markdown Use Case Specifications (Cockburn format) for all use cases
  • Produces a PlantUML Use Case Diagram
  • Outputs structured JSON for downstream code generation
  • Optional XMI model support
  • Multilingual output with language inheritance from the activity diagram

Quick Start

Provide an activity diagram input to the skill and review the generated use-case artifacts (markdown specs, diagrams, and JSON output).

Frequently Asked Questions about activity-to-usecase-v1

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

FAQPage Schema
How do I generate use cases from a UML activity diagram?

Use cases are extracted from a UML activity diagram by inferring a temporary domain model without requiring a pre-existing class diagram. The process outputs individual Markdown Use Case Specifications in Cockburn format and structured JSON data.

Can I extract use cases from an activity diagram without a class diagram?

Yes, you can extract use cases without a class diagram. The tool infers a temporary domain model directly from the activity diagram input to generate use case specifications and PlantUML diagrams.

Does use case extraction from activity diagrams support multilingual output?

Yes, multilingual output is supported. The tool honors language settings inherited from the activity diagram or auto-detects language to generate multilingual artifacts suitable for diverse development teams.

What is the best way to convert PlantUML activity diagrams into JSON for code generation?

To convert activity diagrams into JSON for code generation, use an extraction tool that infers use cases and outputs structured JSON data. This process also yields PlantUML use case diagrams and Markdown specifications.

How do I export XMI models from inferred use cases in an MBSE workflow?

Exporting XMI models from inferred use cases in an MBSE workflow is supported through optional XMI model generation. This runs alongside standard JSON data and Markdown Use Case Specification outputs.

When do I need to infer a domain model from an activity diagram?

You need to infer a domain model from an activity diagram when accelerating MBSE workflows without a pre-existing class diagram. This generates concrete, sprint-sized use cases directly from activity flows.