design-patterns

Diagnose design problems and select patterns via four-phase verification checks.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/AymanKastali/pydentity --skill design-patterns-aymankastali
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-patterns
Source: https://github.com/AymanKastali/pydentity/tree/main/.claude/skills/design-patterns
Command: npx skills add https://github.com/AymanKastali/pydentity --skill design-patterns-aymankastali

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Helps engineering teams avoid misapplied or over-engineered design patterns by guiding decisions through a concrete, problem-first lens. It ensures that pattern selection is grounded in real design problems, aligned with GoF intents, and validated via a structured, phased process.

Core Features & Use Cases

  • Phased gates (Phase 1: Problem Identification, Phase 2: Pattern Selection, Phase 3: Application Verification, Phase 4: Anti-Pattern Detection) to enforce disciplined design decisions.
  • Domain-aligned pattern mapping and SOLID compliance checks to ensure meaningful abstractions.
  • Use cases include architecture reviews, onboarding engineers to pattern thinking, and evaluating proposed code changes for proper pattern fit.

Quick Start

Apply this skill to assess a proposed design change by identifying the problem, selecting a candidate pattern based on intent, and verifying correct mapping and safety checks.

Frequently Asked Questions about design-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I select the right design pattern for a specific software architecture problem?

Design pattern selection should be based on problem intent rather than structure. Apply phased checks to verify problem legitimacy, candidate fit, verification, and anti-pattern safety to ensure proper pattern mapping.

What is a design pattern anti-pattern and how do I detect it?

An anti-pattern is a misapplied or over-engineered design choice. Detect anti-patterns by applying safety checks during pattern application verification to ensure the selected pattern aligns with real design problems.

How do I enforce SOLID compliance when applying design patterns?

Enforce SOLID compliance by running pattern checks that validate domain-language naming and meaningful abstractions. This ensures selected patterns provide measurable complexity improvements while maintaining architectural integrity.

When do I need a structured design pattern selection process?

You need a structured pattern selection process during architecture reviews, onboarding engineers to pattern thinking, and evaluating proposed code changes for proper pattern fit to avoid over-engineering.

Does problem-first pattern selection work for evaluating existing code changes?

Problem-first pattern selection works for evaluating code changes by identifying the problem, selecting a candidate pattern based on intent, and verifying correct mapping and safety checks across diverse scenarios.