golang-samber-ro
Build Reactive Go Pipelines with samber/ro
Asynchronous Go pipelines can become difficult to compose, cancel, and test. This skill guides reliable samber/ro designs with typed operators and lifecycle controls.
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "golang-samber-ro" from https://skillstore.io/skills/samber-golang-samber-ro.md and its manifest at https://skillstore.io/api/skills/samber-golang-samber-ro/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「golang-samber-ro」。 Choose an operator for parsing JSON events while propagating parse failures.
預期結果:
Recommendation: use MapErr with a parsing function that returns a value and an error. Handle failures in the observer error callback.
正在使用「golang-samber-ro」。 Five subscribers must connect before a shared source begins emitting.
預期結果:
- Use a Connectable observable instead of Share.
- Register every subscriber before starting the connection.
- Define cancellation and completion behavior for the shared source.
正在使用「golang-samber-ro」。 Review an infinite stream that has no timeout or unsubscribe path.
預期結果:
Risk: the subscription can outlive its owner and retain resources. Add context cancellation, a terminating operator, and an explicit cleanup test.
安全審計
安全All 77 static findings are contextual false positives caused by Markdown backticks, ordinary Go examples, scoped tool declarations, and documentation links. No prompt injection, covert execution, reconnaissance, credential access, or data-exfiltration intent was found.
風險因素
⚙️ 外部命令 (50)
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/samber-golang-samber-ro/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/samber-golang-samber-ro?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/samber-golang-samber-ro?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/samber-golang-samber-ro/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/samber-golang-samber-ro.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>學術引用 (APA · BibTeX · CFF)
APA 引用
samber. (2026). golang-samber-ro security audit report (audit version 1) [Author version 1.2.2]. Skillstore. https://skillstore.io/skills/samber-golang-samber-ro/audits/1BibTeX 引用
@techreport{samber-samber-golang-samber-ro-2026,
author = {samber},
title = {golang-samber-ro security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/samber-golang-samber-ro/audits/1},
note = {Author version 1.2.2}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "golang-samber-ro security audit report (audit version 1)"
version: "1.2.2"
type: report
authors:
- name: "samber"
date-released: "2026-09-23"
url: "https://skillstore.io/skills/samber-golang-samber-ro/audits/1"
identifiers:
- type: other
value: "skillstore:samber-golang-samber-ro:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore 評分
評分依據 證據置信度: 中你可以打造什麼
Design an event pipeline
Choose operators, cancellation, and error handling for a service that processes asynchronous events.
Review reactive architecture
Assess hot and cold stream choices, subscription lifecycles, and resource cleanup before production deployment.
Learn samber/ro patterns
Translate channel-based workflows into typed observables while understanding subjects, composition, retries, and completion.
試試這些提示
Build a samber/ro pipeline from [source]. Filter [condition], transform each value into [type], collect the results, and explain error handling.
Design a samber/ro pipeline for [operation]. Add context cancellation, a [duration] timeout, [count] bounded retries, and a final fallback.
Compare cold, Share, ShareReplay, Connectable, and subjects for [event source]. Recommend one based on [subscriber behavior] and lifecycle requirements.
Review this samber/ro design: [description]. Find lifecycle, ordering, backpressure, concurrency, and error-propagation risks. Propose tests and a safer architecture.
最佳實務
- Handle next, error, and completion events explicitly for every production subscription.
- Prefer typed Pipe functions and bound infinite streams with cancellation or terminating operators.
- Use Tap operators for logging and metrics without changing stream values.
避免
- Do not use untyped Pipe when a typed Pipe function can preserve compile-time checks.
- Do not share a cold source unless subscribers require one coordinated execution.
- Do not leave infinite subscriptions without context cancellation, timeout, or explicit unsubscribe behavior.
常見問題
When should I use samber/ro instead of channels?
When should I use samber/lo instead?
Does the skill generate complete Go programs?
Can it help prevent goroutine leaks?
Does it cover samber/ro plugins?
Will every example match my installed version?
開發者詳細資訊
作者
samber授權
MIT
作者版本
v1.2.2
Skillstore 修訂
r1
引用
2aa351cb09c29b7287d263bd8ea81e9bee3b2a61
維護新鮮度
2026/9/30
使用量
0 次下載 · 0 次瀏覽
檔案結構