Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
constructive-io avatar

Orm Default

  • 2 installs
  • 14 repo stars
  • Updated July 28, 2026
  • constructive-io/agentic-db

Query the agentic-db default API in TypeScript with typed CRUD, vector and hybrid search, and relation walking across 91 generated tables.

About

An ORM client for the agentic-db default API providing typed CRUD, vector and hybrid search, and relation walking across 91 generated tables. A developer uses it to query the data model in TypeScript with a required select and QueryBuilder results.

  • createClient factory returns a Prisma-like ORM with one model per generated table
  • Typed CRUD plus vector and hybrid search and relation walking across 91 tables

Orm Default by the numbers

  • 2 all-time installs (skills.sh)
  • Ranked #741 of 911 Databases skills by installs in the Skillselion catalog
  • Data as of Jul 29, 2026 (Skillselion catalog sync)
npx skills add https://github.com/constructive-io/agentic-db --skill orm-default

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs2
repo stars14
Last updatedJuly 28, 2026
Repositoryconstructive-io/agentic-db

What it does

Query the agentic-db default API in TypeScript with typed CRUD, vector and hybrid search, and relation walking across 91 generated tables.

Files

references/skill.mdMarkdownGitHub ↗

skill

<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->

ORM operations for Skill records

Usage

db.skill.findMany({ select: { id: true } }).execute()
db.skill.findOne({ id: '<value>', select: { id: true } }).execute()
db.skill.create({ data: { entityId: '<value>', name: '<value>', slug: '<value>', description: '<value>', content: '<value>', procedure: '<value>', interface: '<value>', requirements: '<value>', prerequisites: '<value>', alwaysLoad: '<value>', filePath: '<value>', contentHash: '<value>', category: '<value>', isActive: '<value>', abstract: '<value>', overview: '<value>', activeCount: '<value>', lastAccessedAt: '<value>', tags: '<value>', embeddingText: '<value>', embedding: '<value>', intentTrigger: '<value>', embeddingTextBm25Score: '<value>', nameTrgmSimilarity: '<value>', slugTrgmSimilarity: '<value>', descriptionTrgmSimilarity: '<value>', contentTrgmSimilarity: '<value>', procedureTrgmSimilarity: '<value>', filePathTrgmSimilarity: '<value>', contentHashTrgmSimilarity: '<value>', categoryTrgmSimilarity: '<value>', abstractTrgmSimilarity: '<value>', overviewTrgmSimilarity: '<value>', embeddingTextTrgmSimilarity: '<value>', embeddingVectorDistance: '<value>', intentTriggerVectorDistance: '<value>', searchScore: '<value>' }, select: { id: true } }).execute()
db.skill.update({ where: { id: '<value>' }, data: { entityId: '<new>' }, select: { id: true } }).execute()
db.skill.delete({ where: { id: '<value>' } }).execute()

Examples

List all skill records

const items = await db.skill.findMany({
  select: { id: true, entityId: true }
}).execute();

Create a skill

const item = await db.skill.create({
  data: { entityId: 'value', name: 'value', slug: 'value', description: 'value', content: 'value', procedure: 'value', interface: 'value', requirements: 'value', prerequisites: 'value', alwaysLoad: 'value', filePath: 'value', contentHash: 'value', category: 'value', isActive: 'value', abstract: 'value', overview: 'value', activeCount: 'value', lastAccessedAt: 'value', tags: 'value', embeddingText: 'value', embedding: 'value', intentTrigger: 'value', embeddingTextBm25Score: 'value', nameTrgmSimilarity: 'value', slugTrgmSimilarity: 'value', descriptionTrgmSimilarity: 'value', contentTrgmSimilarity: 'value', procedureTrgmSimilarity: 'value', filePathTrgmSimilarity: 'value', contentHashTrgmSimilarity: 'value', categoryTrgmSimilarity: 'value', abstractTrgmSimilarity: 'value', overviewTrgmSimilarity: 'value', embeddingTextTrgmSimilarity: 'value', embeddingVectorDistance: 'value', intentTriggerVectorDistance: 'value', searchScore: 'value' },
  select: { id: true }
}).execute();

Related skills

Databasesdatabases

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.