๐Ÿงฉ
WritingShell

Design Patterns

by decebals

Design Patterns is a Writing skill for Claude Code, published by decebals in claude-code-java.

714 stars142 forkson decebals/claude-code-javaAdded 2026/08/23+1% in starsRepository updated 2026/02/08
ai-assisted-developmentclaude-codeclaude-code-skillsdeveloper-toolsjava
Install in seconds
Install Design Patterns
Copy Design Patterns into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/decebals/claude-code-java/tree/main/.claude/skills/design-patterns ~/.claude/skills/design-patterns

Requires Node.js. Downloads this skill only โ€” not the rest of the repository โ€” into your Claude Code skills folder.

Without Node.js

git clone https://github.com/decebals/claude-code-java.git

Clones the whole repository, then copy the skillโ€™s own directory into your skills folder yourself.

In this catalog

Source file
.claude/skills/design-patterns/SKILL.md in decebals/claude-code-java
Installs to
~/.claude/skills/design-patterns
Collection
One of 18 skills cataloged from this repository
Category
Writing โ€” 1012 skills

What Design Patterns does

Design Patterns gives Java examples for common patterns like Factory, Builder, Strategy, and Observer. Use it when implementing a pattern, designing extensible components, or refactoring rigid code.

Design Patterns is cataloged under Writing on DirSkills. Design Patterns comes from a repository tagged ai-assisted-development, claude-code, claude-code-skills, developer-tools and java.

Documentation

README

Design Patterns Skill

Practical design patterns reference for Java with modern examples.

When to Use

  • User asks to implement a specific pattern
  • Designing extensible/flexible components
  • Refactoring rigid code structures
  • Code review suggests pattern usage

Quick Reference: When to Use What

Problem Pattern
Complex object construction Builder
Create objects without specifying class Factory
Multiple algorithms, swap at runtime Strategy
Add behavior without changing class Decorator
Notify multiple objects of changes Observer
Ensure single instance Singleton
Convert incompatible interfaces Adapter
Define algorithm skeleton Template Method

Creational Patterns

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Design Patterns

  • What else does decebals publish alongside Design Patterns?

    Design Patterns is one of 18 skills that DirSkills catalogs from decebals/claude-code-java, the repository it ships in. Its siblings there include API Contract Review, Architecture Review and Changelog Generator. Each one is a separate skill with its own page in this directory, installs the same way Design Patterns does, and is maintained by decebals in that same repository. The rest of the collection is listed on the decebals/claude-code-java page.

  • How does Design Patterns compare to other Writing skills?

    Design Patterns ranks #596 by stars among the 1012 Writing skills in this catalog. The most-starred ones next to it are Article Writing, Social Media Content Calendar and Knowledge Comic Creator. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Design Patterns against them. Open each page to compare what they document and how they install.

More from decebals/claude-code-java

Design Patterns is one of 18 skills cataloged on DirSkills from decebals/claude-code-java.

See all 18 skills โ†’