rust-cloud-native
Installation
SKILL.md
Cloud-Native Development
Domain Constraints
| Domain Rule | Design Constraint | Rust Implication |
|---|---|---|
| 12-Factor | Config from env | Environment-based config |
| Observability | Metrics + traces | tracing + opentelemetry |
| Health checks | Liveness/readiness | Dedicated endpoints |
| Graceful shutdown | Clean termination | Signal handling |
| Horizontal scale | Stateless design | No local state |
| Container-friendly | Small binaries | Release optimization |
Critical Rules
- No local persistent state — pods can be killed/rescheduled anytime. Use external state (Redis, DB).
- Handle SIGTERM, drain connections — zero-downtime deployments require graceful shutdown.
- Every request must be traceable — distributed systems need tracing spans + opentelemetry export.