skills/cali-starstream/SKILL.md
Adds real-time broadcasting, multi-user collaboration, and database persistence to StarHTML applications. Use when implementing chat systems, collaborative editors, presence tracking, typing indicators, or any feature requiring synchronized state across clients. Supports core StarStream (broadcasting), PocketBase (persistence), and Loro (CRDT) plugins.
npx skillsauth add renatocaliari/agent-sync-public-skills cali-starstreamInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
StarStream provides a "convention over configuration" approach to real-time features in StarHTML. Follow these instructions to implement synchronized user experiences.
When tasked with adding real-time features, always follow this workflow:
StarStreamPlugin(app) to the main application file.enable_presence, enable_typing, enable_cursor, or enable_history as needed./stream route exists to provide the EventSource connection.yield elements(...) in @sse routes to auto-broadcast UI updates.from starhtml import *
from starstream import StarStreamPlugin
app, rt = star_app()
# Use defaults for auto-detection of topics via route parameters
stream = StarStreamPlugin(app, enable_presence=True, enable_typing=True)
@rt("/chat/{room_id}")
@sse
async def chat(room_id: str, msg: str):
# Auto-broadcasts to topic "room:{room_id}"
yield elements(Div(msg), "#messages", "append")
StarStreamPlugin initialized with app./stream registered.stream.get_stream_element(topic).{room_id} -> room:{id}).Always validate the real-time implementation using the provided test suite or by running an example:
# Run core tests
pytest tests/test_core.py tests/test_presence.py
# Verify with a live example
python examples/full_features.py
Fire-and-forget broadcast to all connected clients:
@rt("/todos/add", methods=["POST"])
@sse
def add_todo(text: str):
todos.append(text)
# Broadcast to all clients
stream.broadcast(
elements(render_todos(), "#todo-list"),
target="todos"
)
# Response to current client
yield elements(render_todos(), "#todo-list")
# Topic
stream.broadcast(msg, target="chat")
# Room
stream.broadcast(msg, target="room:123")
# User
stream.broadcast(msg, target="user:456")
# Default (global)
stream.broadcast(msg)
# Metrics
stats = stream.get_metrics("todos")
# Error handling
stream.set_error_hook(lambda topic, msg, err: logger.error(f"{topic}: {err}"))
REFERENCE.md for detailed plugin API and advanced usage.examples/full_features.py shows all features integrated.tools
Extrai métricas estruturadas, cálculos e estimativas de transcripts de entrevistas com clientes do Sommelier de IA. Produz um JSON com dores, frequências, tempo gasto, pessoas envolvidas, economia potencial, ROI e recomendações financeiras. Projetado para alimentar o cali-degustia-diagnostico ou integrar com dashboards/planilhas.
tools
Guia a coleta de depoimentos de clientes do Sommelier de IA no momento certo do processo, usando a abordagem de Hormozi: pedir depois da primeira evidência de resultado, nunca na entrega. Gera depoimentos mais autênticos e reduz a sensação de que o cliente está sendo "solicitado".
development
[stelow] Full UX critique for visual interfaces. Accepts a live URL, source code directory, or screenshot image. Evaluates accessibility (WCAG AA), Nielsen's 10 heuristics, visual hierarchy, cognitive load, consistency, mobile responsiveness, AI slop, emotional journey, and design personas — then generates a classified gap report. Standalone or integrated into stelow and stelow-product-testing-execution.
development
Building trust through perception and guarantee mechanisms. Covers ten pillars to materialize trust, guarantee types from unconditional to anti-guarantees, and strategic approaches for different contexts.