/prometheus-skill-pack:entity-crud-relationsfrom prometheus-skill-pack
Register EntitySchema graphs with registerSchema: belongsTo, hasMany, manyToMany, listKeyPrefix alignment, invalidateTargetLists, globalListKeys, and verification that cascadeInvalidation matches list query keys.
Ships in prometheus-skill-pack. 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-crud-relations — Schema registration and cascade invalidationreadRelations in detail panels (populated via useEntityCRUD)src/crud/relations.ts)registerSchema(schema: EntitySchema) — idempotent replace per typeEntitySchema: type, optional relations, optional globalListKeysBelongsToRelation: foreignKey, targetType, optional invalidateTargetLists (prefix matching)HasManyRelation: targetType, foreignKey on child, listKeyPrefix(parentId) → same shape as child list’s baseQueryKey / serialized keyManyToManyRelation: targetType, localArrayField, listKeyPrefix(thisId)cascadeInvalidationCalled automatically after successful create/update/delete inside useEntityCRUD. Your job is to register accurate schemas so it can:
hasMany edges registered on other typesreadRelations(type, entity)Returns a plain object of joined data for detail UI. Does not fetch; reads the graph and list slot for ids. Ensure child lists are loaded elsewhere when you expect non-empty arrays.
listKeyPrefix return value serializes to the same key useEntityView / useEntityList uses (compare with serializeKey mentally or in dev logs)globalListKeys used sparingly for “any list of this type” invalidationagents/relation-wirer.md
prometheus-entity-skills/entity-graph-crud/SKILL.md
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub prometheus-ags/prometheus-skill-system --plugin prometheus-skill-pack218 skills in this plugin
/actor-modelTokio-native actor model pattern for Prometheus AGS projects. Implements actors as tokio tasks communicating via mpsc channels with a typed message enum, enabling safe concurrent state management without shared locks. Used in UAR session management, pk-librarian event broadcasting, and parking-lot scheduler design. Use when a component needs to own state exclusively while serving concurrent callers.
/adversarial-reviewIsolated, cross-model adversarial review of KBD artifacts and change diffs. Dispatches a fresh-context LLM judge over an OpenAI-compatible REST gateway (openai-proxy or `liter-llm api`) with an explicit mandate to find problems — the model that produced an artifact or change is never the model that reviews it. Runs as a pipeline stage inside kbd-assess/analyze/plan (artifact mode) and kbd-execute's single phase-boundary QA step (diff mode, once over the whole phase diff). Findings are severity-bucketed (CRITICAL/WARNING/SUGGESTION) and the judge's own report is screened by sycophancy-correction before it is surfaced.
/agent-team-creatorCreate, revise, package, and deploy agent-team definitions with staged questions and native exports for UAR, Codex, Claude Code, Copilot, Kimi Code, MiniMax CLI, OpenCode and DeepSeek. Use for team definition and catalog lifecycle; use agent-team-manage for active runtime task state.Other plugins' skills for the same job
2 plugins in one repository ship this exact skill · first indexed Nov 27, 2026