This file is byte-identical to the first copy the registry indexed, one of 4 indexed copies. Same content hash, so the same checks give both the same grade.
architecture-patterns from b-mendoza/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use this skill when designing clean architecture for a new microservice, when refactoring a monolith to use bounded contexts, when implementing hexagonal or onion architecture patterns, or when debugging dependency cycles between application layers.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Architecture Patterns
Master proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design to build maintainable, testable, and scalable systems.
**Given:** a service boundary or module to architect.
**Produces:** layered structure with clear dependency rules, interface definitions, and test boundaries.
## When to Use This Skill
- Designing new backend services or microservices from scratch
- Refactoring monolithic applications where business logic is entangled with ORM models or HTTP concerns
- Establishing bounded contexts before splitting a system into services
- Debugging dependency cycles where infrastructure code bleeds into the domain layer
- Creating testable codebases where use-case tests do not require a running database
- Implementing domain-driven design tactical patterns (aggregates, value objects, domain events)
## Core Concepts
### 1. Clean Architecture (Uncle Bob)
**Layers (dependency flows inward):**
- **Entities**: Core business models, no framework imports
- **Use Cases**: Application business rules, orchestrate entities
…
The line at the top of this page pins the label git:20260728.21e9cc9, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_g7s2girgssw44iwp
GET https://markdownregistry.com/api/v1/resolve?ref=b-mendoza/agent-skills/architecture-patterns
GET https://markdownregistry.com/api/v1/blob/350caf22b856b7d2908a10a69a8cc13e743c757ba9838716051b4e29fc1d7595
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
b-mendoza/agent-skills · .agents/skills/clean-code/SKILL.md · This skill embodies the principles of "Clean Code" by Robert C. Martin (Uncle Bob). Use it to transform "code that…
b-mendoza/agent-skills · .agents/skills/committing-scoped-changes/SKILL.md · Creates reviewable atomic git commits from an explicit list of files or folders after the user asks, in words, to…
b-mendoza/agent-skills · .agents/skills/council-of-advisors/SKILL.md · Runs a structured nine-seat council deliberation on an idea, project, business, startup, goal, or objective, then…
b-mendoza/agent-skills · .agents/skills/domain-modeling/SKILL.md · Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md…
b-mendoza/agent-skills · .agents/skills/executing-plans/SKILL.md · Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose…
b-mendoza/agent-skills · .agents/skills/idea-refine/SKILL.md · Refines raw ideas into sharp, actionable concepts through structured divergent and convergent thinking. Use when an…
b-mendoza/agent-skills · .agents/skills/improving-test-suites/SKILL.md · Improve existing test suites into minimal, high-signal behavior-focused harnesses with approval-before-mutation…
b-mendoza/agent-skills · .agents/skills/interview-me/SKILL.md · Extracts what the user actually wants instead of what they think they should want. Achieves this through…
a5c-ai/babysitter · library/methodologies/cc10x/skills/architecture-patterns/SKILL.md · System and API design guidance covering component boundaries, data flow, integration patterns, and scalability…