johnnystefan/test-saas-business/uml-interaction-diagrams

Claude Code and agent skill by johnnystefan/test-saas-business

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Document object interactions over time using UML Sequence Diagrams with Mermaid. Trigger: When documenting behavioral patterns, message flows, or interactions between objects/services.

Install

npx vskill@latest install johnnystefan/test-saas-business/uml-interaction-diagrams

SKILL.md

The same SKILL.md was published earlier as johnnystefan/test-saas-business/uml-interaction-diagrams.

Skill: Advanced UML — Interaction and Sequence Diagrams

Purpose

This skill enables the agent to document and interpret how objects interact over time using Sequence Diagrams. It is crucial for explaining behavioral patterns like Observer, Mediator, and Command.

Notation Guide

1. Lifelines and Activation
  • Lifelines: Vertical dashed lines representing an object's existence over time.
  • Activation Bar: Thin rectangle on the lifeline showing when an object is actively performing an operation.
2. Message Arrows
  • Synchronous Call: Solid line with a filled arrowhead (waiting for response).
  • Return Message: Dashed line with a simple arrowhead.
  • Asynchronous Call: Solid line with a simple arrowhead (no waiting).

Procedural Instructions

1. Mapping Patterns to Interaction
  • Observer: Show the Publisher sending notify() to all Subscriber lifelines.
  • Mediator: Show multiple Component lifelines sending events to the Mediator, and the Mediator dispatching calls back to them.
2. Generating Mermaid Sequence Code

When documenting logic, use the following structure:

mermaid
sequenceDiagram
participant A as ClassA
participant B as ClassB
A->>B: MethodCall()
B-->>A: ReturnValue
3. Example: Observer Pattern
mermaid
sequenceDiagram
participant S as Store (Publisher)
participant E as EmailAlert (Subscriber)
participant L as Logger (Subscriber)
S->>E: update("stock changed")
S->>L: update("stock changed")

Payoff

  • Clarity in Logic: Visualizes complex message passing that is hard to trace in code.
  • Standardized Documentation: Uses industry-standard notation understood by humans and agents.
  • Pattern Verification: Confirms that behavioral patterns are implemented correctly.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/johnnystefan/test-saas-business/uml-interaction-diagrams/badge)](https://verified-skill.com/skills/johnnystefan/test-saas-business/uml-interaction-diagrams)

Something wrong with this skill or its page? Tell us.