java-code-quality

Enforce Java code quality standards in Spring Boot projects.

Updated Apr 16, 2026
One-click install
npx skills add https://github.com/tassosgomes/poc-iam-service --skill java-code-quality
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: java-code-quality
Source: https://github.com/tassosgomes/poc-iam-service/tree/main/.github/skills/java/java-code-quality
Command: npx skills add https://github.com/tassosgomes/poc-iam-service --skill java-code-quality

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Defines and enforces Java code quality standards across Spring Boot projects using Java 17+. It helps teams reduce bugs and maintain consistent coding practices.

Core Features & Use Cases

  • Hard rules for naming, DI patterns, null handling, exceptions, and clean architecture to ensure code quality.
  • Guidance for MapStruct mappings and Bean Validation on DTOs to promote safe data transfer and validation.
  • Post-generation code review gate to verify compliance before merging or deployment.

Quick Start

Run a quality gate pass on newly generated Java code to ensure compliance.

Frequently Asked Questions about java-code-quality

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

FAQPage Schema
How do I enforce code quality standards across Spring Boot projects?

To enforce code quality standards across Spring Boot projects, apply hard rules for naming conventions, dependency injection, null safety, and clean architecture during code generation and review. This ensures consistent coding practices and reduces bugs in Java 17+ environments.

What is the best way to ensure null safety and clean architecture in Java 17+?

Ensuring null safety and clean architecture in Java 17+ involves applying strict code review gates that enforce constructor-based dependency injection and validated data transfer objects. This mechanism verifies compliance before merging or deployment.

How do I validate DTOs and configure MapStruct mappings in Spring Boot?

To validate DTOs and configure MapStruct mappings in Spring Boot, apply Bean Validation on data transfer objects and satisfy specific requirements for MapStruct mappings during the post-generation code review gate to promote safe data transfer.

Does this code review gate work with constructor-based dependency injection and SLF4J logging?

Yes, the code review gate works with constructor-based dependency injection and SLF4J logging. It enforces these specific dependency injection practices and logging standards during code generation to maintain consistent Java code quality.

When do I need a post-generation code review gate for Java code?

You need a post-generation code review gate for Java code when you want to verify compliance with coding standards before merging or deployment. It acts as a quality gate pass on newly generated code to ensure architectural rules are met.