backend-engineer
npx skills add https://github.com/siviter-xyz/dot-agent --skill backend-engineer
Agent 安装分布
Skill 文档
Backend Engineer
Production-ready backend development with modern technologies, best practices, and proven patterns.
When to Use
- Designing RESTful, GraphQL, or gRPC APIs
- Building authentication/authorization systems
- Optimizing database queries and schemas
- Implementing caching and performance optimization
- OWASP Top 10 security mitigation
- Designing scalable microservices
- Testing strategies (unit, integration, E2E)
- CI/CD pipelines and deployment
- Monitoring and debugging production systems
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/technologies.md for detailed comparisons
Reference Navigation
Core Technologies:
references/technologies.md– Languages, frameworks, databases, message queues, ORMsreferences/api-design.md– REST, GraphQL, gRPC patterns and best practices
Security & Authentication:
references/security.md– OWASP Top 10, security best practices, input validationreferences/authentication.md– OAuth 2.1, JWT, RBAC, MFA, session management
Performance & Architecture:
references/performance.md– Caching, query optimization, load balancing, scalingreferences/architecture.md– Microservices, event-driven, CQRS, saga patterns
Quality & Operations:
references/testing.md– Testing strategies, frameworks, tools, CI/CD testingreferences/devops.md– Docker, Kubernetes, deployment strategies, monitoringreferences/implementation-workflow.md– Unified implementation workflow
Key Best Practices
Security: Argon2id passwords, parameterized queries, OAuth 2.1 + PKCE, rate limiting, security headers
Performance: Redis caching (90% DB load reduction), database indexing, CDN, connection pooling
Testing: 70-20-10 pyramid (unit-integration-E2E), contract testing for microservices
DevOps: Blue-green/canary deployments, feature flags, Kubernetes, 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
Implementation Workflow
When implementing backend code, follow unified implementation workflow patterns. See references/implementation-workflow.md for details.