/prometheus-react-skills:entity-crud-pagefrom prometheus-react-skills
Scaffold 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.
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-crud-page — Full CRUD pageEntityType with full lifecyclelist | detail | edit | create) coordinated in one surfaceentity_spec from prompts/specify.md (fields, mutations, optional relations)prompts/plan.mdlist/detail/create/update/delete HTTP or RPC wrappers; map errors to Error.registerSchema once per related type if relations exist (see /entity-crud-relations).useXxxCRUD.ts: call useEntityCRUD<T> with:
type, listQueryKey, listFetch, normalize, optional detailFetchonCreate / onUpdate / onDelete delegating to API moduleinitialView for default filter/sort; createDefaults if neededbuildXxxColumns() using agents/table-builder.md; pass crud.list as EntityTable’s viewResult.buildXxxFields() using agents/form-builder.md.XxxPage.tsx:
const crud = useXxxCRUD() (from hook file only)EntityTable: viewResult={crud.list}, onRowClick → crud.openDetail or crud.select, selectedId={crud.selectedId}EntityDetailSheet: open={crud.mode === "detail"}, wire onClose, startEdit, deleteEntityEntityFormSheet: open={crud.mode === "create" || crud.mode === "edit"}, mode prop, save/cancelcrud.startCreate(), crud.list.refetch if exposedprompts/reflect.md| Artifact | Role |
|---|---|
XxxPage.tsx (or route file) | Composition only; no store, no fetch |
useXxxCRUD.ts | useEntityCRUD wiring + stable useRef callbacks if needed |
xxxApi.ts (or shared client) | Network + serialization |
xxxColumns.tsx / xxxFields.tsx | Reusable builders |
prometheus-entity-skills/entity-graph-crud/SKILL.md, ../CLAUDE.md, ../AGENTS.md
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub prometheus-ags/prometheus-skill-system --plugin prometheus-react-skills2 plugins in one repository ship this exact skill · first indexed Nov 27, 2026
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-