golang-contextIdiomatic context.Context usage in Golang — propagation through API boundaries, cancellation, timeouts and deadlines, request-scoped values, context.WithoutC...
Install via ClawdBot CLI:
clawdbot install samber/golang-contextGrade Fair — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Calls external URL not in known-safe list
https://github.com/samber/cc-skills-golangAudited Apr 17, 2026 · audit v1.0
Generated May 6, 2026
In a microservices architecture, propagating context across service boundaries ensures that when a user cancels a request, all downstream services stop processing. This saves compute resources and reduces latency for orphaned work. Commonly used in e-commerce order processing or real-time data pipelines.
Set timeouts on API handlers to prevent slow database queries or external calls from hanging indefinitely. Using context.WithTimeout, you can fail fast and return a 504 Gateway Timeout to clients. Essential for any public-facing web service, especially in fintech or healthcare.
Store request IDs, user IDs, or trace IDs in context values to correlate logs and traces across multiple services. This enables debugging and observability in distributed systems. Used in observability platforms and SaaS applications.
During application shutdown, propagate a cancellation context to background goroutines (e.g., Kafka consumers, cron jobs) so they can finish current work and exit cleanly. Prevents data loss and ensures consistency. Important for any long-running service.
Pass context to database query methods like QueryContext to automatically cancel queries when the request is cancelled or times out. This prevents resource leaks on the database server. Critical for high-traffic web applications.
Offer a code linting or analysis tool that enforces context best practices as a paid plugin for IDEs or CI/CD pipelines. Revenue comes from subscription fees per developer or per organization.
Provide consulting services to help teams adopt context.Context patterns correctly, including code audits and training sessions. Revenue from hourly consulting fees or fixed-price training packages.
Offer premium support and maintenance for open source libraries that implement context propagation, with a freemium model where basic features are free and advanced support requires a subscription.
💬 Integration Tip
Start by adding context.TODO() to any function that lacks a context parameter, then gradually replace with real context propagation. Use linters like staticcheck to catch common mistakes like passing nil context.
Scored Jun 29, 2026
Control desktop applications on Windows — launch, close, focus, resize, move windows, simulate keyboard/mouse input, manage processes, control VSCode, read clipboard, and capture screen info. Use when the user wants to interact with any running program, switch windows, type text, press shortcuts, open files in VSCode, manage running processes, or get system display information.
Conduct rigorous, adversarial code reviews with zero tolerance for mediocrity. Use when users ask to "critically review" my code or a PR, "critique my code", "find issues in my code", or "what's wrong with this code". Identifies security holes, lazy patterns, edge case failures, and bad practices across Python, R, JavaScript/TypeScript, SQL, and front-end code. Scrutinizes error handling, type safety, performance, accessibility, and code quality. Provides structured feedback with severity tiers (Blocking, Required, Suggestions) and specific, actionable recommendations.
Coding style memory that adapts to your preferences, conventions, and patterns for consistent coding.
Pragmatic coding standards for writing clean, maintainable code — naming, functions, structure, anti-patterns, and pre-edit safety checks. Use when writing new code, refactoring existing code, reviewing code quality, or establishing coding standards.
Claude Code integration for OpenClaw. This skill provides interfaces to: - Query Claude Code documentation from https://code.claude.com/docs - Manage subagents and coding tasks - Execute AI-assisted coding workflows - Access best practices and common workflows Use this skill when users want to: - Get help with coding tasks - Query Claude Code documentation - Manage AI-assisted development workflows - Execute complex programming tasks
Plan, draft, version, and refine written content with enforced versioning and quality audits.