eliteforge-java-coding-spec

Enforce EliteForge Java coding standards across Java projects.

1|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/CloudSen/eliteforge-skills --skill eliteforge-java-coding-spec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eliteforge-java-coding-spec
Source: https://github.com/CloudSen/eliteforge-skills/tree/main/skills/eliteforge-java-coding-spec
Command: npx skills add https://github.com/CloudSen/eliteforge-skills --skill eliteforge-java-coding-spec

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

统一璀璨工坊的 Java 编码规范,解决团队在 Java 项目中的风格不一致、命名不规范和可维护性差的问题。

Core Features & Use Cases

  • 提供覆盖 POJO、枚举、工具类、日志、事务、并发、MyBatis-Plus、Spring、Maven、数据库、网关、接口管理等方面的统一编码规范与最佳实践。
  • 使用 references/java-coding-spec-v1.md 的具体条款,给出可落地的实现约束、示例与落地要求,帮助团队在开发中直接执行。
  • 适用于新建项目、现有代码重构、代码评审与合规检查等场景,确保代码结构和风格保持一致。

Quick Start

Apply this standard to new and existing Java projects to ensure consistent style, naming, and architecture.

Frequently Asked Questions about eliteforge-java-coding-spec

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce Java coding standards for POJO and enum design in my project?

To enforce Java coding standards for POJO and enum design, apply rules requiring serialVersionUID, @Accessors(chain = true) for POJOs, and BizEnum for enums. This ensures consistent property access and standardized business enumeration implementation across your Java projects.

What is the best way to standardize MVC layering and API responses in a Spring application?

Standardizing MVC layering and API responses in a Spring application requires implementing explicit architectural layers and using ResVo for unified response wrapping. This approach governs gateway interfaces and API management to maintain structural consistency.

How do I configure logging and transaction management according to Java coding specifications?

Configuring logging and transaction management per Java coding specifications involves applying keepGlobalFormat for standardized log formatting and explicit transactional boundaries. This guarantees consistent audit trails and safe database operations.

Does this Java coding standard cover MyBatis-Plus and Maven configurations?

Yes, this Java coding standard covers MyBatis-Plus and Maven configurations. It provides explicit constraints and best practices for database schemas, ORM plugin usage, and Maven project structuring to ensure consistent dependency and persistence layer management.

When should I apply these Java coding standards to my existing codebase?

You should apply these Java coding standards to existing codebases during code refactoring, code reviews, and compliance checks. They help resolve style inconsistencies, naming noncompliance, and maintainability issues in current Java projects.