---
title: "gen"
description: "Automatically generates type definitions based on your Postgres database schema."
type: skill
canonical_url: https://claudary.paisolsolutions.com/skills/gen
source: "Claudary"
difficulty: intermediate
author: "Claude Code Knowledge Pack"
date: 2026-07-10T11:24:45.165Z
license: CC-BY-4.0
attribution: "gen — Claudary (https://claudary.paisolsolutions.com/skills/gen)"
---

# gen
Automatically generates type definitions based on your Postgres database schema.

## Overview

## supabase-gen

Automatically generates type definitions based on your Postgres database schema.

This command connects to your database (local or remote) and generates typed definitions that match your database tables, views, and stored procedures. By default, it generates TypeScript definitions, but also supports Go and Swift.

Generated types give you type safety and autocompletion when working with your database in code, helping prevent runtime errors and improving developer experience.

The types respect relationships, constraints, and custom types defined in your database schema.

---

Source: [Claudary](https://claudary.paisolsolutions.com/skills/gen) · https://claudary.paisolsolutions.com
