supabase-sdk-patterns
应用适用于TypeScript和Python的成熟Supabase SDK模式。当实现Supabase集成、重构SDK使用或为Supabase建立团队编码标准时使用。通过“supabase SDK模式”、“supabase最佳实践”、“supabase代码模式”、“idiomatic supabase”等短语触发。
📖 中文导读:应用适用于TypeScript和Python的成熟Supabase SDK模式。当实现Supabase集成、重构SDK使用或为Supabase建立团队编码标准时使用。通过“supabase SDK模式”、“supabase最佳实践”、“supabase代码模式”、“idiomatic supabase”等短语触发。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: supabase-sdk-patterns description: | Execute apply production-ready Supabase SDK patterns for TypeScript and Python. Use when implementing Supabase integrations, refactoring SDK usage, or establishing team coding standards for Supabase. Trigger with phrases like "supabase SDK patterns", "supabase best practices", "supabase code patterns", "idiomatic supabase". allowed-tools: Read, Write, Edit version: 1.0.0 license: MIT author: Jeremy Longshore jeremy@intentsolutions.io
Supabase Sdk Patterns
Prerequisites
- Completed
supabase-install-authsetup - Familiarity with async/await patterns
- Understanding of error handling best practices
See {baseDir}/references/implementation.md for detailed implementation guide.
Output
- Type-safe client singleton
- Robust error handling with structured logging
- Automatic retry with exponential backoff
- Runtime validation for API responses
Error Handling
See {baseDir}/references/errors.md for comprehensive error handling.
Examples
See {baseDir}/references/examples.md for detailed examples.