diff --git a/.agents/skills/constructive-graphql/SKILL.md b/.agents/skills/constructive-graphql/SKILL.md index bcf215a..6ce31f4 100644 --- a/.agents/skills/constructive-graphql/SKILL.md +++ b/.agents/skills/constructive-graphql/SKILL.md @@ -23,7 +23,7 @@ Use this skill when: ## The Flow ``` -1. Design DB → Use @constructive-io/sdk to create tables, fields, indexes, search columns +1. Design DB → Use @constructive-io/node to create tables, fields, indexes, search columns 2. Codegen → cnc codegen --orm --react-query (generates typed TS client) 3. Query → Use generated ORM/hooks to fetch, mutate, search, paginate ``` diff --git a/.agents/skills/constructive-safegres/SKILL.md b/.agents/skills/constructive-safegres/SKILL.md index c0c70ed..73a03eb 100644 --- a/.agents/skills/constructive-safegres/SKILL.md +++ b/.agents/skills/constructive-safegres/SKILL.md @@ -1,7 +1,7 @@ --- name: constructive-safegres description: Safegres is Constructive's security protocol for expressing authorization as Authz* policy nodes (types + JSON configs). This skill defines each Authz* type, its config shape, semantics, and when to use it. No SQL and no SDK/grant/RLS steps. -compatibility: Node.js 22+, @constructive-io/sdk +compatibility: Node.js 22+, @constructive-io/node metadata: author: constructive-io version: "1.0.0" diff --git a/.agents/skills/constructive/SKILL.md b/.agents/skills/constructive/SKILL.md index aba270f..40a3fe0 100644 --- a/.agents/skills/constructive/SKILL.md +++ b/.agents/skills/constructive/SKILL.md @@ -38,7 +38,7 @@ It covers: 14 Authz* policy node types, permissive vs restrictive composition, ` ## Services & Schemas -- Create and configure API services, attach database schemas, set up domain/subdomain routing, and manage schema grants via the `@constructive-io/sdk` +- Create and configure API services, attach database schemas, set up domain/subdomain routing, and manage schema grants via the `@constructive-io/node` SDK - Entity hierarchy: Database > Schema > Api > ApiSchema, ApiModule, Domain, Site - Full CRUD examples for Api, ApiSchema, ApiModule, Domain, SchemaGrant, and Site entities diff --git a/.agents/skills/constructive/references/services-schemas-entity-fields.md b/.agents/skills/constructive/references/services-schemas-entity-fields.md index c09793b..622be0f 100644 --- a/.agents/skills/constructive/references/services-schemas-entity-fields.md +++ b/.agents/skills/constructive/references/services-schemas-entity-fields.md @@ -1,6 +1,6 @@ # Entity Field Reference -Detailed field reference for all service and schema-related entities in the `@constructive-io/sdk`. +Detailed field reference for all service and schema-related entities in the `@constructive-io/node` SDK. ## Api diff --git a/.agents/skills/constructive/references/services-schemas.md b/.agents/skills/constructive/references/services-schemas.md index ffb5de2..8978be1 100644 --- a/.agents/skills/constructive/references/services-schemas.md +++ b/.agents/skills/constructive/references/services-schemas.md @@ -2,10 +2,10 @@ name: constructive-services-schemas description: > Create and configure Constructive services (APIs), attach database schemas to them, - set up domains, API modules, and schema grants using the @constructive-io/sdk TypeScript SDK. + set up domains, API modules, and schema grants using the @constructive-io/node TypeScript SDK. Use when: "create an API", "set up a service", "attach schema to API", "configure domains", "add API module", "grant schema access", "set up service routing". -compatibility: Node.js 18+, @constructive-io/sdk +compatibility: Node.js 18+, @constructive-io/node metadata: author: constructive-io version: "1.0.0" @@ -13,7 +13,7 @@ metadata: # Constructive Services & Schemas -Configure Constructive services (APIs), attach database schemas, set up domain routing, and manage access — all via the `@constructive-io/sdk` TypeScript SDK with zero SQL. +Configure Constructive services (APIs), attach database schemas, set up domain routing, and manage access — all via the `@constructive-io/node` TypeScript SDK with zero SQL. ## When to Apply