backend-development

Design REST, GraphQL, or gRPC APIs with authentication and database optimization.

5|Updated Dec 2, 2025
One-click install
npx skills add https://github.com/namdfang/claudfang-engineer --skill backend-development-namdfang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-development
Source: https://github.com/namdfang/claudfang-engineer/tree/main/.claude/skills/backend-development
Command: npx skills add https://github.com/namdfang/claudfang-engineer --skill backend-development-namdfang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill captures best practices for building robust, scalable backends: API design, authentication, data modeling, performance, security, testing, DevOps, and monitoring.

Core Features & Use Cases

  • API design: REST, GraphQL, or gRPC patterns and best practices
  • Authentication & Security: OAuth 2.1, JWT, RBAC, MFA, and secure session management
  • Performance & Architecture: caching, indexing, scaling microservices, and observability
  • Testing & DevOps: testing strategies, CI/CD pipelines, and production monitoring
  • Architecture patterns: monoliths, microservices, event-driven, CQRS

Quick Start

Propose an API design for a new service and outline a minimal test plan.

Frequently Asked Questions about backend-development

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

FAQPage Schema
How do I design a REST API for production?

REST API design for production requires versioning, proper HTTP methods, consistent error handling, and pagination. Apply authentication via OAuth 2.1 or JWT, implement rate limiting, validate all inputs to prevent injection attacks, and document endpoints thoroughly. Use caching headers and connection pooling to optimize performance.

What are the key security practices for backend systems?

Secure backends implement OWASP Top 10 mitigations: parameterized queries to prevent SQL injection, Argon2id for password hashing, OAuth 2.1 and JWT for authentication, role-based access control (RBAC), and multi-factor authentication (MFA). Enable HTTPS, sanitize inputs, use secure session management, and regularly audit dependencies.

How do I optimize database performance in backend applications?

Database optimization combines indexing on frequently queried columns, connection pooling to reduce overhead, caching strategies (Redis or Memcached), query optimization, and denormalization where needed. Monitor slow queries, use read replicas for scaling, and implement sharding for large datasets to distribute load.

When should I use microservices instead of a monolithic architecture?

Microservices suit systems needing independent scaling, team autonomy, or technology diversity across services. Choose microservices when your monolith becomes a deployment bottleneck or when services have distinct performance requirements. Monoliths work better for small teams, simpler domains, or when operational overhead is a constraint.

What testing strategies reduce backend bugs in production?

Effective backend testing layers unit tests for business logic, integration tests for database and API interactions, and end-to-end tests for critical workflows. Combine with CI/CD automation to catch regressions early. Add contract testing for microservices, load testing for scalability, and security testing for OWASP compliance.

How do I set up monitoring and observability for production backends?

Production observability requires centralized logging, distributed tracing across services, and metrics collection (latency, error rates, throughput). Set up alerts for anomalies, track dependency health, and maintain dashboards for key performance indicators. Implement structured logging and correlation IDs to trace requests across services.