neo-clean-architecture SKILL.md skillA

neo-clean-architecture from benknightdark/neo-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add benknightdark/neo-skills/neo-clean-architecture@git:20260611.6cd7ff8

Pins git:20260611.6cd7ff8 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
benknightdark/neo-skills
Path
skills/neo-clean-architecture/SKILL.md
Versions recorded
1
Latest version
git:20260611.6cd7ff8, committed Jun 11, 2026
Size
5,545 bytes
Repository stars
7
License
MIT

Use this skill when the user wants to design, implement, review, or refactor software systems conforming to Clean Architecture principles. It structures code into Domain, Application, Infrastructure, and Presentation/API layers, enforcing inward-only dependencies. It advocates rich domain models, CQRS, and the Result pattern, operating on technology-neutral concepts without database or framework bindings.

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

# Clean Architecture

Design and review software systems using Clean Architecture. The core objective is separating concerns based on their rate of change, directing all source code dependencies inward toward the Domain core.

## Gotchas
* **Anemic Models**: Entities that are mere data containers (only getters/setters) leak business logic. Entities must protect their invariants. State changes must go through explicit, business-oriented methods.
* **Pointless Value Objects**: Avoid wrapping primitives (e.g., string, number) unless they encapsulate validation (e.g., email format) or behavior (e.g., auto-slug generation).
* **Deep Object Graphs**: Do not nest full entities for associations. Loading a parent entity will trigger database performance issues. Reference other aggregates using IDs instead.
* **Dependency Leakage**: Repository interfaces must reside in the Application layer, with implementations in Infrastructure. Never return query streams (e.g., `IQueryable`) to Application, as it leaks database concerns.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add benknightdark/neo-skills/neo-clean-architecture@sha256:06e95e9d02892173

The line at the top of this page pins the label git:20260611.6cd7ff8, 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_qdpfe4euaokwwu36.svg)](https://markdownregistry.com/a/art_qdpfe4euaokwwu36)

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

Versions

The registry has recorded 1 version of this file, committed on Jun 11, 2026.

versioncommittedcommitsizeaudit
git:20260611.6cd7ff8 latest2026-06-11 6cd7ff8 5,545 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 (5545 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

benknightdark/neo-skills · 7 stars · license MIT · pushed 2026-10-25 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_qdpfe4euaokwwu36
GET https://markdownregistry.com/api/v1/resolve?ref=benknightdark/neo-skills/neo-clean-architecture
GET https://markdownregistry.com/api/v1/blob/06e95e9d0289217353915e561b0462810314b2afcdb0c82f35d839e4c17da8e5

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 benknightdark/neo-skills

generate-skill SKILL.md skill
benknightdark/neo-skills · .agents/skills/generate-skill/SKILL.md · 引導使用者建立、更新、審查或最佳化高品質 Agent Skill 定義檔 (SKILL.md),包含官方規格、description 觸發語、references/scripts/assets/evals 結構,以及 5 種核心設計模式。
git:20260523.61a8e20 · audit A · 7 stars
skill-name-kebab-case SKILL.md skill
benknightdark/neo-skills · .agents/skills/generate-skill/templates/SKILL.md · Use this skill when the user wants to [intended task / user intent]. It triggers when they mention [keywords / concepts…
v1.0.0 · audit A · 7 stars
AGENTS.md AGENTS.md file
benknightdark/neo-skills · AGENTS.md
git:20260805.ff5ad03 · audit A · 7 stars
neo-azure-pipelines SKILL.md skill
benknightdark/neo-skills · skills/neo-azure-pipelines/SKILL.md · Use this skill when the user asks to create, review, debug, or modernize Azure Pipelines YAML for CI/CD, especially…
v1.0.0 · audit A · 7 stars
neo-clarification SKILL.md skill
benknightdark/neo-skills · skills/neo-clarification/SKILL.md · Use this skill when the user gives vague, emotional, fragmented, screenshot-based, or complaint-style requirements and…
git:20260531.de0cb05 · audit A · 7 stars
neo-code-review SKILL.md skill
benknightdark/neo-skills · skills/neo-code-review/SKILL.md · Use this skill when the user asks to review or audit source code, a PR, diff, commit, or recent changes for bugs…
git:20260817.6a10bcd · audit A · 7 stars
neo-csharp-interface-generator SKILL.md skill
benknightdark/neo-skills · skills/neo-csharp-interface-generator/SKILL.md · Use this skill when the user asks to generate, update, or place a C# interface from an existing class. Trigger for…
v1.0.0 · audit A · 7 stars
neo-csharp SKILL.md skill
benknightdark/neo-skills · skills/neo-csharp/SKILL.md · Use this skill when writing, reviewing, debugging, or modernizing C# code in .NET projects. Trigger for .cs/.csproj…
v1.4.0 · audit A · 7 stars
neo-dotnet-ef-core SKILL.md skill
benknightdark/neo-skills · skills/neo-dotnet-ef-core/SKILL.md · Use this skill when the task involves Entity Framework Core models, DbContext, migrations, LINQ queries, change…
v1.0.0 · audit A · 7 stars
neo-dotnet-minimal-apis SKILL.md skill
benknightdark/neo-skills · skills/neo-dotnet-minimal-apis/SKILL.md · Use this skill when building, debugging, refactoring, or reviewing ASP.NET Core Minimal APIs, lightweight endpoints…
v1.0.0 · audit A · 7 stars
neo-dotnet-mvc SKILL.md skill
benknightdark/neo-skills · skills/neo-dotnet-mvc/SKILL.md · Use this skill when building, debugging, refactoring, or reviewing ASP.NET Core MVC apps with Razor views, controllers…
v1.0.0 · audit A · 7 stars
neo-dotnet-tag-helper SKILL.md skill
benknightdark/neo-skills · skills/neo-dotnet-tag-helper/SKILL.md · Use this skill when the user asks to design, implement, refactor, or review custom ASP.NET Core Tag Helpers in C#…
v1.0.0 · audit A · 7 stars

Every file in benknightdark/neo-skills

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