golang-samber-doDependency injection in Golang using samber/do — service containers, lifecycle management, scopes, health checks, graceful shutdown, and module organization....
Install via ClawdBot CLI:
clawdbot install samber/golang-samber-doGrade 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
Gradually replace ad-hoc dependency wiring in a large monolithic Go application with a centralized, type-safe container using samber/do. This reduces boilerplate, improves testability, and makes service lifecycle explicit.
Use samber/do's package-based scopes to organize a microservice into infrastructure, repository, service, and transport modules. This enforces separation of concerns and allows per-scope lifecycle management like request-scoped database connections.
Leverage samber/do's built-in ShutdownOnSignals to cleanly shut down all registered services (database connections, message queues, etc.) when the OS sends an interrupt signal, preventing resource leaks.
During integration tests, clone the production injector and override specific services with mock implementations using samber/do's scoping and Provide capabilities, enabling fast and isolated component tests.
Use named services and implicit aliasing to register multiple implementations of a plugin interface (e.g., different storage backends) and select them at runtime via configuration, all managed by the container.
Offer consulting services to modernize legacy Go codebases by introducing samber/do for dependency injection. Revenue comes from project-based fees for refactoring and training development teams.
Create a cloud service that visualizes and manages dependency graphs of Go applications using samber/do, offering features like health monitoring and dependency updates. Revenue from monthly subscriptions per project.
Provide priority support, custom integrations, and training workshops for teams adopting samber/do. Revenue through annual support contracts and per-workshop fees.
💬 Integration Tip
Start by wrapping existing manual DI in a single composition root using do.New(), then migrate service registration gradually to benefit from automatic lifecycle management.
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.