Backend development

From CongDon1207/AGENTS.md · View interactive version

Backend development is an AI agent skill from the GitHub repository CongDon1207/AGENTS.md. Build robust backend systems with modern technologies (Node.js, Python, Go, Rust), frameworks (NestJS, FastAPI, Django), databases (PostgreSQL, MongoDB, Redis), APIs (REST, GraphQL, gRPC), authentication (OAuth 2.1, JWT), testing strategies, security best practices (OWASP Top 10), performance optimi

How to use this skill

Skill file

Backend Development Skill

Production-ready backend development with modern technologies, best practices, and proven patterns.

When to Use

Technology Selection Guide

Languages: Node.js/TypeScript (full-stack), Python (data/ML), Go (concurrency), Rust (performance)

Frameworks: NestJS, FastAPI, Django, Express, Gin

Databases: PostgreSQL (ACID), MongoDB (flexible schema), Redis (caching)

APIs: REST (simple), GraphQL (flexible), gRPC (performance)

See: references/backend-technologies.md for detailed comparisons

Reference Navigation

Core Technologies:

Security & Authentication:

Performance & Architecture:

Quality & Operations:

Key Best Practices (2025)

Security: Argon2id passwords, parameterized queries (98% SQL injection reduction), OAuth 2.1 + PKCE, rate limiting, security headers

Performance: Redis caching (90% DB load reduction), database indexing (30% I/O reduction), CDN (50%+ latency cut), connection pooling

Testing: 70-20-10 pyramid (unit-integration-E2E), Vitest 50% faster than Jest, contract testing for microservices, 83% migrations fail without tests

DevOps: Blue-green/canary deployments, feature flags (90% fewer failures), Kubernetes 84% adoption, Prometheus/Grafana monitoring, OpenTelemetry tracing

Quick Decision Matrix

| Need | Choose |

|------|--------|

| Fast development | Node.js + NestJS |

| Data/ML integration | Python + FastAPI |

| High concurrency | Go + Gin |

| Max performance | Rust + Axum |

| ACID transactions | PostgreSQL |

| Flexible schema | MongoDB |

| Caching | Redis |

| Internal services | gRPC |

| Public APIs | GraphQL/REST |

| Real-time events | Kafka |

Implementation Checklist

API: Choose style → Design schema → Validate input → Add auth → Rate limiting → Documentation → Error handling

Database: Choose DB → Design schema → Create indexes → Connection pooling → Migration strategy → Backup/restore → Test performance

Security: OWASP Top 10 → Parameterized queries → OAuth 2.1 + JWT → Security headers → Rate limiting → Input validation → Argon2id passwords

Testing: Unit 70% → Integration 20% → E2E 10% → Load tests → Migration tests → Contract tests (microservices)

Deployment: Docker → CI/CD → Blue-green/canary → Feature flags → Monitoring → Logging → Health checks

Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.