122-java-type-design

Community

Improve Java type design for safer, clearer code.

Authorjabrena
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Java type design often suffers from ambiguous hierarchies and primitive obsession, leading to harder maintenance and subtle bugs. This skill guides teams to apply typography-inspired principles to craft clearer type structures, wrappers, and interfaces for more maintainable code.

Core Features & Use Cases

  • Establish clear type hierarchies and nested structures for related concepts.
  • Create domain-specific value objects and type-safe wrappers to replace primitive obsession.
  • Leverage generics and fluent interfaces to express intent and improve API usability.

Quick Start

Provide a concrete Type Design improvement plan for a given Java codebase, including hierarchy refactoring, value objects, and fluent interfaces.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: 122-java-type-design
Download link: https://github.com/jabrena/cursor-rules-java/archive/main.zip#122-java-type-design

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.