首页/ AI 技能 / @skilllib/skill-2014279380271312898
Skill站外收录 @skilllib/skill-2014279380271312898

supabase-reference-architecture

提供 Supabase 应用的标准化架构设计能力,涵盖项目目录分层、客户端封装、统一错误处理与健康检查机制,支持快速构建符合最佳实践的 TypeScript 工程结构。

0.0 (0) 148 次安装 原作者 编程导航
收录于 2026-01-22
软件开发 AI 技能

Skills.MD

# Supabase Reference Architecture ## Prerequisites - Understanding of layered architecture - Supabase SDK knowledge - TypeScript project setup - Testing framework configured ## Instructions ### Step 1: Create Directory Structure Set up the project layout following the reference structure above. ### Step 2: Implement Client Wrapper Create the singleton client with caching and monitoring. ### Step 3: Add Error Handling Implement custom error classes for Supabase operations. ### Step 4: Configure Health Checks Add health check endpoint for Supabase connectivity. ## Output - Structured project layout - Client wrapper with caching - Error boundary implemented - Health checks configured ## Error Handling See `{baseDir}/references/errors.md` for comprehensive error handling. ## Examples See `{baseDir}/references/examples.md` for detailed examples. ## Resources - [Supabase SDK Documentation](https://supabase.com/docs/sdk) - [Supabase Best Practices](https://supabase.com/docs/best-practices)

评论 0

还没有评论,来抢沙发。