zhanghandong/rust-skills/domain-cloud-native
Claude Code and agent skill by zhanghandong/rust-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when building cloud-native apps. Keywords: kubernetes, k8s, docker, container, grpc, tonic, microservice, service mesh, observability, tracing, metrics, health check, cloud, deployment, 云原生, 微服务, 容器
Install
npx vskill@latest install zhanghandong/rust-skills/domain-cloud-nativeSKILL.md
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
Graceful Shutdown
Observability
Trace Down ↓
From constraints to design (Layer 2):
Key Crates
| Purpose | Crate | |
|---|---|---|
| gRPC | tonic | |
| Kubernetes | kube, kube-runtime | |
| Docker | bollard | |
| Tracing | tracing, opentelemetry | |
| Metrics | prometheus, metrics | |
| Config | config, figment | |
| Health | HTTP endpoints |
Design Patterns
| Pattern | Purpose | Implementation | |
|---|---|---|---|
| gRPC services | Service mesh | tonic + tower | |
| K8s operators | Custom resources | kube-runtime Controller | |
| Observability | Debugging | tracing + OTEL | |
| Health checks | Orchestration | /health, /ready | |
| Config | 12-factor | Env vars + secrets |
Code Pattern: Graceful Shutdown
Health Check Pattern
Common Mistakes
| Mistake | Domain Violation | Fix | |
|---|---|---|---|
| Local file state | Not stateless | External storage | |
| No SIGTERM handling | Hard kills | Graceful shutdown | |
| No tracing | Can't debug | tracing spans | |
| Static config | Not 12-factor | Env vars |
Trace to Layer 1
| Constraint | Layer 2 Pattern | Layer 1 Implementation | |
|---|---|---|---|
| Stateless | External state | Arc<Client> for external | |
| Graceful shutdown | Signal handling | tokio::signal | |
| Tracing | Span lifecycle | tracing + OTEL | |
| Health checks | HTTP endpoints | Dedicated routes |
Related Skills
| When | See | |
|---|---|---|
| Async patterns | m07-concurrency | |
| HTTP endpoints | domain-web | |
| Error handling | m13-domain-error | |
| Resource lifecycle | m12-lifecycle |
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/domain-cloud-native/SKILL.md
Popularity
- Repository stars
- 926
- Repository forks
- 84
- 7-day trend score
- 34
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 27 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zhanghandong/rust-skills/domain-cloud-native)