A decision framework that tells you which architectural patterns to apply and when, covering the foundational ones (Dependency Injection, SOA) and situational ones (Repository, Domain Events, Circuit Breaker, Anti-Corruption Layer). The philosophy is problem-first: it gives you decision trees based on specific pain points like "code is hard to test" or "one slow service breaks everything" rather than pattern catalogs to memorize. Useful when designing new systems, adding integrations, or refactoring existing architecture. The best part is the explicit anti-YAGNI warnings, like stopping you from adding patterns preemptively or cargo-culting "best practices" without understanding what problem they solve.

skills.sh installs
382
GitHub stars
79
last updated
Aug 21, 2026

Install

$ npx -y skills add bobmatnyc/claude-mpm-skills --skill software-patterns --agent claude-code

Installs into .claude/skills of the current project.

Files

Software Patterns Primer

Overview

Architectural patterns solve specific structural problems. This skill provides a decision framework for when to apply each pattern, not a catalog to memorize.

Core philosophy: Patterns solve problems. No problem? No pattern needed.

When to Use This Skill

Activate when:

  • Designing a new system or major feature
  • Adding external service integrations
  • Code becomes difficult to test or modify
  • Services start calling each other in circles
  • Failures in one component cascade to others
  • Business logic scatters across multiple locations

Pattern Hierarchy

Foundational (Apply by Default)

These patterns provide the structural foundation for maintainable systems. Apply unless you have specific reasons not to.

PatternProblem SolvedSignal to Apply
Dependency InjectionTight coupling, untestable codeClasses instantiate their own dependencies
Service-Oriented ArchitectureMonolithic tangles, unclear boundariesBusiness logic scattered, no clear ownership

DI quick example — before and after:

Sponsors

Details

Repository
github.com/bobmatnyc/claude-mpm-skills
Categories
Code Review & Quality, Productivity & Planning, Design & UI/UX
First seen
Jun 3, 2026

More from bobmatnyc/claude-mpm-skills

All 158
1levnikolaevich avatarln-640-pattern-evolution-auditorlevnikolaevich/claude-code-skillsUse when auditing architectural patterns through the evaluation platform with mandatory best-practice research, coordinated pattern workers, and structured summ382skills.sh installs
2davila7 avatargguf-quantizationdavila7/claude-code-templatesGGUF format and llama.cpp quantization for efficient CPU/GPU inference. Use when deploying models on consumer hardware, Apple Silicon, or when needing flexible 378skills.sh installs
3eachlabs avatarresume-design-generationeachlabs/skillsGenerate professional resume and CV designs using each::sense AI. Create modern, creative, minimalist, executive, tech, academic, infographic, two-column, ATS-f378skills.sh installs
4alirezarezvani avatarcross-evalalirezarezvani/claude-skills/cs:cross-eval <memo> — Multi-model consensus on a board memo or strategy brief. Claude + Codex + Gemini cross-review with graceful degradation. Use when a high376skills.sh installs
5levnikolaevich avatarln-722-backend-generatorlevnikolaevich/claude-code-skillsGenerates .NET Clean Architecture backend structure from entity definitions. Use when bootstrapping .NET backend projects.376skills.sh installs
6levnikolaevich avatarln-400-story-executorlevnikolaevich/claude-code-skillsExecutes Story tasks in priority order (To Review, To Rework, Todo). Use when Story has planned tasks ready for implementation.372skills.sh installs