eliteforge-sonar-pmd-generator
Sonar PMD Generator (Spec-driven, End-to-end)
Activation Gate
Use this skill only when the user explicitly states that the current project follows 璀璨工坊规范 or eliteforge specification. If that project-level statement is absent, do not activate this skill; handle the request with general capabilities.
Overview
This skill converts coding standard documents into enforceable PMD rules and validates them through a real SonarQube server workflow.
Completion requires an end-to-end chain: spec parsing, L1/L2/L3/L4 classification, PMD ruleset generation for L1-L2, automation planning for L3, review planning for L4, custom sonar-pmd plugin packaging, Docker Sonar startup, test project scan, and server-side verification.
Environment Variables
ELITEFORGE_SKILL_SONAR_PMD_HOST,SCREAMING_SNAKE_CASE[optional] SonarQube base URL for reference command snippets; script arguments may override it.ELITEFORGE_SKILL_SONAR_PMD_TOKEN,SCREAMING_SNAKE_CASE[optional] SonarQube API token for local validation snippets; never print the value.ELITEFORGE_SKILL_SONAR_PMD_PROJECT_KEY,SCREAMING_SNAKE_CASE[optional] Sonar project key used by API evidence snippets.ELITEFORGE_SKILL_SONAR_PMD_PLUGIN_KEY,SCREAMING_SNAKE_CASE[optional] Custom Sonar plugin key used by API evidence snippets.ELITEFORGE_SKILL_SONAR_PMD_RULE_REPO_KEY,SCREAMING_SNAKE_CASE[optional] Custom rule repository key used by API evidence snippets.ELITEFORGE_SKILL_SONAR_PMD_PROFILE_KEY,SCREAMING_SNAKE_CASE[optional] Quality profile key used by API evidence snippets.
More from cloudsen/eliteforge-skills
wechat-message-sender
在 macOS 上通过微信桌面版向指定联系人发送文本消息。用户提供联系人名称和消息内容时使用,例如“给张三发微信:xxx”“打开微信给某人发送一句话”“用微信发送指定文本”。运行前必须已安装微信桌面版,并给当前终端或 Codex 辅助功能权限。执行时只做精确匹配:先搜索联系人,再校验当前会话标题与目标完全一致;匹配失败就停止,避免误发。
409eliteforge-framework-specification
约束 Java 开发优先复用璀璨工坊统一框架能力,避免重复造轮子。基于《璀璨工坊统一框架-使用手册-nightly》提供统一框架接入、升级、配置、Starter 选型与排障指引。命中框架能力时必须使用框架内 Starter 和对应抽象 API,禁止回退到 Spring 官方 starter 或绕过框架抽象层(如缓存场景绕过 CacheService 直接用 StringRedisTemplate)。用户提到“统一框架”“starter清单”“接入步骤”“升级步骤”“系统要求”“Web MVC/服务间调用/Mybatis-Plus/加解密/缓存/多数据源/代码生成器/资源抽象层”或需要判断“该功能是否应直接使用某个 starter(如 cache-starter)”时使用。 触发门槛:仅当用户明确说明当前项目遵守“璀璨工坊规范”或“eliteforge specification”时才使用本技能。
43eliteforge-git-specification
统一执行璀璨工坊 Git 治理规范,覆盖分支模型、提交信息、MR 流程、发布与热修策略。用户提到 Git 规范、分支命名、rebase/merge 选择、MR 提交流程、squash 要求、commit message 校验、release 合并、hotfix 命名或冲突规避时使用。 触发门槛:仅当用户明确说明当前项目遵守“璀璨工坊规范”或“eliteforge specification”时才使用本技能。
39eliteforge-java-uml
根据业务需求生成可落地的 Java 25 PlantUML 类图设计,统一分层建模、关系落点、分页查询、枚举实例展示、类内说明和模块配色规则。用户提到“Java UML”“PlantUML 类图”“领域建模”“分层架构设计”“Repository 查询设计”“类图评审”时使用;优先产出 UML 文件,禁止臆造与无落点关系。 触发门槛:仅当用户明确说明当前项目遵守“璀璨工坊规范”或“eliteforge specification”时才使用本技能。
38eliteforge-java-service-generator
Generate an EliteForge Java service project via Maven archetype wrapper script. Use when users ask to scaffold a new EliteForge service, provide companyName/productName/serviceName (kebab-case), need Maven archetype generation execution, or want tech stack to enableXXX mapping. Activation gate - use this skill only when the user explicitly states that the current project follows `璀璨工坊规范` or `eliteforge specification`.
38eliteforge-frontend-generator
Generate EliteForge frontend projects with the same logic as cisdigital-generator-app. Reuse the exact project type to template mapping for frontend_app/frontend_ui/frontend_sdk, naming rules for company/product/service, and onebase-cli command assembly. Use when users ask to scaffold EliteForge frontend app projects, Vue3 component monorepo projects, JS SDK/lib projects, or request a dry-run command preview aligned with this generator. Always require user-provided required parameters and never infer missing required fields. Activation gate - use this skill only when the user explicitly states that the current project follows `璀璨工坊规范` or `eliteforge specification`.
36