backend-development

Builds REST/GraphQL APIs with authentication, routing, and MSSQL-backed persistence.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/MinhHoangDono/antigravity-kit --skill backend-development-minhhoangdono
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-development
Source: https://github.com/MinhHoangDono/antigravity-kit/tree/main/.agent/skills/backend-development
Command: npx skills add https://github.com/MinhHoangDono/antigravity-kit --skill backend-development-minhhoangdono

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you build reliable backend APIs, services, and infrastructure by turning unclear requirements into a consistent, maintainable architecture with security and performance guardrails.

Core Features & Use Cases

  • Layered backend architecture: routes → controllers → services → repositories → database for clearer separation of concerns.
  • Production-ready API patterns: consistent error shapes, correct HTTP status codes, validation at the API boundary, and pagination for list endpoints.
  • Security and reliability best practices: auth middleware, parameterized queries, safe secret handling via environment variables, and transaction boundaries to protect multi-step operations.
  • Use Case: Build a REST or GraphQL feature where authenticated users create resources, list them with pagination, and trigger background jobs while persisting data via migrations and indexed queries.

Quick Start

Ask your AI to implement the backend for a REST API feature described in detail, using layered structure, input validation, secure authentication middleware, consistent error responses, and repository-based database access.

Frequently Asked Questions about backend-development

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

FAQPage Schema
How do I structure a backend API with layered architecture?

Structure a backend API using layered architecture by routing requests through routes, controllers, services, and repositories before hitting the database. This separation of concerns ensures maintainable file sizing, extracted modules, and clear boundaries for dependency injection and business logic.

What is the best way to handle API errors and HTTP status codes?

The best way to handle API errors is by enforcing consistent error shapes and correct HTTP status codes across API boundaries. Validate inputs at the API boundary and use typed error handling to ensure reliable, production-ready API responses.

How do I secure backend API endpoints with authentication middleware?

Secure backend API endpoints by implementing auth middleware, using parameterized queries to prevent injection, and managing secrets safely via environment variables. Apply transaction boundaries to protect multi-step operations and enforce security hardening.

Can I use database migrations for schema changes in a REST API?

Yes, you can use database migrations for schema changes in a REST API. Migration-based schema changes ensure reliable database models and indexed queries, supporting persistent data storage for authenticated users and background jobs.

How do I implement pagination for list endpoints in a backend service?

Implement pagination for list endpoints by validating inputs at the API boundary and applying consistent query patterns at the repository level. This ensures correct HTTP semantics and production-ready API patterns for large datasets.

When do I need background jobs in backend infrastructure?

You need background jobs in backend infrastructure when authenticated users trigger asynchronous tasks that require reliable execution. Background jobs work alongside caching and layered backend architecture to handle operations without blocking API responses.