/prometheus-skill-pack:entity-graph-prismafrom prometheus-skill-pack
Analyze schema.prisma and integrate Prisma-backed APIs with @prometheus-ags/prometheus-entity-management: TypeScript entity shapes, registerSchema relation graphs, createPrismaEntityConfig for REST list/detail/CRUD, toPrismaWhere/toPrismaOrderBy from FilterSpec, Next.js App Router CRUD routes, and migration from ad-hoc Prisma calls to the library’s adapter patterns. Optional prisma-entity-graph-generator for codegen.
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.
This skill connects Prisma ORM (server-side) to the client entity graph via REST (or similar HTTP) APIs that accept Prisma-shaped where / orderBy query parameters — the pattern implemented in createPrismaEntityConfig (src/adapters/prisma.ts).
useEntity, useEntityList, useEntityView, useEntityCRUD.fetch + local React state with graph-backed hooks while keeping Prisma on the server.| Export | Role |
|---|---|
createPrismaEntityConfig | Builds entity, list, crud, and schemas() for Prisma-style JSON query params |
toPrismaWhere / toPrismaOrderBy | Compile FilterSpec / SortSpec → Prisma filter objects (src/view/prisma-compile.ts) |
registerSchema | Register relation graph for cascade invalidation (src/crud/relations.ts) |
| Command | Purpose |
|---|---|
/entity-prisma-setup | End-to-end: parse schema → types → config → register schemas |
/entity-prisma-generator | Install/configure prisma-entity-graph-generator |
/entity-prisma-api | Next.js Route Handlers using PrismaClient + where/orderBy from query |
/entity-prisma-migrate | Refactor manual Prisma usage → createPrismaEntityConfig |
Use prompts/specify.md → plan.md → execute.md → reflect.md → persist.md.
Never import @prisma/client in client-side React bundles. Prisma runs on the server (Route Handlers, Server Actions, Node API). The browser uses hooks + HTTP only.
Use pnpm in this monorepo.
AGENTS.md (opens in a new tab)CLAUDE.md (opens in a new tab)agents/api-scaffolder.md (opens in a new tab)agents/schema-parser.md (opens in a new tab)agents/type-generator.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/generator-guide.md (opens in a new tab)references/prisma-mapping.md (opens in a new tab)references/transport-adapters.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