edge-function
OfficialScaffold secure Supabase Edge Functions instantly
Author120ventures
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Scaffold a new Supabase Edge Function with built-in authentication, CORS handling, Zod validation, and error management following 120 Ventures conventions
Core Features & Use Cases
- Generates a ready-to-edit Supabase Edge Function skeleton at supabase/functions/$ARGUMENTS/index.ts with auth, CORS headers, and Zod validation.
- Enforces security and architectural conventions: one function per operation, always authenticate, validate inputs, safe error messages, restricted CORS, server-side only DB access, and parameterized queries.
- Provides a template structure and example code to accelerate building new endpoints.
Quick Start
Provide a function name when prompted and run the scaffold to generate a new edge function following the conventions.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: edge-function Download link: https://github.com/120ventures/claude-skills/archive/main.zip#edge-function Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.