From product-wiki
Canonical enumeration of project Prisma models, API routes, components, user stories, and EIS docs. Use before creating any docs/wiki/ page to verify the source object exists. Triggers on "entities", "which prisma models", "list endpoints", "wiki bootstrap", "does <Entity> exist", "enumerate domain", "product-wiki plugin".
How this skill is triggered — by the user, by Claude, or both
Slash command
/product-wiki:entity-mapThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Authoritative enumeration of project domain objects. **Never invent entities.** If a model, endpoint, component, story, or EIS is not listed in one of the authoritative sources below, it does not exist yet — do not create a wiki page for it.
Authoritative enumeration of project domain objects. Never invent entities. If a model, endpoint, component, story, or EIS is not listed in one of the authoritative sources below, it does not exist yet — do not create a wiki page for it.
Before probing any paths, check whether the project has a config file at .claude/plugins/product-wiki/entity-map.json. If that file exists, read it — it may override any of the default probe paths below.
src/prisma/schema.prismaprisma/schema.prismasrc/app/api/**/route.tsapp/api/**/route.tssrc/components/components/docs/reference/stories/INDEX.mddocs/eis/EIS-*.mdProbe for the schema file using the order above. Then:
Grep pattern: "^model\s+(\w+)\s*\{" in the located schema file
Glob the API routes directory using the probe order above:
Glob: src/app/api/**/route.ts (or app/api/**/route.ts if the src/ variant is absent)
Each file's path (minus the api/ prefix and /route.ts suffix) is the endpoint path. Methods (GET, POST, PATCH, DELETE) are exported as named functions inside each route.ts.
Glob the components directory using the probe order above:
Glob: src/components/**/*.tsx (or components/**/*.tsx)
Read: docs/reference/stories/INDEX.md
Glob: docs/reference/stories/US-*.md
Glob: docs/eis/EIS-*.md
| Source object | Wiki page path |
|---|---|
Prisma model Foo | docs/wiki/entities/Foo.md |
Endpoint GET /x/y | docs/wiki/endpoints/get-x-y.md (lowercase, / -> -) |
Story US-123 | docs/wiki/stories/US-123.md |
EIS EIS-045 | docs/wiki/eis/EIS-045.md |
One page per source object. No speculative pages.
The Prisma schema (whichever path resolves) is the single source of truth for entity names and field shapes. When a wiki page references a field, quote the schema (include the field name, type, and any @default / @db decorators). Re-read the schema at the start of every wiki update — do not rely on memory.
If an agent considers writing a wiki page for an entity/endpoint/story/EIS that does not appear in the authoritative sources above, it must stop and either (a) find the source file, or (b) decline to create the page. Speculative wiki pages corrupt the map.
npx claudepluginhub esxr/marketplace --plugin product-wikiGuides test-driven development for Django applications using pytest-django, factory_boy, and Django REST Framework. Covers red-green-refactor workflow, conftest fixtures, and coverage reporting.