Claude-skill-registry java-standards

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/java-standards" ~/.claude/skills/majiayu000-claude-skill-registry-java-standards && rm -rf "$T"
manifest: skills/data/java-standards/SKILL.md
source content

Java Standards

Java service standards for Bitso projects.

When to use this skill

  • Creating new Java services or modules
  • Understanding project organization patterns
  • Reviewing Java code for standards compliance
  • Configuring MapStruct for object mapping
  • Verifying builds after code changes

Skill Contents

Sections

Available Resources

📚 references/ - Detailed documentation


Tech Stack

ComponentVersionNotes
Java21 (LTS)Current LTS version
Gradle9.2.1Recommended for all projects
Spring Boot3.5.9Latest (min 3.5.9) - preparing for Spring Boot 4
Database AccessjOOQFor accessing PostgreSQL
DatabasesPostgreSQL, RedisPrimary data stores
Inter-service CommunicationgRPCStandard protocol
Object MappingMapStructFor DTO/domain mapping

For Spring Boot upgrades, use

/upgrade-to-recommended-versions
.

Project Organization

Projects should be organized with domain-based modules:

root-project/
├── build.gradle
├── settings.gradle
├── docs/                    # Documentation
├── bitso-libs/              # Library modules
│   ├── <subdomain>/         # Domain logic
│   └── <subdomain-proto>/   # Protobuf definitions
└── bitso-services/          # Service modules
    └── <domain>/            # Spring Boot application

Build Verification

After updating Java or Groovy code, verify changes:

# Run tests to verify changes
./gradlew test 2>&1 | grep -E "FAILED|Error" || echo "All tests passed"

# Or run full build with tests
./gradlew build 2>&1 | grep -E "FAILED|Error" || echo "Build successful"

If problems are found, fix them before committing.

References

ReferenceDescription
references/services.mdTech stack, project structure, dependency management, MapStruct
references/code-review.mdJava 21 standards, coding style, var keyword usage
references/build-verification.mdBuild commands and verification practices

Related Rules

Related Skills

SkillPurpose
gradle-standardsGradle configuration
grpc-services-rfc-33gRPC service implementation
database-integrationjOOQ and Flyway
<!-- AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY --> <!-- Source: bitsoex/ai-code-instructions → java/skills/java-standards/SKILL.md --> <!-- To modify, edit the source file and run the distribution workflow -->