
Domain Cloud Native
Teaches Claude to build cloud-native Rust apps that play nice with Kubernetes and container orchestration. The skill enforces stateless design, graceful shutdown on SIGTERM, and proper observability through tracing spans. It connects domain constraints like the 12-factor app methodology to concrete Rust implementations using tokio signals, tonic for gRPC, and OpenTelemetry. You get health check patterns for liveness and readiness probes, plus guidance on avoiding common mistakes like storing state locally or ignoring shutdown signals. Honestly, this is less about writing microservices and more about not getting paged at 3am because your pods won't drain cleanly.
- skills.sh installs
- 3K
- GitHub stars
- 1.6K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add actionbook/rust-skills --skill domain-cloud-native --agent claude-codeInstalls into .claude/skills of the current project.
Files
Cloud-Native Domain
Layer 3: Domain Constraints
Domain Constraints → Design Implications
| 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 Constraints
Stateless Design
RULE: No local persistent state
WHY: Pods can be killed/rescheduled anytime
RUST: External state (Redis, DB), no static mut
Graceful Shutdown
RULE: Handle SIGTERM, drain connections
WHY: Zero-downtime deployments
RUST: tokio::signal + graceful shutdown
Observability
RULE: Every request must be traceable
WHY: Debugging distributed systems
RUST: tracing spans, opentelemetry export
Trace Down ↓
From constraints to design (Layer 2):
Sponsors
Details
- Repository
- github.com/actionbook/rust-skills
- Categories
- Backend & APIs, DevOps & CI/CD, Rust, Cloud & Infrastructure
- First seen
- Jun 3, 2026
More from actionbook/rust-skills
All 38- Domain Fintech3K
- Domain Ml3K
- Domain Iot2.9K
- Rust Router2.9K
- Core Agent Browser2.2K
- Core Dynamic Skills2K
- Core Actionbook2K
- Core Fix Skill Docs2K
- M15 Anti Pattern9.3K
- Coding Guidelines4.2K
- M10 Performance3.8K
- M07 Concurrency3.7K
- M06 Error Handling3.7K
- M01 Ownership3.6K
- M04 Zero Cost3.6K
- M05 Type Driven3.6K
- M02 Resource3.6K
- M03 Mutability3.6K
- Rust Refactor Helper3.6K
- M12 Lifecycle3.5K
- M09 Domain3.5K
- M14 Mental Model3.5K
- M11 Ecosystem3.5K
- M13 Domain Error3.5K