skills/eliteforge-new-java-biz-package/SKILL.md
为 Java 项目创建或补齐业务包骨架与目录结构。适用于需要在 `src/main/java` 下新建业务包、补齐目录层级、生成 `controller/domain/model/repository/service/docs/util` 标准骨架的场景,并要求结果与当前仓库既有业务包风格一致。
npx skillsauth add cloudsen/eliteforge-skills eliteforge-new-java-biz-packageInstall 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.
直接按固定骨架生成,不做 controller 目录风格切换。优先使用 scripts/scaffold_java_biz_package.py 生成目录骨架,再按用户要求补类、文档或占位文件。
.../base/config、.../task 或其他 src/main/java 下的领域包。api、innerapi、openapi。Controller、ApplicationService、Repository、Mapper、DTO/VO/Entity 等 Java 文件。$eliteforge-tech-doc 和 $eliteforge-java-uml 技能创建 docs/tech-design.md、.puml、.svg;如果仓库规范要求,调用对应文档技能,不要写空洞占位文档。python3 scripts/scaffold_java_biz_package.py <target-dir>
python3 scripts/scaffold_java_biz_package.py <target-dir> --dry-run
references/layout-spec.md。api/innerapi/openapi,不做自动探测,也不提供切换参数。.gitkeep、repository/.gitkeep、service/.gitkeep。不要在所有空目录里滥加 .gitkeep,除非用户明确要求保留空目录。service 根目录放 xxxApplicationService,实现放 service/impl。repository 根目录放 xxxRepository,实现放 repository/impl,MyBatis Mapper 放 repository/mapper。controller/api 面向前端,controller/innerapi 面向内部服务调用,controller/openapi 面向外部开放平台。docs/ 下的真实设计产物。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.