/prometheus-react-skills:entity-realtime-channelfrom prometheus-react-skills
Add or adjust RealtimeManager channel subscriptions: ChannelConfig per EntityType, optional normalize on register(), SubscriptionConfig label and replayOnConnect, and affectedListKeys in ChangeSet for list refresh.
Ships in prometheus-react-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
/entity-realtime-channel — Channels and normalizationnormalize mapperaffectedListKeysChannelConfig| Field | Role |
|---|---|
type | EntityType string for graph writes |
filter | Opaque record for adapter-specific subscription narrowing |
id | Optional entity scope |
operations | Optional subset of insert | update | delete | upsert |
import type {
ChannelConfig,
EntityChange,
RealtimeAdapter,
RealtimeManager,
} from "@prometheus-ags/prometheus-entity-management";
declare const manager: RealtimeManager;
declare const adapter: RealtimeAdapter;
const normalizeRawEvent = (raw: unknown): EntityChange | null =>
raw && typeof raw === "object" ? (raw as EntityChange) : null;
const channels: ChannelConfig[] = [
{ type: "Task", filter: { status: "open" } },
{ type: "Comment" },
];
manager.register(adapter, channels, normalizeRawEvent);
normalize: (raw: unknown) => EntityChange | null — drop heartbeats, unknown tablesChangeSet; manager coalesces changes arraysChangeSet extrasaffectedListKeys: string keys matching graph list invalidation predicate — use when totals/order change without per-row payloadstimestamp: optional ISO string for loggingSubscriptionConfigPassed internally as { label: ${adapter.name}/${channel.type}, replayOnConnect: true }. Custom adapters should honor replay semantics if the vendor supports catch-up.
Adding channels often means new register call — prefer one register per adapter with full channel array, or unregister(name) then re-register to avoid duplicate handlers.
agents/channel-configurator.md
prometheus-entity-skills/entity-graph-realtime/SKILL.md
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
28 skills in this plugin
/entity-auditSlash command /entity-audit — run full codebase audit against @prometheus-ags/prometheus-entity-management CLAUDE.md rules: component/store boundaries, hook I/O, registerSchema coverage, JSDoc on public hooks, and realtime/list patterns. Produces a severitized report using references/audit-checklist.md.
/entity-crud-formBuild EntityFormSheet and EntityDetailSheet configurations from FieldDescriptor arrays: field types, enum options, readonly/create/edit flags, custom editControl/render, and wiring to useEntityCRUD buffers and actions.
/entity-crud-pageScaffold a full CRUD page (list, create, edit, detail, delete) using useEntityCRUD with EntityTable, EntityDetailSheet, and EntityFormSheet. Enforces Components → Hooks → Stores: page composes only; useXxxCRUD hook wraps library CRUD; API module holds fetch/mutations.
/entity-crud-relationsRegister EntitySchema graphs with registerSchema: belongsTo, hasMany, manyToMany, listKeyPrefix alignment, invalidateTargetLists, globalListKeys, and verification that cascadeInvalidation matches list query keys.
/entity-crud-tableBuild EntityTable views with column helpers (textColumn, numberColumn, enumColumn, etc.), SortHeader, selectionColumn, and meta.entityMeta for filters; sync sorting and search with useEntityView via UseEntityViewResult.
/entity-gcSlash command /entity-gc — design application-level eviction for @prometheus-ags/prometheus-entity-management: removeEntity for stale entities, clearPatch for UI overlays, list refresh after bulk delete, route-based cleanup, and policies for long-lived sessions. Notes library has no automatic GC yet.
npx claudepluginhub prometheus-ags/prometheus-skill-system --plugin prometheus-react-skills2 plugins in one repository ship this exact skill · first indexed Nov 27, 2026