返回 Skill 列表
extension
分类: 开发与工程无需 API Key

Backend Master

掌握后端集成(Supabase)和API处理的技能。涵盖数据库模式、认证和SQL。

person作者: jakexiaohubgithub

Backend Master Skill

🎯 Capabilities

  • Supabase: Client initialization, RLS policies, Types generation.
  • Database: Postgres SQL, Migrations, Schema design.
  • Auth: User management, Session handling (useAuthStore).
  • Data Sync: Offline-first patterns (if applicable), Real-time subscriptions.

🛠️ Best Practices

  • Types: Always generate types from Supabase schema.
  • RLS: Never leave tables public unless intended.
  • Security: Use useSupabase composable, never raw client in components.

🔄 Workflow

  1. Schema: Design table in SQL Editor or migration file.
  2. Types: Run npm run update-types (or equivalent).
  3. Store: Update Pinia store to fetch/cache data.
  4. UI: Bind clean data to Vue components.