generate-interface-uml

Official

Generate interface UML diagrams from existing call flows.

Authoropenharmonyinsight
Version1.0.0
Installs0

System Documentation

What problem does it solve?

When designing or reviewing new OpenHarmony interfaces, it’s hard to quickly visualize how client calls traverse IPC layers and reach the final target classes, which slows down alignment and increases design mistakes.

Core Features & Use Cases

  • PlantUML sequence diagram generation: Produces a clear end-to-end call flow (client → interface → IPC → service thread → target execution) in a structured diagram.
  • PlantUML class diagram generation: Builds a relationship map between client/service/static layers and the relevant IPC connection and agent components.
  • Reference-based diagram construction: Uses an existing similar interface implementation to infer the call chain and generate accurate UML for the new interface.

Typical Use Case: You introduce a new API method and want stakeholders to understand the IPC and thread execution path without manually drawing diagrams from scratch.

Quick Start

Ask the AI to generate UML for your new interface by providing the interface name(s), parameter/return types, a similar reference interface in the codebase, the ultimately called target class, and the output directory.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: generate-interface-uml
Download link: https://github.com/openharmonyinsight/openharmony-skills/archive/main.zip#generate-interface-uml

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.