Claude Marketplaces
SkillsMCP serversMarketplacesPluginsDigestToolsAdvertise
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Plugins
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index
  • Plugin index

Site

  • About
  • Tools
  • Submit
  • Advertise
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
by Mert Düzgün
Skills/Documentation
gentleman-programming avatar

Java 21

gentleman-programming/gentleman-skills

This one gets Claude up to speed on Java 21's three headline features: records for immutable data carriers, sealed types with exhaustive pattern matching, and virtual threads for scalable blocking I/O. You'd reach for it when building modern Java services where you want DTOs validated in compact constructors, closed hierarchies that the compiler can verify, or need to handle thousands of concurrent blocking calls without spinning up platform threads. The examples are clean and show real validation patterns, not toy code. Honestly, if you're still on Java 8 or 11 this will feel like a different language, and that's the point. The anti-patterns section usefully calls out the old habits to drop.

skills.sh installs
328
GitHub stars
663
last updated
Aug 21, 2026
View on GitHubSave

Install

$ npx -y skills add gentleman-programming/gentleman-skills --skill java-21 --agent claude-code

Installs into .claude/skills of the current project.

Files

When to Use

Load this skill when:

  • Writing Java 21 application or library code
  • Designing immutable DTOs or value objects
  • Modeling closed hierarchies with sealed types
  • Using virtual threads for blocking I/O

Critical Patterns

Pattern 1: Records for immutable data

Use records for DTOs and value objects, validate in compact constructors.

Pattern 2: Sealed types + pattern matching

Use sealed interfaces/classes and switch pattern matching for exhaustiveness.

Pattern 3: Virtual threads for I/O

Use virtual threads to handle blocking I/O without large thread pools.

Code Examples

Example 1: Record with validation

package com.acme.user;

public record Email(String value) {
  public Email {
    if (value == null || !value.contains("@")) {
      throw new IllegalArgumentException("Invalid email");
    }
  }
}

Example 2: Sealed hierarchy + switch pattern matching

package com.acme.payment;

public sealed interface Payment permits Card, BankTransfer { }

public record Card(String last4) implements Payment { }
public record BankTransfer(String iban) implements Payment { }
SKILL.md on GitHub

Sponsors

This spot is openSlot 1$1,200/mo Advertise hereThis spot is openSlot 2$1,000/mo Advertise hereSnugSponsoredThe clipboard manager you and your agent can use, safelyknobsSponsoredSee your site on any phone, any day, in any languageAgent CaffeineSponsoredClose your lid, come back to finished workThis spot is openSlot 6$500/mo Advertise hereThis spot is openSlot 7$500/mo Advertise hereWaxSponsoredBlock anything with supervision, without erasing your iPhone

Details

Repository
github.com/gentleman-programming/gentleman-skills
Categories
Documentation, Java & JVM
First seen
Jun 3, 2026

More from gentleman-programming/gentleman-skills

All 13
  • Angular Architecture322
  • Pytest291
  • Tailwind 4278
  • React 19269
  • React Native263
  • Hexagonal Architecture Layers Java248
  • Zod 4235
  • Angular Core228
  • Jira Task216
  • Zustand 5207
  • Typescript499
  • Angular Performance352

Recommended

More Documentation
1manojbajaj95 avatarlanding-page-optimizationmanojbajaj95/claude-gtm-pluginUse when working on landing pages — creation, copywriting, design, optimization, or conversion rate improvement. Covers hero sections, above-the-fold content, v327skills.sh installs
2jwynia avatardevcontainerjwynia/agent-skillsDiagnose devcontainer configuration problems and guide development environment setup. This skill should be used when the user asks to 'set up devcontainer', 'fi326skills.sh installs
3secondsky avatarswift-best-practicessecondsky/claude-skills| This skill should be used when writing or reviewing Swift code for iOS or macOS projects. Apply modern Swift 6+ best practices, concurrency patterns, API desi326skills.sh installs
4leonardomso avatarconcept-workflowleonardomso/33-js-conceptsEnd-to-end workflow for creating complete JavaScript concept documentation, orchestrating all skills from research to final review325skills.sh installs
5outscal avatarshorts-script-personalityoutscal/video-generatorGenerates hyper-optimized YouTube Shorts/Instagram Reels scripts with personality-specific styles while enforcing strict anti-AI-slop writing rules325skills.sh installs
6pproenca avatarunix-clipproenca/dot-skillsUNIX command-line interface guidelines for building tools that follow POSIX conventions, proper exit codes, stream handling, and the UNIX philosophy. This skill325skills.sh installs