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.Ваш Агент по-прежнему должен показать план и запросить все подтверждения, требуемые политикой безопасности.
Ресурсы для AI-агентов
Используйте эти ссылки, когда AI-агенту, crawler или script нужен чистый контекст вместо полной страницы.
Протестировать
Использование «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)
🌐 Доступ к сети (6)
Поделиться и цитировать этот отчет
Делитесь версионным отчетом об оценке, нейтральным значком, встраиваемой карточкой и цитатами. Skillstore публикует доказательства, не решая, безопасен ли этот Skill.
Копировать ссылку на отчёт
https://skillstore.io/skills/samber-golang-samber-ro/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportЗначок Markdown
[](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/1Цитата BibTeX
@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
Актуальность поддержки
30.09.2026
Использование
0 загрузок · 0 просмотров
Структура файлов