# Edge Functions

> Alias for edge-function-creator. Use when creating, modifying, or deploying Supabase Edge Functions. Triggers on "edge function", "create function", "deploy function", "serverless", "Deno function", "new endpoint".

- Skill: `amo-tech-ai-rocket-path-ai/edge-functions` (Agent Skill, multi-file: 6 files)
- Install (CLI): `npx skillmds@latest add amo-tech-ai-rocket-path-ai/edge-functions`
- Raw SKILL.md: https://api.skillmd.com/api/skills/amo-tech-ai-rocket-path-ai/edge-functions/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: amo-tech-ai (https://skillmd.com/u/amo-tech-ai-rocket-path-ai)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/amo-tech-ai-rocket-path-ai/edge-functions

---


# Edge Functions

> **Alias:** This skill redirects to `/edge-function-creator` for all edge function operations.

## Overview

This is an alias for the `edge-function-creator` skill. Use `/edge-functions` or `/edge-function-creator` interchangeably for:

- Creating new edge functions
- Modifying existing functions
- Deploying functions
- Adding AI integration to functions

## Quick Reference

See `.claude/edge-function-creator/SKILL.md` for the full workflow.

### Key Commands

```bash
supabase functions serve <name> --env-file .env.local  # Local testing
supabase functions deploy <name>                        # Deploy
supabase secrets set KEY=value                          # Set secrets
```

### Checklist

- [ ] CORS headers on all responses
- [ ] JWT verification enabled by default
- [ ] Action routing via switch
- [ ] Supabase client with user JWT
- [ ] Error handling returns JSON with status codes
- [ ] Env vars via `Deno.env.get()`, never hardcoded

## References

- `.claude/edge-function-creator/SKILL.md` - Full workflow
- `.claude/edge-functions/references/` - Architecture and integration patterns

