Agent skill

123 Java Design Patterns

by jabrena in jabrena/plinth

A skill your agent uses when you need to select, review, or implement Java design and integration patterns — including classic Java design patterns, REST API patterns, Kafka and event-driven…

Apache-2.0Auto-check passedBackend & APIs

Install 123 Java Design Patterns

skills CLI
$ npx skills add jabrena/plinth --skill 123-java-design-patterns -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jabrena/plinth 123-java-design-patterns --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jabrena/plinth.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/123-java-design-patterns .claude/skills/123-java-design-patterns && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
123-java-design-patterns
GitHub stars
445
Token cost
~1.1k tokens
SKILL.md length
411 words
Files
6 (incl. references)
Skills in repo
124
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when you need to select, review, or implement Java design and integration patterns — including classic Java design patterns, REST API patterns, Kafka and event-driven…

  • You need to select
  • SKILL.md covers Constraints, When to use this skill, Workflow and Reference
  • Calls mvn
  • Implement Java design and integration patterns — including classic Java design patterns

What it does

123 Java Design Patterns is an agent skill from jabrena/plinth. Use when you need to select, review, or implement Java design and integration patterns — including classic Java design patterns, REST API patterns, Kafka and event-driven patterns, database and persistence patterns, and cross-cutting integration patterns. This should trigger for requests such as Apply Java design patterns; Review REST API patterns; Design Kafka event-driven patterns; Improve database persistence patterns; Add resilient integration patterns. Part of Plinth Toolkit

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/123-cross-cutting-integration-patterns.md`, `references/123-database-persistence-patterns.md` and `references/123-java-design-patterns.md`).

It sits in Backend & APIs, covering Event-driven systems, Design patterns and Third-party API integration. It works with Java and Apache Kafka. The repository describes itself as: Plinth is an AI-native engineering toolkit for modern Java enterprise SDLC, built around reusable Commands, Agents, Skills, and MCP Servers. The licence is Apache-2.0.

When your agent uses it

  • You need to select
  • Implement Java design and integration patterns — including classic Java design patterns
  • REST API patterns
  • Kafka and event-driven patterns

Example prompts

  • “/123-java-design-patterns”

What it can do on your machine

Read from SKILL.md and the folder at commit 5130f45. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • mvn

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

123 Java Design Patterns loads about 1.1k tokens when it runs, and up to ~14k if it reads all its reference files. Until then it costs about 127 tokens; SKILL.md has 411 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~127
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~14k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jabrena/plinth at commit 5130f45, republished under its Apache-2.0 licence (© jabrena). 411 words, ~1,111 tokens.

Download SKILL.mdSave it as .claude/skills/123-java-design-patterns/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
123-java-design-patterns
description
Use when you need to select, review, or implement Java design and integration patterns — including classic Java design patterns, REST API patterns, Kafka and event-driven patterns, database and persistence patterns, and cross-cutting integration patterns. This should trigger for requests such as Apply Java design patterns; Review REST API patterns; Design Kafka event-driven patterns; Improve database persistence patterns; Add resilient integration patterns. Part of Plinth Toolkit
license
Apache-2.0
metadata.author
Juan Antonio Breña Moral
metadata.version
0.19.0

Java Design and Integration Patterns

Guide Java developers in selecting patterns by problem signal, implementation context, and trade-off rather than by pattern name alone.

What is covered in this Skill?

  • Classic Java design patterns for application code: creational, structural, and behavioral patterns
  • REST API patterns for resource design, contracts, idempotency, versioning, and error handling
  • Kafka and event-driven patterns for event schemas, partitioning, idempotency, retries, outbox, and sagas
  • Database and persistence patterns for repositories, transactions, aggregates, locking, migrations, and read models
  • Cross-cutting integration patterns for anti-corruption layers, resilience, observability, and reliable message boundaries

Scope: Use this skill to explain, review, and implement practical patterns in Java systems. Prefer simple code first; introduce a pattern only when it reduces real complexity, protects a boundary, improves testability, or makes change safer.

Constraints

Pattern guidance must be problem-led, concrete, and safe to apply in Java projects.

  • PROBLEM FIRST: Identify the design pressure before naming or applying a pattern
  • NO PATTERN SHOPPING: Do not add abstractions only because a pattern exists; prefer simple code when variation is not present
  • BUILD SAFETY: For code changes, run ./mvnw compile or mvn compile before refactoring and ./mvnw clean verify or mvn clean verify after changes
  • REFERENCE SELECTION: Read the relevant reference before acting: Java code patterns, REST API patterns, Kafka/event-driven patterns, database/persistence patterns, or cross-cutting integration patterns
  • TRADE-OFFS REQUIRED: Explain the benefit, cost, and when-not-to-use guidance for any recommended pattern
Show full SKILL.md (179 more words)Show less

When to use this skill

  • Apply Java design patterns
  • Review Java code for design patterns
  • Choose REST API patterns
  • Design Kafka event-driven patterns
  • Improve database persistence patterns
  • Add resilient integration patterns

Workflow

  1. Identify the design pressure

Clarify the concrete problem: object creation, behavior variation, API contract evolution, event delivery, persistence consistency, integration reliability, or another recurring design force.

  1. Select the relevant reference

Read only the matching reference(s): references/123-java-design-patterns.md, references/123-rest-api-patterns.md, references/123-kafka-event-driven-patterns.md, references/123-database-persistence-patterns.md, or references/123-cross-cutting-integration-patterns.md.

  1. Recommend the smallest useful pattern

Choose the simplest pattern that addresses the design pressure. Show how it changes responsibilities, boundaries, tests, operations, or evolution safety.

  1. Implement or document the pattern

When code changes are requested, make focused Java or configuration changes following the project conventions. When design advice is requested, provide diagrams, examples, request/response shapes, event shapes, or transaction flows as appropriate.

  1. Validate the outcome

Verify that the resulting design remains understandable, testable, and operationally safe. Run the project build for code changes and name any remaining trade-offs.

Reference

For detailed guidance, examples, and constraints, see:

© jabrena, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (references) in skills/123-java-design-patterns of jabrena/plinth.

  • SKILL.md
  • references/123-cross-cutting-integration-patterns.md
  • references/123-database-persistence-patterns.md
  • references/123-java-design-patterns.md
  • references/123-kafka-event-driven-patterns.md
  • references/123-rest-api-patterns.md

Open the folder on GitHubat commit 5130f45

Compare with similar skills

123 Java Design Patterns next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

123 Java Design Patterns compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
123 Java Design Patterns this skilljabrena/plinth445—~1.1kAutomated safety check: PassApache-2.0
Quarkus Patternsaffaan-m/ECC274k1 repos~5.4kAutomated safety check: PassMIT
Quarkus Patternsaffaan-m/ECC274k—~6.1kAutomated safety check: PassMIT
Vss Deploy Dense CaptioningNVIDIA/skills3.5k1 repos~3.3kAutomated safety check: NotesApache-2.0
Streaming Dataancoleman/ai-design-components526—~2.9kAutomated safety check: PassMIT
Business Eventsmendixlabs/mxcli128—~1.3kAutomated safety check: PassApache-2.0

Similar skills

  • Quarkus Patterns

    affaan-m/ECC

    Quarkus 3.x LTS architecture patterns with Camel for messaging, RESTful API design, CDI services, data access with Panache, and async processing.

    274k GitHub starsUsed in 1 repo~5.4k tokens
    Backend & APIsAuto-check passed
  • Quarkus Patterns

    affaan-m/ECC

    Quarkus 3.x LTS architecture patterns with Camel for messaging, RESTful API design, CDI services, data access with Panache, and async processing.

    274k GitHub stars~6.1k tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • Official

    A skill your agent uses when deploying standalone RT-VLM dense captioning or calling its REST API (uploads, captions, streams, chat-completions, Kafka).

    3.5k GitHub starsUsed in 1 repo~3.3k tokens
    Backend & APIsAuto-check: notes
  • Streaming Data

    ancoleman/ai-design-components

    Build event streaming and real-time data pipelines with Kafka, Pulsar, Redpanda, Flink, and Spark.

    526 GitHub stars~2.9k tokensUpdated 10 mo ago
    Backend & APIsAuto-check passed
  • Business Events

    mendixlabs/mxcli

    Define event-driven APIs over Kafka with Mendix business event services — publish and subscribe contracts, CREATE/DROP/DESCRIBE.

    128 GitHub stars~1.3k tokensUpdated today
    Backend & APIsAuto-check passed
  • Wiremock

    aehrc/pathling

    Expert guidance for using WireMock in Java applications for HTTP API mocking and testing.

    137 GitHub stars~5.7k tokensUpdated today
    Backend & APIsAuto-check passed

More from jabrena/plinth

All 124 skills in this repo
  • A skill your agent uses when you need to add or review fuzz testing for Java APIs with CATS — including contract-driven negative testing, malformed payload validation, boundary input exploration, CI…

    445 GitHub stars~874 tokensUpdated today
    Auto-check passed
  • A skill your agent uses when you need to generate Java project diagrams — including UML sequence diagrams, UML class diagrams, C4 model diagrams, UML state machine diagrams, UML Deployment Diagrams…

    445 GitHub stars~3.1k tokensUpdated today
    Auto-check passed
  • A skill your agent uses when you need to add or configure Maven plugins in your pom.xml — including quality tools (enforcer, surefire, failsafe, jacoco, pitest, spotbugs, pmd), security scanning…

    445 GitHub stars~3.2k tokensUpdated today
    Auto-check passed
  • A skill your agent uses when you need to set up JMeter performance testing for a Java project — including creating the run-jmeter.sh script from the exact template, configuring load tests with…

    445 GitHub stars~842 tokensUpdated today
    Auto-check passed
  • A skill your agent uses when you need to set up Java application profiling to detect and measure performance issues — including trusted preinstalled async-profiler v4.x setup, problem-driven…

    445 GitHub stars~903 tokensUpdated today
    Auto-check passed
  • A skill your agent uses when you need to generate a checklist document with embedded commands inventory, following the embedded template exactly and producing INVENTORY-COMMANDS-JAVA.md in the…

    445 GitHub stars~697 tokensUpdated today
    Auto-check passed

Questions about 123 Java Design Patterns

What does 123 Java Design Patterns do?

A skill your agent uses when you need to select, review, or implement Java design and integration patterns — including classic Java design patterns, REST API patterns, Kafka and event-driven…. 123 Java Design Patterns is an agent skill from jabrena/plinth. Use when you need to select, review, or implement Java design and integration patterns — including classic Java design patterns, REST API patterns, Kafka and event-driven patterns, database and persistence patterns, and cross-cutting integration patterns.

When should I use 123 Java Design Patterns?

123 Java Design Patterns fits situations like: you need to select; implement Java design and integration patterns — including classic Java design patterns; REST API patterns; kafka and event-driven patterns.

How do I install 123 Java Design Patterns in Claude Code?

Run `npx skills add jabrena/plinth --skill 123-java-design-patterns -a claude-code`. Or copy the skill folder (skills/123-java-design-patterns in jabrena/plinth) into .claude/skills/123-java-design-patterns in your project. Claude Code loads it when a task matches its description.

How do I install 123 Java Design Patterns in Codex?

Run `npx skills add jabrena/plinth --skill 123-java-design-patterns -a codex`. Or copy the skill folder (skills/123-java-design-patterns in jabrena/plinth) into .agents/skills/123-java-design-patterns in your project. Codex loads it when a task matches its description.

Can I use 123 Java Design Patterns in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jabrena/plinth --skill 123-java-design-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/123-java-design-patterns, .gemini/skills/123-java-design-patterns, .github/skills/123-java-design-patterns and .opencode/skills/123-java-design-patterns in your project.

What does 123 Java Design Patterns need to run?

Going by SKILL.md and its folder, 123 Java Design Patterns needs the command-line tools its instructions call (mvn).

Does 123 Java Design Patterns access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is 123 Java Design Patterns safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does 123 Java Design Patterns use?

123 Java Design Patterns is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does 123 Java Design Patterns use?

About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 13k tokens, read only when the agent opens those files.

What are the alternatives to 123 Java Design Patterns?

Skills that share tags, products or a category with 123 Java Design Patterns: Quarkus Patterns (affaan-m/ECC, 274k stars), Quarkus Patterns (affaan-m/ECC, 274k stars), Vss Deploy Dense Captioning (NVIDIA/skills, 3.5k stars) and Streaming Data (ancoleman/ai-design-components, 526 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains 123 Java Design Patterns?

jabrena (a GitHub user) maintains it in jabrena/plinth, which has 445 GitHub stars. The repository holds 124 skills in this directory. The repository was last updated on October 7, 2026.

Source: jabrena/plinth on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.