edge-functions

Community

Deno edge functions for LLM calls and embeddings.

Authordiscountedcookie
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides Deno edge function patterns for external integrations, including CORS handling, request validation, OpenRouter/LLM calls, and embedding generation. Also covers error handling and database callbacks.

Core Features & Use Cases

  • Standard edge function pattern with CORS preflight and robust error handling
  • Request validation using Zod schemas
  • LLM calling pattern for chat completions
  • Embedding generation pattern and DB callback example

Quick Start

Create a new edge function at supabase/functions/my-function/index.ts using the standard pattern and wire up call-llm and generate-embedding paths as needed.

Dependency Matrix

Required Modules

None required

Components

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-functions
Download link: https://github.com/discountedcookie/10x-mapmaster/archive/main.zip#edge-functions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.