Help us improve
Share bugs, ideas, or general feedback.
From mcp-companion
Syncs local codebase domain model with Qlerify by scanning entities, commands, read models, Prisma/GraphQL schemas, and git diffs for changes.
npx claudepluginhub qlerify/qlerify-plugins --plugin mcp-companionHow this skill is triggered — by the user, by Claude, or both
Slash command
/mcp-companion:syncThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Sync the local codebase's domain model with Qlerify. Detect entities, commands, and read models in code and ensure they
Designs a data model and generates paired forward/rollback SQL migrations staged under docs/features/*. Greenfield-first with brownfield and drift-only modes. Stack-agnostic: detects and follows the repo's DB conventions.
Generates database migrations with schema changes and rollback, detecting framework (Knex, Prisma, TypeORM, raw SQL) and validating safety.
Generates data model documentation including tables, constraints, indexes, retention policies, and migration notes from entities or PRD references.
Share bugs, ideas, or general feedback.
Sync the local codebase's domain model with Qlerify. Detect entities, commands, and read models in code and ensure they match Qlerify.
list_workflows to get all accessible workflows.get_workflow to understand current state (events, entities, commands, read models, bounded contexts).Scan for the following:
CreateOrder, UpdateCustomer, POST/PUT/DELETE
endpoints).GetOrderById, ListProducts).Search patterns:
src/domain/, src/models/, src/entities/, **/entity.ts, **/model.tssrc/commands/, src/handlers/, **/command.tssrc/queries/, src/read-models/, **/query.tssrc/routes/, src/api/, src/controllers/prisma/schema.prisma, **/schema.graphql, **/migrations/Also check git diff for recently changed schema files to detect field-level changes.
get_workflow to get all entities, commands, and read models from Qlerify.addFields, updateFields, removeFields.Summarize:
| Code Type | Qlerify Type |
|---|---|
string, varchar, text, char | string |
number, int, float, decimal, bigint | number |
boolean, bool | boolean |
Foreign key, relation, @relation | Set relatedEntity + cardinality |
Nested object, JSON, jsonb | object |
When creating/updating entities:
isRequired: true for non-nullable fieldsrelatedEntity ($ref path) and cardinality to express entity relationships from the owning entity's perspectiveWhen creating commands:
hideInForm: truefields with relatedEntity ($ref path) to reference related entitiesWhen creating read models:
entity ($ref path)isFilter: true for query parameters, omit for returned data fieldsfields with relatedEntity ($ref path) for return fields that reference other entities