PlugWiki

golang-samber-ro Skill for Claude: What It Does and How to Install It

Makes Claude build reactive streams in Go with samber/ro, using observables, operators and subjects instead of hand-wired channels.

Installs
38.9K
on skills.sh
Stars
3.7K
on GitHub
Files
5
besides SKILL.md
Updated
Nov 2026
last repo commit

This skill covers samber/ro, a ReactiveX library for Go. Claude builds declarative pipelines with Pipe, picks between cold and hot observables and chooses among five subject types.

It also knows when not to use it. For finite slices already in memory the description sends you to the samber/lo skill instead. It loads when you adopt samber/ro or build asynchronous, streaming code.

Good for

  • Go developers building event-driven or real-time pipelines
  • Teams who know ReactiveX from other languages
  • Anyone replacing tangled goroutine and channel code

Install golang-samber-ro

Claude Code

  1. 1

    Copy this prompt.

    Install the golang-samber-ro skill in Claude Code. Run this command:
    
    npx skills add https://github.com/samber/cc-skills-golang --skill golang-samber-ro
    
    Then check that it loaded and tell me how to use it.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js.

From its listing on skills.sh. Source.

What's in the skill

When it loads

Reactive streams and event-driven programming in Golang using samber/ro — ReactiveX implementation with 150+ type-safe operators, cold/hot observables, 5 subject types (Publish, Behavior, Replay, Async, Unicast), declarative pipelines via Pipe, 40+ plugins (HTTP, cron, fsnotify, JSON, logging), automatic backpressure, error propagation, and Go context integration. Apply when using or adopting samber/ro, when the codebase imports github.com/samber/ro, or when building asynchronous event-driven pipelines, real-time data processing, streams, or reactive architectures in Go. Not for finite slice transforms (→ See `samber/cc-skills-golang@golang-samber-lo` skill).

Sections in SKILL.md

  1. Why samber/ro (Streams vs Slices)
  2. Installation
  3. Core Concepts
  4. Cold vs Hot Observables
  5. Operator Quick Reference
  6. Common Mistakes
  7. Best Practices
  8. Plugin Ecosystem
  9. Cross-References

Key facts

Author
samber
License
MIT
Installs on skills.sh
38,926 (Nov 2, 2026)
Last repo commit
Nov 1, 2026
Skill version
1.2.2
Library version covered
0.3.0

What it includes

  • Decides if a stream is needed at all

    Uses reactive streams for asynchronous or infinite data and a plain slice with samber/lo when the data is already in memory.

    Try: “Build a stream pipeline that reads events, filters them and retries on error.”

    Read · Streams vs slices

  • Observable, Observer, Operator, Subscription

    Observables are cold by default. Subscribe starts a run, and Wait or Unsubscribe controls it.

    Write · Core concepts

  • Independent runs or one shared run

    Cold is the safe default. Hot shares a single execution across subscribers.

    Write · Cold vs hot observables

  • 150+ operators in references/operators-guide.md

    Filter, map, combine and error handling operators in one reference guide.

    Read · Operator quick reference

  • Publish, Behavior, Replay, Async and Unicast

    Reference guide in references/subjects-guide.md.

    Read · Subjects

  • 40+ plugins for JSON, HTTP, cron, fsnotify and logging

    Plugins add domain-specific operators. The plugin catalog is in references/plugin-ecosystem.md.

    Read · Plugin ecosystem

  • Retry with timeout, WebSocket fan-out, graceful shutdown

    Reference guide in references/patterns.md.

    Read · Patterns

From the official docs

Permissions

Low risk

The skill lets Claude edit your Go files and run go, golangci-lint and git commands, and it may fetch web pages. Keep permission prompts on for git and review diffs.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • It lists git and shell commands as allowed tools

    The allowed-tools line covers any go, golangci-lint and git command (git:*), not just read ones. Keep Claude Code's permission prompts on for git commands that change history. github.com

  • It may fetch web pages or query Context7

    It lists the Context7 tools as allowed. Library names and questions can leave your machine. Do not put secrets in prompts about this code. github.com

  • It adds samber/ro to your go.mod

    The skill's installation step runs go get for the module. Check go.mod and go.sum in the diff. github.com

Security advisories

No published security advisories as of Nov 2, 2026.

Technical details
Turning on read-onlyNo read-only mode in SKILL.md. Use version control.
Talks toLibrary lookups go to Context7 if the Context7 MCP server is installed (the skill uses it as a fallback). Installing the library with go get downloads the module
Sign-in and keysSKILL.md does not mention any account or key.
Scopes
  • Reads and edits files in your Go project

  • SKILL.md lists these as allowed tools: go, golangci-lint, git, godig and gopls commands

  • Changes go.mod and go.sum when it installs the library

Questions

What does the golang-samber-ro skill do?

It teaches Claude to use samber/ro for reactive streams in Go. Claude builds pipelines of operators over observables, with backpressure and Go context support.

How do I install golang-samber-ro?

Use the install box at the top of this page. It is a text skill with reference guides, so there is nothing to compile. Start a new session so it loads, then work in a Go project.

samber/ro vs samber/lo?

Use ro for data that arrives over time or never ends. For finite slices, the description points to the golang-samber-lo skill, which covers Map, Filter, Reduce and GroupBy.

Does it need other skills from the same repo?

SKILL.md does not list any other skill as required. SKILL.md points to related skills in samber/cc-skills-golang for side topics, and the README says installing only a subset gives a partial and possibly inconsistent view of the guidelines. For best results it recommends installing the general-purpose Go skills together.

Is golang-samber-ro safe?

Mostly, for your own Go projects. It is instructions plus reference files, and it lets Claude edit files and run go and git commands. Review diffs, keep the project under version control and avoid secrets in prompts.

Does golang-samber-ro work in Codex, Cursor or the Claude app?

It is designed for Claude Code, Codex or a similar tool, and the README says the skills are built for Claude Code, Codex, Gemini, Copilot, Antigravity and Cursor. Because it works on your Go files and uses the go command, use a coding tool rather than the Claude app.

Information

updated Nov 2, 2026

Folder
skills/golang-samber-ro

samber/cc-skills-golangskills.sh

Sources

Docs, issue trackers and discussions this page is built from.

Show all 2
  1. golang-samber-ro SKILL.md · github.com
  2. cc-skills-golang README · github.com

Updated Nov 2, 2026.