architecture-patterns

Implement Clean Architecture, Hexagonal Architecture, and Domain-Driven Design in backend services.

Updated Jul 8, 2026
One-click install
npx skills add https://github.com/PriyanshKuniyal/gemini-cli-resources --skill architecture-patterns-priyanshkuniyal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture-patterns
Source: https://github.com/PriyanshKuniyal/gemini-cli-resources/tree/main/extensions/claude-code-workflows/plugins/backend-development/skills/architecture-patterns
Command: npx skills add https://github.com/PriyanshKuniyal/gemini-cli-resources --skill architecture-patterns-priyanshkuniyal

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires domain, use_cases, adapters, infrastructure, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you design and implement clean, maintainable, and scalable backend architectures using proven patterns like Clean Architecture, Hexagonal Architecture, and Domain-Driven Design.

Core Features & Use Cases

  • Proven Patterns: Implement Clean Architecture, Hexagonal Architecture, and Domain-Driven Design.
  • Use Cases: Ideal for new microservices, refactoring monoliths, establishing bounded contexts, debugging dependency cycles, and creating testable codebases.
  • Detailed Documentation: Offers a deep dive into advanced patterns, multi-service project structures, and architectural comparisons.

Quick Start

Use the architecture-patterns skill to apply Clean Architecture to your new service 'service-a'.

Frequently Asked Questions about architecture-patterns

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

FAQPage Schema
How do I refactor a monolithic application using Domain-Driven Design?

To refactor a monolith with Domain-Driven Design, you establish bounded contexts and isolate domain logic from infrastructure. This Skill provides guidelines for defining use cases, implementing adapters, and untangling dependency cycles during the transition.

What is the best way to debug dependency cycles in backend architecture?

Debugging dependency cycles in backend architecture requires restructuring your codebase using Hexagonal or Clean Architecture. This Skill guides you through isolating domains, use cases, and adapters to break circular dependencies and establish clear module boundaries.

How do I structure a new microservice using Clean Architecture?

Structuring a new microservice with Clean Architecture involves separating code into domain, use cases, adapters, and infrastructure layers. This Skill provides architectural guidelines and multi-service project structures to implement these boundaries effectively.

What are the differences between Clean Architecture and Hexagonal Architecture?

Clean Architecture and Hexagonal Architecture differ in dependency rules and port abstraction. This Skill offers detailed architectural comparisons, highlighting how each pattern structures adapters and domain boundaries for backend services.

Do I need Python knowledge to implement Hexagonal Architecture adapters?

Yes, Python knowledge is required to implement Hexagonal Architecture adapters. This Skill specifically requires Python for writing tests and building in-memory adapter implementations to verify your backend architecture patterns.