skills/eliteforge-new-java-maven-model/SKILL.md
为 Java 多模块 Maven 项目生成新的 model 模块。在仓库根 `pom.xml` 的 description 中解析公司名称、产品名称、服务名称,自动创建 serviceName-modelName 模块目录、`pom.xml`、包路径、artifactId、groupId,并把新模块写入父 `pom.xml` 的 `modules`;如果父 `pom.xml` 已按同族模块维护 `dependencyManagement`,同步补齐内部依赖管理条目。
npx skillsauth add cloudsen/eliteforge-skills eliteforge-new-java-maven-modelInstall 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.
优先运行 scripts/scaffold_java_maven_model.py 创建模块骨架,不要手写模块名、pom.xml、包路径和父模块声明。脚本会从根 pom.xml 的 description 提取 公司名称、产品名称、服务名称,并按约定完成命名转换;如果父 pom.xml 已存在同族内部模块的 dependencyManagement 条目,也会一并补齐。空目录使用 .gitkeep 保证能被 Git 跟踪。
--dry-run;如果当前目录不是根目录,传 --repo-root。moduleName、packageName、groupId、artifactId、parent、managedDependency。<serviceName>-<modelName> 模块。git diff 或直接打开父 pom.xml,确认至少同步了 <modules>,并检查是否按仓库既有约定补齐了 dependencyManagement。python3 .agents/skills/eliteforge-new-java-maven-model/scripts/scaffold_java_maven_model.py reasoning-engine
python3 .agents/skills/eliteforge-new-java-maven-model/scripts/scaffold_java_maven_model.py reasoning-engine --repo-root /path/to/repo
python3 .agents/skills/eliteforge-new-java-maven-model/scripts/scaffold_java_maven_model.py reasoning-engine --dry-run
<serviceName>-<modelName>,serviceName 必须从根 pom.xml 的 description 读取。cn.<companyName>.<productName>.<serviceName>.<modelName>,全部转 dot 风格。artifactId 使用 app-<companyName>-<productName>-<serviceName>-<modelName>,全部转短横线风格。groupId 使用 cn.<companyName>.<productName>,全部转 dot 风格。parent 通过目标目录向上查找最近的 Maven 聚合父项目识别,<version> 固定写 ${revision}。pom.xml、src/main/java/<packagePath>/.gitkeep、src/main/resources/.gitkeep、src/test/java/.gitkeep。pom.xml 已有 <modules>,追加新模块;如果没有,则创建 <modules> 块;不要重复写入。pom.xml 已按相同 groupId 和 app-<company>-<product>-<service>-* 约定维护内部模块 dependencyManagement,则追加当前模块的受管依赖;如果仓库没有这套约定,不要凭空新增。<serviceName>-runtime-plane,可把它当作可选参考模块,用于观察命名和最小目录习惯;找不到时仍按内置最小骨架创建,不影响 skill 适用性。git diff,确认没有遗漏父 pom.xml 的模块聚合或内部依赖管理同步。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.