Toolverse
All skills

supabase-multi-env-setup

by jeremylongshore

Configure Supabase across development, staging, and production environments.\nUse when setting up multi-environment deployments, configuring per-environment secrets,\nor implementing environment-specific Supabase configurations.\nTrigger with phrases like \

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Backend

About this skill

Configure Supabase across development, staging, and production environments.\nUse when setting up multi-environment deployments, configuring per-environment secrets,\nor implementing environment-specific Supabase configurations.\nTrigger with phrases like \

How to use

  1. Utwórz trzy oddzielne projekty Supabase na supabase.com/dashboard — jeden dla development, staging i production. Każdy projekt otrzyma własny URL i klucze API.

  2. Zainstaluj Supabase CLI globalnie lub użyj npx: npm install -g supabase lub npx supabase --version. Upewnij się, że masz Node.js 18+.

  3. Zainstaluj bibliotekę @supabase/supabase-js v2+ w swoim projekcie, jeśli jeszcze jej nie masz.

  4. Skonfiguruj zmienne środowiskowe w plikach .env dla każdego etapu — SUPABASE_URL i SUPABASE_ANON_KEY dla dev, staging i production. Przechowuj wrażliwe dane w systemie zarządzania sekretami CI (np. GitHub Actions Secrets).

  5. Inicjalizuj klienta Supabase w kodzie aplikacji z uwzględnieniem bieżącego środowiska — użyj createClient z odpowiednimi zmiennymi dla każdego etapu.

  6. Promuj migracje baz danych między środowiskami za pomocą supabase db push, zaczynając od dev, przechodzą przez staging, aż do production. Skill zapobiega przypadkowym operacjom na produkcji poprzez walidację w pipeline'ach CI/CD.

Related skills

sql-optimization-patterns

by wshobson

Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.

Backend
40163

architecture-decision-records

by wshobson

Write and maintain Architecture Decision Records (ADRs) following best practices for technical decision documentation. Use when documenting significant technical decisions, reviewing past architectural choices, or establishing decision processes.

Backend
29130

stripe-integration

by wshobson

Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.

Backend
40147

supabase-developer

by daffy0208

Build full-stack applications with Supabase (PostgreSQL, Auth, Storage, Real-time, Edge Functions). Use when implementing authentication, database design with RLS, file storage, real-time features, or serverless functions.

Backend
78170

context-optimizer

by openclaw

Advanced context management with auto-compaction and dynamic context optimization for DeepSeek's 64k context window. Features intelligent compaction (merging, summarizing, extracting), query-aware relevance scoring, and hierarchical memory system with context archive. Logs

Backend
2964

youtube-transcript

by michalparkola

Download YouTube video transcripts when user provides a YouTube URL or asks to download/get/fetch a transcript from YouTube. Also use when user wants to transcribe or get captions/subtitles from a YouTube video.

Backend
53214