Toolverse
All skills

data-model-changes

by inkeep

Guide for making changes to the database schema, validation, types, and data access layer. Use when adding tables, columns, relations, or modifying the data model. Triggers on: add table, add column, modify schema, database change, data model, new entity, schema migration.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
inkeep
Category
Backend
Views
2

About this skill

Guide for making changes to the database schema, validation, types, and data access layer. Use when adding tables, columns, relations, or modifying the data model. Triggers on: add table, add column, modify schema, database change, data model, new entity, schema migration.

How to use

  1. Zidentyfikuj typ zmian w modelu danych — czy dodajesz nową tabelę, kolumnę, relację, czy modyfikujesz istniejący schemat. 2. Określ, do której bazy danych zmiana należy: do Manage (konfiguracja projektów, agentów, narzędzi) czy Runtime (konwersacje, wiadomości, zadania). 3. Zastosuj odpowiedni wzorzec zakresu wielodostępności — użyj tenantScoped dla zasobów na poziomie organizacji, projectScoped dla zasobów specyficznych dla projektu, agentScoped dla zasobów specyficznych dla agenta. 4. Zdefiniuj schemat tabeli w odpowiednim pliku konfiguracyjnym (drizzle.manage.config.ts lub drizzle.run.config.ts) oraz w pliku schematu (manage-schema.ts lub runtime-schema.ts). 5. Upewnij się, że nie tworzysz obcych kluczy między bazami danych Manage i Runtime, aby uniknąć problemów z integracją. 6. Skill automatycznie zasugeruje odpowiednie wytyczne i wzorce podczas wykonywania zmian w modelu danych.

Related skills

fastapi-templates

by wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

Backend
327582

stripe-integration

by wshobson

Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.

Backend
40147

youtube-transcript

by michalparkola

Download YouTube video transcripts when user provides a YouTube URL or asks to download/get/fetch a transcript from YouTube. Also use when user wants to transcribe or get captions/subtitles from a YouTube video.

Backend
53214

travel-planner

by ailabs-393

This skill should be used whenever users need help planning trips, creating travel itineraries, managing travel budgets, or seeking destination advice. On first use, collects comprehensive travel preferences including budget level, travel style, interests, and dietary

Backend
4379

supabase-developer

by daffy0208

Build full-stack applications with Supabase (PostgreSQL, Auth, Storage, Real-time, Edge Functions). Use when implementing authentication, database design with RLS, file storage, real-time features, or serverless functions.

Backend
78170

drizzle

by lobehub

Drizzle ORM schema and database guide. Use when working with database schemas (src/database/schemas/*), defining tables, creating migrations, or database model code. Triggers on Drizzle schema definition, database migrations, or ORM usage questions.

Backend
79340