aibdd-form-class-diagram

Generate Mermaid classDiagram files from collaborators and relations.

77|15|Updated May 12, 2026
One-click install
npx skills add https://github.com/Waterball-Software-Academy/aixbdd --skill aibdd-form-class-diagram
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aibdd-form-class-diagram
Source: https://github.com/Waterball-Software-Academy/aixbdd/tree/main/.agents/skills/aibdd-form-class-diagram
Command: npx skills add https://github.com/Waterball-Software-Academy/aixbdd --skill aibdd-form-class-diagram

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill converts a BDD reasoning package’s collaborator-and-relation set into a boundary-aware Mermaid classDiagram file, so downstream work can rely on a consistent, validated diagram artifact rather than guessing.

Core Features & Use Cases

  • Mermaid classDiagram rendering: Produces a .class.mmd file containing only the supported dialect elements (class declarations, allowed link glyphs, and notes).
  • SOP guardrails: Validates that the output path ends with .class.mmd, prevents accidental overwrites, and runs syntax evaluation immediately after writing.
  • Error-first behavior: Returns a clear validation report when the generated Mermaid file fails the strict-subset evaluator.

Quick Start

Use the aibdd-form-class-diagram skill to generate a Mermaid classDiagram file at the requested .class.mmd path from the caller-provided collaborators and relationships.

Frequently Asked Questions about aibdd-form-class-diagram

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

FAQPage Schema
How do I generate a Mermaid class diagram from BDD collaborators and relations?

To generate a Mermaid class diagram, provide your BDD collaborator and relation sets to produce a boundary-aware `.class.mmd` file. The diagram contains only supported dialect elements like class declarations, allowed link glyphs, and notes for consistent downstream documentation.

What is boundary-aware class diagram generation in BDD planning?

Boundary-aware class diagram generation in BDD planning converts reasoning packages into Mermaid class diagrams that enforce consistent structural boundaries. This ensures downstream work relies on a validated diagram artifact rather than guessing collaborator relationships and limits.

How do I validate Mermaid syntax for a generated class diagram file?

You validate Mermaid syntax by running the `scripts/evaluate.py` evaluator immediately after writing the `.class.mmd` file. It checks the output against a strict Mermaid subset and returns a clear JSON pass/fail validation report.

Does the Mermaid class diagram generator support all Mermaid syntax elements?

The Mermaid class diagram generator does not support all syntax elements; it uses a strict Mermaid subset for deterministic rendering. It only produces allowed class declarations, link glyphs, and notes to ensure validation passes and boundary consistency.

Why does my generated Mermaid class diagram fail syntax validation?

Your generated Mermaid class diagram fails syntax validation when it includes elements outside the strict Mermaid subset evaluated by `scripts/evaluate.py`. The Skill returns an error-first validation report indicating which boundary-aware constraints were violated.

Can I use this Mermaid diagram generator without a BDD planning pipeline?

You can use this Mermaid diagram generator without a full BDD pipeline, but it is optimized for BDD-oriented planning and documentation workflows. It requires caller-provided collaborators and relationships to output a deterministic, boundary-aware `.class.mmd` artifact.