rule-docker-shared-realtime-delta-streams-model-decision

Enforce SSE delta stream rules with paginated sources of truth.

Updated Nov 7, 2025
One-click install
npx skills add https://github.com/belluga/delphi-ai --skill rule-docker-shared-realtime-delta-streams-model-decision
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rule-docker-shared-realtime-delta-streams-model-decision
Source: https://github.com/belluga/delphi-ai/tree/main/skills/rule-docker-shared-realtime-delta-streams-model-decision
Command: npx skills add https://github.com/belluga/delphi-ai --skill rule-docker-shared-realtime-delta-streams-model-decision

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The rule ensures realtime feed updates (SSE delta streams) complement deterministic pagination rather than replace it, preserving cache validity and UI predictability.

Core Features & Use Cases

  • Enforces that SSE delta streams are used only as delta updates with a paginated source of truth.
  • Requires documenting SSE routes, event types, and resync behavior.
  • Requires a roadmap entry for realtime delivery.

Quick Start

Apply this rule whenever you design or revise realtime streams or pagination for app feeds.

Frequently Asked Questions about rule-docker-shared-realtime-delta-streams-model-decision

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use SSE delta streams without breaking pagination in app feeds?

SSE delta streams should complement deterministic pagination rather than replace it. Use delta streams only for realtime updates while maintaining a paginated source of truth to preserve cache validity and UI predictability.

What should be documented for realtime SSE routes and event types?

Realtime SSE delivery requires documenting SSE routes, event types, and resync behavior. This ensures microservices and UIs can properly handle delta updates and recover their state when stream connections drop.

When do I need a paginated source of truth for realtime streams?

A paginated source of truth is needed whenever you implement SSE delta streams for app feeds. Realtime updates must layer on top of deterministic pagination to ensure data consistency and predictable UI rendering.

How to enforce realtime delivery rules across microservices and UIs?

Enforce realtime delivery rules by applying constraints to SSE delta streams and pagination policies across microservices and UIs. Require a roadmap entry for realtime delivery to ensure architectural compliance before implementation.

Why does replacing pagination with realtime streams cause cache issues?

Replacing pagination with realtime streams breaks cache validity because delta updates lack a deterministic source of truth. SSE delta streams must complement pagination, ensuring the UI can reliably reconstruct state during resync behavior.

Can I use SSE delta streams as the primary data source for app feeds?

No, SSE delta streams cannot serve as the primary data source. They must be used only as delta updates alongside a paginated source of truth to maintain cache validity and ensure deterministic UI behavior.