From partme-ai-full-stack-skills
Creates PlantUML diagrams for UML (sequence, class, component, deployment, state, activity, use case, timing) and non-UML like C4 models, ER diagrams, Gantt charts, mindmaps, network diagrams, wireframes.
npx claudepluginhub partme-ai/full-stack-skills --plugin t2ui-skillsThis skill uses the workspace's default tool permissions.
**ALWAYS use this skill when the user mentions:**
LICENSE.txtexamples/activity.mdexamples/archimate.mdexamples/c4.mdexamples/chronology.mdexamples/class.mdexamples/component.mdexamples/deployment.mdexamples/ditaa.mdexamples/ebnf.mdexamples/er-chen.mdexamples/er.mdexamples/gantt.mdexamples/ie.mdexamples/json-yaml.mdexamples/math.mdexamples/mindmap.mdexamples/network.mdexamples/object.mdexamples/regex.mdCreates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
ALWAYS use this skill when the user mentions:
Trigger phrases include:
IMPORTANT: PlantUML vs Mermaid - Two Different Diagramming Tools:
PlantUML and Mermaid are two different diagramming tools with different purposes:
PlantUML: A component that allows you to create various UML diagrams through simple textual descriptions. From sequence diagrams to deployment diagrams and beyond, PlantUML provides an easy way to create visual representations of complex systems. PlantUML is primarily focused on UML standards and is ideal for UML diagrams, enterprise architecture, C4 models, and diagrams requiring precise UML notation. Output format is @startuml/@enduml blocks or .puml files.
Mermaid: A JavaScript-based diagramming and charting tool that uses Markdown-inspired text definitions. The main purpose of Mermaid is to help documentation catch up with development. Mermaid is particularly well-suited for use in Markdown documents, GitHub, GitLab, wikis, and blogs. Output format is fenced Markdown code blocks with the mermaid language tag.
When both PlantUML and Mermaid skills are matched:
.puml, default to PlantUMLCRITICAL: PlantUML is a UML-focused diagramming tool. This skill should be triggered when the user explicitly mentions PlantUML, UML diagrams, or needs complex architecture diagrams with precise UML notation.
Trigger this skill when you see:
When both PlantUML and Mermaid are matched, ALWAYS ask the user to choose the output format or tool, as they are two different diagramming tools with different purposes.
To create a PlantUML diagram:
Identify the diagram type from the user's request:
UML Diagrams:
@startuml ... @enduml with participant or actor@startuml ... @enduml with actor, usecase@startuml ... @enduml with class@startuml ... @enduml with object@startuml ... @enduml with start, stop, if, while, etc.@startuml ... @enduml with component, interface, package@startuml ... @enduml with node, database, cloud@startuml ... @enduml with state, [*]@startuml ... @enduml with concise or robustNon-UML Diagrams:
@startjson ... @endjson@startyaml ... @endyaml@startebnf ... @endebnf@startregex ... @endregex@startuml ... @enduml with network elements@startsalt ... @endsalt@startuml ... @enduml with Archimate elements@startsdl ... @endsdl@startditaa ... @endditaa@startgantt ... @endgantt@startuml ... @enduml with chronology syntax@startmindmap ... @endmindmap@startwbs ... @endwbs@startmath ... @endmath or @startlatex ... @endlatex@startuml ... @enduml with entity@startuml ... @enduml with IE notation@startuml ... @enduml with Chen's notation@startuml ... @enduml with C4-PlantUML libraryLoad the appropriate example file from the examples/ directory:
UML Diagrams:
examples/sequence.md - For sequence diagrams showing interactionsexamples/use-case.md - For use case diagramsexamples/class.md - For class diagrams and object-oriented designsexamples/object.md - For object diagramsexamples/activity.md - For activity diagrams and workflowsexamples/component.md - For component diagrams and system architectureexamples/deployment.md - For deployment diagrams and infrastructureexamples/state.md - For state diagrams and state machinesexamples/timing.md - For timing diagramsNon-UML Diagrams:
examples/json-yaml.md - For JSON/YAML data visualizationexamples/ebnf.md - For EBNF grammar diagramsexamples/regex.md - For regular expression diagramsexamples/network.md - For network diagrams (nwdiag)examples/salt.md - For Salt wireframes and UI mockupsexamples/archimate.md - For Archimate architecture diagramsexamples/sdl.md - For SDL (Specification and Description Language) diagramsexamples/ditaa.md - For Ditaa ASCII art diagramsexamples/gantt.md - For Gantt charts and project timelinesexamples/chronology.md - For chronology and timeline diagramsexamples/mindmap.md - For mindmapsexamples/wbs.md - For work breakdown structure diagramsexamples/math.md - For mathematical notations (AsciiMath, LaTeX)examples/er.md - For Entity-Relationship diagramsexamples/ie.md - For Information Engineering diagramsexamples/er-chen.md - For ER diagrams using Chen's notationexamples/c4.md - For C4 model architecture diagramsFollow the specific instructions in that example file for syntax, structure, and best practices
Important Notes:
@startuml ... @enduml (or diagram-specific tags)!include directive to include external files or libraries (e.g., C4-PlantUML)!define and !include for reusable components and themesskinparam directives!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.pumlGenerate the PlantUML code wrapped in a Markdown code block with proper syntax highlighting:
IMPORTANT: Always wrap the PlantUML code in a Markdown code block with plantuml language tag. This ensures the format is preserved when users copy the content.
Example format (use actual PlantUML syntax, not placeholders):
@startuml
Alice -> Bob: Hello
Bob -> Alice: Hi
@enduml
Output Format Requirements:
plantuml language tag<diagram-type> or ...diagram content...@startuml and @enduml tags (or diagram-specific start/end tags)Include styling and configuration when needed:
skinparam directives for global stylingskinparam <element> { } for element-specific styling!theme directive for predefined themes!define for custom colors and styles!include for external libraries and componentsValidate the syntax:
@startuml and @enduml tags are properly paired+, -, #, ~)Save the diagram to project directory:
docs/diagrams/ - For documentation diagramsdocs/ - For general documentationdiagrams/ - For standalone diagram files.) - If no specific directory structure existssystem-architecture.puml, user-flow.puml, database-schema.puml, etc..puml file (PlantUML standard extension)docs/diagrams/system-architecture.puml or diagrams/system-architecture.pumldocs/ or diagrams/ directory if it doesn't existOutput Format and File Saving:
When generating a diagram, follow this response structure:
Save the file first: Create the diagram file in the project directory (e.g., docs/diagrams/system-architecture.puml)
Inform the user: Tell them where the file was saved
Display the diagram: Show the PlantUML code in a properly formatted Markdown code block with plantuml language tag
Example Response Structure:
docs/diagrams/system-architecture.puml."plantuml + newline@startuml and @enduml tags)Critical Requirements:
plantuml language tag@startuml and @enduml tags (or diagram-specific start/end tags)docs/diagrams/ or diagrams/).puml file extension for PlantUML filesIf the diagram type doesn't match any existing example, refer to the PlantUML documentation (https://plantuml.com/zh/) or ask the user for clarification about the desired visualization.
PlantUML (This Skill):
Mermaid (Different Skill):
When Both Skills Are Matched:
plantuml language tag@startuml and @enduml (or diagram-specific tags)!include for C4-PlantUML and other standard librariesdocs/diagrams/ or diagrams/)system-architecture.puml, user-flow.puml)skinparam and themes for consistent stylingEnglish keywords: plantuml, UML, class diagram, sequence diagram, use case diagram, activity diagram, component diagram, state diagram, deployment diagram, object diagram, timing diagram, network diagram, Archimate diagram, Gantt chart, mindmap, WBS diagram, JSON diagram, YAML diagram, EBNF, regex, regular expression, Salt wireframe, SDL, Ditaa, chronology diagram, mathematical notation, AsciiMath, LaTeX, ER diagram, entity relationship diagram, IE diagram, information engineering diagram, Chen's notation, C4 model, C4 diagram, architecture diagram, system architecture, enterprise architecture, microservices architecture, draw, create, generate, make, build, visualize, visualization, drawing, UML notation, standard UML
Chinese keywords (中文关键词): PlantUML, UML, 类图, 时序图, 用例图, 活动图, 组件图, 状态图, 部署图, 对象图, 时序图, 网络图, 架构图, 甘特图, 思维导图, 工作分解结构图, JSON 图, YAML 图, EBNF 图, 正则表达式图, 线框图, SDL 图, Ditaa 图, 时间线图, 数学公式图, 实体关系图, ER 图, 信息工程图, IE 图, 陈氏表示法, C4 模型, C4 图, 架构图, 系统架构图, 企业架构图, 微服务架构图, 画图, 绘图, 生成图, 创建图, 制作图, 画类图, 画时序图, 画组件图, 画部署图, 画活动图, 画状态图, 画用例图, 画对象图, 画网络图, 画线框图, 画 ER 图, 用 PlantUML, PlantUML 语法, UML 图, UML 类图, UML 时序图, 可视化, 图表, 图形, 示意图, 设计图, 系统图, 用图表示, 画出来, 给我画, 帮我画, 画一个, 创建一个图, 生成一个图, 画个图说明, 用图表展示, 可视化展示