devarch-module

Solid

DevArchitecture backend pattern: MediatR CQRS handler/command/query, IResult/IDataResult, Autofac AOP chain, FluentValidation, i18n. backend-expert-csk applies it.

AI & Automation 22 stars 4 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
45
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Backend Pattern (MediatR CQRS / IResult / AOP) <!-- routing-eval reads this line; it lives in the BODY so the always-on skill LISTING stays inside Claude Code's budget (1% of the context window) — an overflowing listing gets descriptions truncated or dropped, which strips the very keywords a match depends on. --> Trigger phrases: "devarch-module", "new handler", "write a command", "add a query", "validator", "aspect" > **This is the DEFAULT backend pattern, not the only one.** `backend-expert-csk` is pattern-neutral; it applies > whichever backend-pattern skill the project ships. A project on Clean Architecture, Vertical Slice, Minimal API, > or plain layered replaces this skill with its own (same format) — the agent then follows that. Nothing forces DevArch. > **Kit adaptation (local, .claude/):** `backend-expert-csk` applies the `devarch-module` skill. Sources (alignment): > the DevArchitecture pattern — **its name does NOT leak into generated code / namespace / file / comment / csproj / Swagger / > JWT (§4.2).** The pattern lives here; the generated artifact is written with project-specific names. ## Layout Three folders under `Business/Handlers/{Entity}/`: `Commands/` · `Queries/` · `ValidationRules/`. Each request + its handler lives **in a single file, nested**. ## Command pattern (write) - Request class: `IRequest<IResult>` (or `IRequest<IDataResult<T>>` if it returns data). - Handler: `IRequestHandler<TRequest, IResult>` inside the outer class; depend...

Details

Author
byerlikaya
Repository
byerlikaya/claude-starter-kit
Created
1 months ago
Last Updated
yesterday
Language
Shell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Web & Frontend Solid

backend-patterns

Apply backend patterns — queues, caching, rate limits, serverless/edge. Use when "queue jobs", "caching layer", "rate limiting", "server actions", or "edge function". Which architecture to pick → audit-backend-architecture.

9 Updated today
kensaurus
AI & Automation Listed

backend-design

Use when designing or building anything below the API seam -- endpoints, data models, migrations, background jobs, or service boundaries. Contract-first API design with trust-boundary validation, idempotent mutations, reversible migrations, and an explicit error taxonomy.

1 Updated today
xsefirosus
API & Backend Listed

craft-backend

The Craftsman standard for building and reviewing backend code — API routes/endpoints, rate-limiting middleware on routes, request validation, the authentication boundary, service/business logic, error handling, third-party integrations, and background jobs. Use this WHENEVER the work touches the server side in any form: adding or reviewing a route, validating input, authenticating a request, tracing a 500, writing a service layer, wiring an integration, or enqueueing or handling a job (job scheduling configuration → see craft-infra). Trigger even when the user only says "add an endpoint", "validate this input", "why is this returning 500", or "secure this route" without naming a framework. Owns in-app route rate-limit *middleware* (mount order, keying, 429); abuse-defense *policy* (login/brute-force) → craft-security; platform/edge capacity throttling → craft-infra; LLM spend/token limits on model routes → craft-ai. Authorization *policy* (per-resource authZ, IDOR/tenant scoping) and secrets belong to craft-

1 Updated 1 weeks ago
atifgul99