golang-samber-moMonadic types for Golang using samber/mo — Option, Result, Either, Future, IO, Task, and State types for type-safe nullable values, error handling, and funct...
Install via ClawdBot CLI:
clawdbot install samber/golang-samber-moGrade Fair — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Potentially destructive shell commands in tool definitions
Exec(Calls external URL not in known-safe list
https://github.com/samber/cc-skills-golangAudited Apr 17, 2026 · audit v1.0
Generated May 5, 2026
Use Option types to parse optional environment variables or configuration fields without nil checks. Eliminates nil pointer risks in config structs by representing absent values as None rather than nil pointers. Commonly used in microservices where configuration may have many optional fields.
Replace traditional (value, error) returns with Result types to chain multiple transformation steps (e.g., read file -> parse JSON -> validate) using Pipe2 and FlatMap. Errors short-circuit automatically, making the flow explicit and testable. Ideal for ETL processes or request processing in API gateways.
Use Either to model cache hits vs. cache misses without conflating errors. For example, fetching user data returns Either[CachedUser, FreshUser], allowing the caller to decide whether to update the cache based on the branch. This makes state handling explicit and type-safe.
Manage multiple concurrent I/O operations (e.g., fetching user data, order history, recommendations) by composing Futures. Each call returns a Future[T] that can be mapped or combined, simplifying coordination and reducing callback nesting. Suitable for high-throughput web services.
Use IO types to represent side-effecting operations (e.g., file reads, network calls) as values that can be composed and executed later. This enables building command-line tools where effects are deferred until explicitly run, simplifying testing and maintenance.
The skill wraps the open-source samber/mo library, which is MIT-licensed. A company could offer enterprise support, training, or custom extensions (e.g., more pipeline combinators) for teams adopting functional Go patterns.
By reducing nil-related bugs and simplifying error handling, this skill accelerates development of internal microservices and CLI tools, lowering maintenance costs. The productivity gain is a direct business value for engineering teams.
A consulting practice built around migrating legacy Go codebases to use monadic types. Services include code audits, migration planning, and hands-on refactoring. The skill serves as a technical foundation for such engagements.
💬 Integration Tip
Add `mo.Some`, `mo.Ok`, and `mo.Do` gradually to critical paths (e.g., config parsing, validation chains) before expanding to whole services. Use Result/Pipe2 to replace nested if-err patterns in multi-step operations.
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.