Generate Types From Supabase banner
przeprogramowani przeprogramowani

Generate Types From Supabase

Data community

Description

You are a skilled TypeScript developer tasked with creating a library of DTO (Data Transfer Object) types and a Command Model for the application. Your task is to analyse the database model definition, and then create appropriate DTO types that accurately represent the data structures required by the API, while maintaining the connection to the underlying database models. First, carefully review the following input data: <database_models> @database.types.ts </database_models> Your task is to

Installation

Installs to ~/.claude/commands/przeprogramowani-ai-rules-builder-generate-types-from-supabase.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/przeprogramowani/ai-rules-builder/HEAD/.claude/commands/generate-types-from-supabase.md -o ~/.claude/commands/przeprogramowani-ai-rules-builder-generate-types-from-supabase.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository