supabase-edge-functions

Develop, deploy, and debug Supabase Edge Functions with authentication and pg_net triggers.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/heyflouai/ikf-central-dashboard --skill supabase-edge-functions-heyflouai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: supabase-edge-functions
Source: https://github.com/heyflouai/ikf-central-dashboard/tree/main/.claude/skills/supabase-edge-functions
Command: npx skills add https://github.com/heyflouai/ikf-central-dashboard --skill supabase-edge-functions-heyflouai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides best practices and debugging strategies for developing, deploying, and integrating Supabase Edge Functions, ensuring robust and efficient serverless backend logic.

Core Features & Use Cases

  • Authentication Patterns: Understand and implement secure JWT verification and custom auth flows.
  • Database Integration: Learn how to trigger Edge Functions from database triggers using pg_net.
  • Debugging & Error Handling: Resolve common issues like auth mismatches, deployment errors, and trigger failures.
  • Use Case: You're building a webhook handler for a third-party service that needs to interact with your Supabase database. This Skill guides you through setting up the function, handling authentication securely, and debugging any integration issues.

Quick Start

Use the supabase-edge-functions skill to deploy a new function named 'user-auth-handler' that verifies JWTs and logs user activity.

Frequently Asked Questions about supabase-edge-functions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trigger Supabase Edge Functions from database changes?

You can trigger Supabase Edge Functions from database changes by using the pg_net extension. This Skill provides guidance on configuring database triggers to securely invoke your serverless functions via HTTP requests.

How do I verify JWTs and handle authentication in Supabase Edge Functions?

To handle authentication in Supabase Edge Functions, implement secure JWT verification patterns. This Skill covers verifying JSON Web Tokens and managing custom auth flows to secure your serverless backend logic.

Why are my Supabase Edge Functions failing during local testing and deployment?

Supabase Edge Functions fail during local testing and deployment due to auth mismatches or configuration errors. This Skill offers debugging strategies to resolve common deployment errors and local testing workflow issues.

Can I use Supabase Edge Functions for webhook handlers and ingest pipelines?

Yes, you can use Supabase Edge Functions for webhook handlers and ingest pipelines. This Skill guides you through setting up serverless functions to interact with your database and handle third-party service payloads.

Do I need a service role key to run Supabase Edge Functions with database triggers?

Yes, running Supabase Edge Functions with database triggers requires secure service role key usage. This Skill emphasizes proper key management to bypass Row Level Security when executing serverless backend tasks.