ai-agent

java-design-patterns

Design patterns implemented in Java
94,771 stars+48★ this week27,368 forksJavaUpdated 10/8/2026100% free · open source
What it does

Provides a comprehensive collection of Java design patterns, allowing developers to learn and implement proven solutions to common software design problems

When to use it
  • •When building complex software systems and wanting to apply well-established design principles
  • •When trying to solve a specific software design problem and looking for a proven solution
  • •When learning Java and wanting to understand how to apply design patterns in real-world applications
Ready-to-paste prompt
Explore the `FactoryMethodPattern` class in the `com/iluwatar/designpatterns/creational/factorymethod` package to see how to implement the Factory Method design pattern
Heads up: Make sure you have Maven installed and configured properly on your system, as the project uses Maven for build and dependency management
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

🛠️ Technical setup

Expect 20–40 minutes in a terminal — or let your AI agent drive it.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/java-design-patterns && curl -fsSL https://workflowstacks.com/api/skills/java-design-patterns/claude-skill -o ~/.claude/skills/java-design-patterns/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How java-design-patterns works
Codeflow
Free to inspect

Java-design-patterns is a very large Java project (~87k lines across 1357 code files, plus 637 test files). It is a full software project: use it through its install path rather than reading it end to end. Last commit this month, Other license, has a test suite.

Size
Very large codebase
~87k lines · 1357 code files · days to read — use, don't read
Setup
Developer setup
A real software project. Use it via its install path; don't expect to read it all.
Runs on
Java/JVM
No API keys detected
Java 99%
What happens, step by step

Design patterns implemented in Java

You give
Java code
1Read Intro
Introduction to design patterns
README.md
2Get Started
Familiarize with design principles
3Explore Patterns
Browse design patterns
4Contribute Code
Contribute to the project
CONTRIBUTING.MD
You get
Solved problems
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    AGENTS.md
    The instructions the AI actually follows
  3. 3
    command/README.md
    Inside command/ — an example of what the AI is told to do
What's in each folder
command/Prompts, skills & agent definitions14 files
component/Frontend / UI17 files
adapter/Sub-packages / plugins13 files
pipeline/Workflows / pipelines13 files
localization/Folder568 files
page-object/Folder39 files
READMEHas testsDocumentedCI checksOther licenseUpdated this month
Quick Actions
Details
Creator
iluwatar
Language
Java
Category
ai-agent
Published
8/9/2014

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/java-design-patterns.svg)](https://workflowstacks.com/skills/java-design-patterns?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.