layered-domain-architecture SKILL.md skillA

This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.

layered-domain-architecture from abbasjaber/skill-layered-domain-architecture is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add abbasjaber/skill-layered-domain-architecture/layered-domain-architecture@git:20261022.bb4a96e

Pins git:20261022.bb4a96e in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
abbasjaber/skill-layered-domain-architecture
Path
SKILL.md
Versions recorded
1
Latest version
git:20261022.bb4a96e, committed Oct 22, 2026
Size
6,930 bytes
Repository stars
3
License
MIT

Use when designing, building, or refactoring backend features, APIs, controllers, services, repositories, or database migrations following clean layered domain architecture and TDD principles.

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

# Layered Domain Architecture & Development Guidelines

## Overview

This skill provides a standardized, battle-tested framework for building clean, maintainable, and scalable backend applications using **Layered Domain Architecture** and **Test-Driven Development (TDD)**.

All code is strictly separated into distinct layers with clear boundaries: transport handling, domain logic, data access, and API serialization.

---

## When to Use

- When scaffolding or implementing a new backend feature, API endpoint, or domain module.
- When refactoring "fat controllers" or business logic scattered across models and request handlers.
- When isolating database access into clean repository abstractions.
- When establishing or reviewing TDD test coverage for endpoints and services.
- When writing database migrations that require strict reversibility and referential integrity.

### When NOT to Use

- For trivial one-off utility scripts or developer CLI scratchpads with no persistence layer.
- When the project explicitly enforces a different design paradigm (e.g., pure micro-functions or event sourcing without repositories).

---

## The Layered Architecture Blueprint

```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add abbasjaber/skill-layered-domain-architecture/layered-domain-architecture@sha256:8b318bbae2fc8c8e

The line at the top of this page pins the label git:20261022.bb4a96e, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_r5cguchk2kt3wi4h.svg)](https://markdownregistry.com/a/art_r5cguchk2kt3wi4h)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 22, 2026.

versioncommittedcommitsizeaudit
git:20261022.bb4a96e latest2026-10-22 bb4a96e 6,930 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6930 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

abbasjaber/skill-layered-domain-architecture · 3 stars · license MIT · pushed 2026-10-26 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_r5cguchk2kt3wi4h
GET https://markdownregistry.com/api/v1/resolve?ref=abbasjaber/skill-layered-domain-architecture/layered-domain-architecture
GET https://markdownregistry.com/api/v1/blob/8b318bbae2fc8c8ed9f945df9d2b63140d1250da2f21e1f576613564e96171de

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.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from abbasjaber/skill-layered-domain-architecture

layered-domain-architecture SKILL.md skill
abbasjaber/skill-layered-domain-architecture · skills/layered-domain-architecture/SKILL.md · Use when designing, building, or refactoring backend features, APIs, controllers, services, repositories, or database…
git:20261022.bb4a96e · audit A · 3 stars

Every file in abbasjaber/skill-layered-domain-architecture

Other files named layered-domain-architecture

layered-domain-architecture SKILL.md skill
abbasjaber/skill-layered-domain-architecture · skills/layered-domain-architecture/SKILL.md · Use when designing, building, or refactoring backend features, APIs, controllers, services, repositories, or database…
git:20261022.bb4a96e · audit A · 3 stars

Browse by kind, by grade A, or by owner.