Design or change PostgreSQL-backed entities, relations, constraints, indexes, and migrations for Nerdex. Use when introducing schema for content, comments, reactions, tags, chats, media metadata, or any query-sensitive data model that must be driven by write and read paths, ownership, visibility, and future extensibility.
Используй этот skill, когда задача вводит или меняет PostgreSQL-backed entity, relation или query-sensitive schema.
Спроектировать schema, которая корректна для реального product behavior, а не просто syntactically complete.
Всегда рассуждай про:
Если entity связана с posts / articles / videos / courses / comments / reactions / tags / feed behavior, сначала реши, находится ли concern в shared content или в type-specific detail table.
При предложении schema changes включай:
Не делай: