Skip to content
Back to skills

Backend Patterns

ASecurity

Layered backend structure: handlers, services, repositories, DTOs and dependency injection.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentsbackend

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add karthikrshet/saarthi --skill backend-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Backend Patterns?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Backend Patterns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/karthikrshet-backend-patterns/badge)](https://www.skillsdirectory.com/skills/karthikrshet-backend-patterns)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: backend-patterns
description: "Layered backend structure: handlers, services, repositories, DTOs and dependency injection."
tags: [backend]
---

# Backend Patterns

## When to use

- Structuring a new service or cleaning an old one

## Procedure

1. Keep handlers thin
2. Put business rules in services
3. Isolate persistence in repositories
4. Inject dependencies
5. Map DTOs at boundaries

## Checklist

- [ ] Business logic testable without HTTP or DB

## Anti-patterns

- Fat controllers
- Anemic domain with logic scattered everywhere

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.