Skip to content

Reference guide covering Java 8-21 syntax, OOP, collections, streams, and exception handling with pattern examples.

CCM score
31 of 100
skills.sh installs
641
GitHub stars
42
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers core Java syntax, OOP principles, Collections Framework, Streams API, and exception handling across Java 8 to 21
  • Includes a collection selection table (ArrayList, HashSet, TreeSet, HashMap) with complexity reasons and a troubleshooting table
  • Demonstrates modern features such as records (Java 16+), sealed classes (Java 17+), and pattern matching switch (Java 21)
  • Designed for developers who want idiomatic Java code choices for classes, collections, and exception handling

Install

$ npx -y skills add pluginagentmarketplace/custom-plugin-java --skill java-fundamentals -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Java Fundamentals Skill

Master core Java programming with production-quality patterns.

Overview

This skill covers Java fundamentals including syntax, OOP, collections, streams API, and exception handling for Java 8-21.

When to Use This Skill

Use when you need to:

  • Write clean, idiomatic Java code
  • Design classes following OOP principles
  • Choose appropriate collection types
  • Implement functional programming patterns
  • Handle exceptions properly

Topics Covered

Core Syntax (Java 8-21)

  • Variables, data types, operators
  • Control flow, methods, classes
  • Records (Java 16+), sealed classes (Java 17+)
  • Pattern matching (Java 21)

Object-Oriented Programming

  • Classes, inheritance, polymorphism
  • Interfaces and abstract classes
  • SOLID principles

Collections Framework

  • List: ArrayList, LinkedList
  • Set: HashSet, TreeSet
  • Map: HashMap, ConcurrentHashMap
  • Queue: ArrayDeque, PriorityQueue

Streams API

  • filter, map, flatMap, reduce, collect
  • Optional handling
  • Parallel streams

Exception Handling

  • Checked vs unchecked exceptions
  • Try-with-resources
  • Custom exceptions

Quick Reference

Details

Repository
github.com/pluginagentmarketplace/custom-plugin-java
Category
Java & JVM
First seen
Jun 3, 2026

More from pluginagentmarketplace/custom-plugin-java

All 6

Similar to Java Fundamentals

More Java & JVM