원클릭으로
class-diagram-creator
Use this skill to create a class diagram in markdown format for the given class.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use this skill to create a class diagram in markdown format for the given class.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | class-diagram-creator |
| description | Use this skill to create a class diagram in markdown format for the given class. |
This skill provides guidelines and procedures for extracting class structures and generating Mermaid class diagrams for classes in the PicoLibrary project.
When creating a class diagram, perform the following steps to gather necessary details:
class ChildClass(ParentClass1, ParentClass2):.machine, framebuf, etc.).<|-- (e.g., ParentClass <|-- ChildClass).constants). Exclude private class attributes (prefixed with _).__init__ constructor for assignments to self (e.g., self.pin = pin)._).+name : type (e.g., +pin : int).__init__._._ (except __init__).+method_name(param1: type) : return_type.-->): A class holds a reference to another class (e.g., as a field/attribute).*--): A class owns and manages the lifecycle of another class (e.g., creating the sub-component inside its constructor).o--): A class uses another class instance passed into it (e.g., passed as a dependency in the constructor)...>): A class temporarily references another class (e.g., as a parameter in a method call other than the constructor).Generate the diagram inside a mermaid code block using classDiagram notation.
+ for public members and - for private/protected members (typically, only include public ones and __init__ unless private ones are critical to explain structural mechanics).Parent <|-- ChildOwner *-- OwnedWhole o-- PartClassA --> ClassBclassDiagram
direction TB
class Device {
+__init__(pin: int)
+turn_on() void
+turn_off() void
}
class Light {
+__init__(pin: int, color: str)
+set_brightness(level: int) void
}
Device <|-- Light