Core

From bobmatnyc/claude-mpm · View interactive version

Core is an AI agent skill from the GitHub repository bobmatnyc/claude-mpm. Java 21+ core patterns for minimalism, efficiency, code reuse, and performance

How to use this skill

Skill file

Java Core Patterns

Modern Java development patterns targeting 21+ LTS for minimal, efficient, reusable, and performant code.

Quick Start

New code: Use records for DTOs/value objects, sealed classes + pattern matching for type-safe dispatch, virtual threads for I/O-bound concurrency, SequencedCollection for ordered access.

Performance: Profile first with JFR/async-profiler. Use JMH for benchmarks, Generational ZGC for low-latency, Stream API for declarative data transforms.

Minimalism Patterns

Efficiency Patterns

Code Reuse

Modern Java (21-23)

Performance

Testing

Anti-Patterns

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.