/prometheus-skill-pack:entity-graph-crudfrom prometheus-skill-pack
Generate complete CRUD screens for any entity type using @prometheus-ags/prometheus-entity-management hooks and UI components. Analyzes entity shape, produces column definitions (TanStack Table + entityMeta), FieldDescriptor-based forms, EntityDetailSheet / EntityFormSheet wiring, and registerSchema + cascade invalidation—all strictly following Components → Hooks → Stores → APIs data flow.
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.
Read when SKILL.md points to them; scripts run unread.
Deliver production-ready CRUD surfaces (list, create, edit, detail, delete) for entities backed by @prometheus-ags/prometheus-entity-management. The graph is the single source of truth; lists hold IDs only; mutations flow through hooks and callbacks so every view stays globally reactive.
useEntityCRUDregisterSchema and cascade rules so related lists and detail joins stay consistent after mutationsuseState rows with normalized graph readsInvoke the focused playbook when scope is narrow:
| Route | Focus |
|---|---|
/entity-crud-page | Full page: list + selection + detail + create/edit + delete |
/entity-crud-form | EntityFormSheet / EntityDetailSheet + FieldDescriptor[] + buffer wiring |
/entity-crud-table | EntityTable + columns.tsx helpers + filters/sort metadata aligned with useEntityView |
/entity-crud-relations | registerSchema, belongsTo / hasMany / manyToMany, listKeyPrefix, invalidation keys |
Each route maps to prometheus-entity-skills/entity-graph-crud/skills/<name>/SKILL.md.
prompts/specify.md — Interview: entity shape, fields, relations, API surface, UI preferences → entity_spec.prompts/plan.md — File map, hook wiring, component tree, column/form plans, schema registration.prompts/execute.md — Generate code per CLAUDE.md (strict layering).prompts/reflect.md — Architecture grep + pnpm run typecheck (+ example app scripts).prompts/persist.md — Merge artifacts; optional state-init.sh; handoff notes.From the consuming workspace root (paths assume the prometheus repo layout; adjust if vendored):
bash prometheus-entity-skills/entity-graph-crud/scripts/detect-orchestrators.sh
Emits JSON: kbd, evolver, refiner, openspec availability flags for follow-up automation.
| Area | Exports |
|---|---|
| CRUD orchestration | useEntityCRUD, CRUDOptions, CRUDState, CRUDMode, DirtyFields |
| List + view | useEntityView, ViewDescriptor, FilterSpec, SortSpec, toRestParams |
| Relations | registerSchema, getSchema, cascadeInvalidation, readRelations, EntitySchema |
| UI | EntityTable, EntityDetailSheet, EntityFormSheet, Sheet, column builders, SortHeader |
| Single entity | useEntity (detail subscription inside useEntityCRUD when detailFetch provided) |
references/crud-patterns.md — Patterns A–E and anti-patternsreferences/ui-component-catalog.md — Props and composition cheat sheetCLAUDE.md — Non-negotiable layering for this skillAGENTS.md — Agent behavior, read order, quality gatepnpm only where the repo or consumer policy requires it (this monorepo: pnpm).useGraphStore or call fetch / GraphQL clients directly.normalize(raw) => { id, data } for list rows, detail, and mutation results.AGENTS.md (opens in a new tab)CLAUDE.md (opens in a new tab)agents/form-builder.md (opens in a new tab)agents/relation-wirer.md (opens in a new tab)agents/table-builder.md (opens in a new tab)hooks/hooks.json (opens in a new tab)prompts/execute.md (opens in a new tab)prompts/persist.md (opens in a new tab)prompts/plan.md (opens in a new tab)prompts/reflect.md (opens in a new tab)prompts/specify.md (opens in a new tab)references/crud-patterns.md (opens in a new tab)references/ui-component-catalog.md (opens in a new tab)scripts/detect-orchestrators.sh (opens in a new tab)scripts/state-init.sh (opens in a new tab)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