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

supabase-known-pitfalls

执行识别并避免Supabase反模式和常见的集成错误。在审查Supabase代码问题、新开发者入职培训或审核现有Supabase集成是否违反最佳实践时使用。可以通过诸如“supabase错误”、“supabase反模式”、“supabase陷阱”、“supabase不该做的事”、“supabase代码审查”等短语触发。

person作者: jakexiaohubgithub

Supabase Known Pitfalls

Prerequisites

  • Access to Supabase codebase for review
  • Understanding of async/await patterns
  • Knowledge of security best practices
  • Familiarity with rate limiting concepts

Instructions

Step 1: Review for Anti-Patterns

Scan codebase for each pitfall pattern.

Step 2: Prioritize Fixes

Address security issues first, then performance.

Step 3: Implement Better Approach

Replace anti-patterns with recommended patterns.

Step 4: Add Prevention

Set up linting and CI checks to prevent recurrence.

Output

  • Anti-patterns identified
  • Fixes prioritized and implemented
  • Prevention measures in place
  • Code quality improved

Error Handling

See {baseDir}/references/errors.md for comprehensive error handling.

Examples

See {baseDir}/references/examples.md for detailed examples.

Resources