supabase-type-generator
Generate TypeScript types from Supabase schema with automatic synchronization and validation
وصف مستورد لم يراجعه محرر بعد
جاء هذا العنصر من مستودعه الأصلي وفحصناه آلياً فقط، ولم يكتب له محرر وصفاً عربياً بعد. اقرأ محتواه بنفسك قبل أن تعتمد عليه. ولا تُفهرس هذه الصفحة في محركات البحث حتى تُراجَع.
التنزيل
التثبيت
بعد التنزيل، شغّل الأمر في الطرفية. يسأل unzip قبل أن يستبدل أي ملف موجود.
لهذا المشروع
يوضع في: .claude/commands/
mkdir -p .claude/commands && unzip ~/Downloads/supabase-type-generator.zip -d .claude/commandsلحسابك على الجهاز كله
يوضع في: ~/.claude/commands/
mkdir -p ~/.claude/commands && unzip ~/Downloads/supabase-type-generator.zip -d ~/.claude/commands
التعليمات
Supabase Type Generator
Generate comprehensive TypeScript types from Supabase schema with automatic synchronization: $ARGUMENTS
Current Type Context
- Supabase schema: Database schema accessible via MCP integration
- Type definitions: !
find . -name "types" -type d -o -name "*.d.ts" | head -5existing TypeScript definitions - Application usage: !
find . -name "*.ts" -o -name "*.tsx" | xargs grep -l "Database\|Table\|Row" 2>/dev/null | head -3type usage patterns - Build configuration: !
find . -name "tsconfig.json" -o -name "*.config.ts" | head -3TypeScript setup
Task
Execute comprehensive type generation with schema synchronization and application integration:
Generation Scope: Use $ARGUMENTS to generate all table types, specific table types, function signatures, enum definitions, or view types
Type Generation Framework:
- Schema Analysis - Extract database schema via MCP, analyze table structures, identify relationships, map data types to TypeScript
- Type Generation - Generate table interfaces, create utility types, implement type guards, optimize type definitions
- Integration Setup - Configure import paths, setup type exports, implement auto-completion, integrate with build process
- Validation Process - Validate generated types, test type compatibility, verify application integration, check build success
- Synchronization - Monitor schema changes, auto-regenerate types, validate breaking changes, notify development team
- Developer Experience - Implement IDE integration, provide type hints, create usage examples, optimize development workflow
Advanced Features: Automatic type updates, breaking change detection, custom type transformations, documentation generation, IDE plugin integration.
Quality Assurance: Type accuracy validation, application compatibility testing, performance impact assessment, developer feedback integration.
Output: Complete TypeScript type definitions with schema synchronization, application integration, validation procedures, and developer documentation.
الملفات
- LICENSE1 ك.ب
- supabase-type-generator.md2.3 ك.ب
ما وجده الفحص الآلي
فحصنا الملفات آلياً وقت الاستيراد. هذا ما نبّه إليه الفحص، ولا يعني أن العنصر ضار ولا أنه سليم: اقرأه بنفسك.
- يحتاج مراجعةأدوات مسموحة بلا حدود
في الملف cli-tool/components/commands/database/supabase-type-generator.md
التعليقات (0)
لا تعليقات بعد. كن أول من يعلّق.
سجّل الدخول لتعلّق. التعليق من المستوى 1 (عضو).