backend-dev-guidelines

Provide standardized backend development patterns for API endpoints and services.

Updated Mar 14, 2026
One-click install
npx skills add https://github.com/syanix/agentic-sdlc --skill backend-dev-guidelines-syanix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-dev-guidelines
Source: https://github.com/syanix/agentic-sdlc/tree/main/templates/skills/backend-dev-guidelines/_base
Command: npx skills add https://github.com/syanix/agentic-sdlc --skill backend-dev-guidelines-syanix

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive set of best practices and conventions for backend development, ensuring consistency, maintainability, and quality across projects.

Core Features & Use Cases

  • Architecture Guidance: Promotes layered architecture (Domain, Application, Infrastructure, API) for organized code.
  • API Design: Defines principles for RESTful conventions, versioning, pagination, filtering, and sorting.
  • Error Handling: Establishes structured error responses and a clear error code hierarchy.
  • Validation: Outlines patterns for input validation and DTO conventions.
  • Security: Covers authentication, authorization, rate limiting, and input sanitization.
  • Database Patterns: Details repository patterns, migrations, standard fields, soft deletes, and indexing.
  • Testing: Specifies requirements for unit and integration tests with coverage targets.
  • Performance: Offers strategies for caching, query optimization, and N+1 prevention.
  • Use Case: A new developer joins a project and needs to implement a new API endpoint. They consult this Skill to understand the expected structure, naming conventions, error handling, and security requirements for the new endpoint.

Quick Start

Follow the backend development guidelines for implementing new API endpoints.

Frequently Asked Questions about backend-dev-guidelines

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure backend architecture for a new application?

Implementing backend architecture patterns involves organizing code into Domain, Application, Infrastructure, and API layers to ensure separation of concerns and maintainability across diverse frameworks.

What database patterns should I use for backend development?

Database interactions should follow repository patterns, manage migrations, use standard fields, implement soft deletes, and apply indexing to optimize query performance and maintain data integrity.

What are the best ways to optimize backend performance and prevent N+1 queries?

Backend performance optimization requires implementing caching strategies, optimizing database queries, and actively preventing N+1 query issues to reduce latency and improve application throughput.

How do I secure backend API endpoints?

Backend security requires implementing authentication, authorization, rate limiting, and input sanitization to protect API endpoints from unauthorized access and malicious payloads.