supabase-known-pitfalls

识别并避免Supabase的反模式和常见集成错误。在审查Supabase代码以查找问题、入职新开发者或审计现有Supabase集成以查找最佳实践违规时使用。通过如“supabase错误”、“supabase反模式”、“supabase陷阱”、“supabase不要做什么”、“supabase代码审查”等短语触发。

📖 中文导读:识别并避免Supabase的反模式和常见集成错误。在审查Supabase代码以查找问题、入职新开发者或审计现有Supabase集成以查找最佳实践违规时使用。通过如“supabase错误”、“supabase反模式”、“supabase陷阱”、“supabase不要做什么”、“supabase代码审查”等短语触发。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: supabase-known-pitfalls description: | Execute identify and avoid Supabase anti-patterns and common integration mistakes. Use when reviewing Supabase code for issues, onboarding new developers, or auditing existing Supabase integrations for best practices violations. Trigger with phrases like "supabase mistakes", "supabase anti-patterns", "supabase pitfalls", "supabase what not to do", "supabase code review". allowed-tools: Read, Grep version: 1.0.0 license: MIT author: Jeremy Longshore jeremy@intentsolutions.io

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