skills/eliteforge-java-uml/SKILL.md
根据业务需求生成可落地的 Java 25 PlantUML 类图设计,统一分层建模、关系落点、分页查询、枚举实例展示、类内说明和模块配色规则。用户提到“Java UML”“PlantUML 类图”“领域建模”“分层架构设计”“Repository 查询设计”“类图评审”时使用;优先产出 UML 文件,禁止臆造与无落点关系。
npx skillsauth add cloudsen/eliteforge-skills eliteforge-java-umlInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
ELITEFORGE_SKILL_JAVA_UML_PLANTUML_ASL_JAR [required] Absolute path to the ASL PlantUML jar used to render and validate generated UML SVG output.Controller、Service、Repository、Domain、Enums、External;Service 下游可按功能类型拆分子块(如存储/规则/缓存/网关),不限制为固定单一层次。*Converter/*Assembler/*MapperStruct)与 MyBatis 技术类(*Mapper/*Example/*Criteria/SqlSession)不入图。queryPage 或 queryByCursor)。Entity 节点必须明确写 表: xxx(复用同表可写 复用表: xxx);Repository 节点不写表归属注释。接口前缀: /api/.../;职责拆分的 Controller 必须分别标注自己的前缀。.puml 文件;信息不足时先写入可确定部分,再在图内注释不确定项。<>;禁止出现 ~ 泛型和 </> 实体。.puml。Dto / Vo / ResVo 节点;它们只允许出现在方法签名中。Page / PageResult / PageResponse 等分页容器节点。*Converter/*Assembler/*MapperStruct 节点和 toXxx/fromXxx 转换方法。*Mapper/*Example/*Criteria/SqlSession)与 XML 映射细节。findAll / selectAll / queryAll / listAll / loadAll。Entity 节点说明必须标注表归属:表: xxx(可写 复用表: xxx);Repository 节点禁止标注 表: / 复用表: / 无表:。接口前缀: /api/.../。<<说明标题>> + 至少 1 行说明。<>;禁止出现 ~ 泛型和 </> 实体。Persistence 层;Entity 归入 Repository 的功能子块,避免技术实现细节入图。ELITEFORGE_SKILL_JAVA_UML_PLANTUML_ASL_JAR 环境变量;未设置则直接结束,并提醒用户先配置。ELITEFORGE_SKILL_JAVA_UML_PLANTUML_ASL_JAR 重新渲染成功,否则不输出最终结果。*.puml 源文件与同级 *.svg,禁止额外生成 *.plantuml。top to bottom direction + skinparam linetype ortho。note。@startuml
top to bottom direction
skinparam linetype ortho
' 先放分层包,再放类定义与关系
' 信息不足时,用注释列出不确定项,仍保持 PlantUML 输出
@enduml
testing
Rewrite human-facing prose using Strunk-style rules. Use for docs, README files, technical explanations, PR descriptions, commit messages, error messages, UI copy, reports, and summaries when the user asks to polish, shorten, clarify, de-duplicate, restructure, or normalize tone.
testing
Draft or refine a concise product requirements document from a rough product idea, then write a Typst source file and sibling PDF to a resolved output path.
research
产品经理竞品分析报告生成器。当用户提到竞品分析、竞品调研、竞品对比、竞争对手分析、市场竞争分析、行业竞品研究时触发。也适用于用户要求对比多个产品/平台/公司的功能、商业模式、市场定位等场景。即使用户只是说'帮我分析一下XX和YY'或'XX有哪些竞争对手',只要涉及产品/公司间的对比分析,都应该使用这个 skill。支持任意行业,支持快速分析和深度分析两种模式。
development
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.