types-gen

Community

Type-safe TS types from your Supabase schema.

Authorgpaura
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill generates TypeScript types directly from your Supabase database schema, eliminating manual type definitions and keeping client code in sync with the database.

Core Features & Use Cases

  • Automated type generation: Produces a Database type with Tables, Row, Insert, and Update shapes for quick, type-safe queries.
  • Seamless integration: Works with standard Next.js/TypeScript projects and common tooling; regenerates after schema changes.
  • Use Case: Use generated types to ensure compile-time correctness when querying or mutating data with the Supabase client.

Quick Start

Use the Supabase CLI to generate types from your schema: npx supabase gen types typescript --project-id YOUR_PROJECT_ID > lib/database.types.ts Or for a local schema: npx supabase gen types typescript --local > lib/database.types.ts

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: types-gen
Download link: https://github.com/gpaura/claude_plugins/archive/main.zip#types-gen

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.