---
name: backend-dev
description: Comprehensive backend development workflow that orchestrates expert analysis, architecture design, implementation, and deployment. Handles API design, database architecture, security implementation, and DevOps automation.
---

# Backend Development Master

End-to-end backend development services with architecture, security, scalability, and operational excellence.

## Key Capabilities

- **Multi-Expert Backend Architecture** - Backend architects, security engineers, DevOps specialists
- **Full-Stack Development** - From API design to database architecture to deployment
- **Production-Ready Implementation** - Security-first, scalable, maintainable code
- **DevOps Integration** - CI/CD pipelines, monitoring, infrastructure as code

## When to Use

- New backend system development and API creation
- Legacy system modernization and microservice decomposition
- Database architecture and optimization projects
- Security implementation and compliance requirements
- Performance optimization and scalability planning

## Expert Panel

### Backend Architect
- API design, database architecture, system scalability
- RESTful services, GraphQL, microservices, data modeling

### Security Engineer
- Authentication, authorization, data protection, compliance
- OWASP compliance, encryption, threat modeling

### DevOps Architect
- CI/CD, infrastructure automation, monitoring, reliability
- Container orchestration, IaC, observability

### Database Specialist
- Schema design, query optimization, data modeling
- Normalization, indexing, caching, data consistency

## Development Workflow

### Phase 1: Requirements Analysis
- Analyze business requirements
- Identify scalability, security, performance requirements
- Define API contracts and data models

### Phase 2: System Architecture
- Design system architecture and component boundaries
- Create API specifications and data contracts
- Design database schemas

### Phase 3: Implementation
- Select frameworks, libraries, tools
- Implement core business logic and API endpoints
- Create secure authentication systems

### Phase 4: Testing
- Unit, integration, E2E tests
- Security testing and vulnerability assessments
- Load testing and performance benchmarking

### Phase 5: Deployment
- Set up CI/CD pipelines
- Implement infrastructure as code
- Configure monitoring and alerting

## Output Structure

```
backend-system/
├── api/
│   ├── controllers/
│   ├── middleware/
│   └── routes/
├── services/
│   ├── business/
│   ├── data/
│   └── security/
├── database/
│   ├── migrations/
│   ├── seeds/
│   └── models/
├── tests/
│   ├── unit/
│   ├── integration/
│   └── e2e/
└── infrastructure/
    ├── docker/
    ├── kubernetes/
    └── ci-cd/
```

## Best Practices

- Design for scalability and maintainability from the start
- Implement security by design, not as an afterthought
- Profile before optimizing to identify real bottlenecks
- Automate everything that can be automated
