From nazarf-claude-code
Generate TypeScript types from Supabase database schema
npx claudepluginhub norens/nazarf-claude-code --plugin nazarf-claude-codeclaude-sonnet-4-5supabase/Generate TypeScript types from the Supabase database schema. ## Command Run the following command to generate types: Or if using local Supabase: ## Setup for Auto-Generation ### 1. **Add to package.json** ### 2. **Usage in Code** ### 3. **Create Utility Types** ### 4. **When to Regenerate** Run `npm run gen-types` after: - Creating new tables - Adding/removing columns - Changing column types - Modifying RLS policies - Adding enums ### 5. **Best Practices** - Commit generated types to git - Run after schema changes - Use in all Supabase queries - Create helper ty...