Guidelines for RPC interface design, resilience, and tracing.
context.Context as the first argument.Set a deadline on every outgoing request.
ctx, cancel := context.WithTimeout(context.Background(), 2*time.Second)
defer cancel()
| Scenario | Timeout | | :--- | :--- | | Inter-service (same datacenter) | 2s | | External API | 5-10s | | User-facing | 1s | | Background jobs | 30-60s |
Use exponential backoff with jitter for transient failures.
grpc_retry middleware.go-retryablehttp.Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer