supabase-developer
БесплатноЗапускает вложенные скриптыНе проверенExpert Supabase development with PostgreSQL, authentication, Row Level Security, Storage, Edge Functions, and Realtime subscriptions
от greedychipmunk★ 24 звезды на GitHubОб этом скилле
Supabase Developer Skill
Overview
This skill provides comprehensive expertise in building production-ready applications with Supabase, the open-source Firebase alternative. It covers database design, authentication, Row Level Security (RLS), file storage, Edge Functions, and real-time subscriptions. Edge Functions now run on Deno 2.1 by default (full rollout August 2025), with local preview available since March 2025.
Core Capabilities
Database & PostgreSQL
- Schema Design: Normalized tables with proper relationships and indexes
- Migrations: Version-controlled database changes
- Queries: Complex queries with joins, CTEs, and aggregations
- Functions: PostgreSQL stored procedures and triggers
- Extensions: PostGIS, pg_vector, pgcrypto, and more
Authentication
- Email/Password: Traditional authentication flow
- Magic Links: Passwordless email authentication
- OAuth Providers: Google, GitHub, Discord, Twitter, and more
- Phone Auth: SMS-based authentication
- Multi-Factor Authentication: TOTP and SMS verification
- Session Management: JWT tokens and refresh handling
Row Level Security (RLS)
- Policy Design: Secure data access patterns
- User-based Access: Policies tied to authenticated users
- Role-based Access: Custom roles and permissions
- Organization-based: Multi-tenant security patterns
- Performance: Optimized RLS with proper indexing
Storage
- File Uploads: Direct and resumable uploads
- Access Control: Bucket policies and RLS integration
- Transformations: Image resizing and optimization
- CDN: Global content delivery
- Signed URLs: Temporary access tokens
Edge Functions
- Deno 2.1 Runtime: TypeScript/JavaScript edge computing with seamless npm imports, native TypeScript support, Web API compatibility, and better performance
- Dashboard Editor: In-dashboard Edge Functions editor for quick updates and prototyping
- AI Assistant: Built-in AI assistant for generating function code
- API Routes: Custom backend logic
- Webhooks: Event-driven integrations
- Scheduled Tasks: Cron-based functions (pg_cron)
- Third-party APIs: External service integrations
- No-Docker Deploy: Deploy with
supabase functions deploy --no-dockerwhen Docker isn't available
Realtime
- Database Changes: Listen to INSERT, UPDATE, DELETE
- Broadcast: Publish messages to channels
- Presence: Track online users and state
- Postgres Changes: Row-level change subscriptions
Implementation Patterns
Project Structure
├── supabase/
│ ├── config.toml # Project configuration
│ ├── migrations/ # Database migrations
│ │ ├── 20240101000000_initial_schema.sql
│ │ └── 20240102000000_add_profiles.sql
│ ├── functions/ # Edge Functions
│ │ ├── hello-world/
│ │ │ └── index.ts
│ │ └── _shared/ # Shared utilities
│ │ └── cors.ts
│ └── seed.sql # Development seed data
├── src/
│ ├── lib/
│ │ └── supabase.ts # Client initialization
│ ├── types/
│ │ └── database.types.ts # Generated types
│ └── ...
└── package.json
Database Schema Example
-- Users profile extension
create table public.profiles (
id uuid references auth.users on delete cascade primary key,
username text unique not null,
full_name text,
avatar_url text,
created_at timestamptz default now() not null,
updated_at timestamptz default now() not null
);
-- Enable RLS
alter table public.profiles enable row level security;
-- RLS Policies
create policy "Public profiles are viewable by everyone"
on public.profiles for select
using (true);
create policy "Users can update their own profile"
on public.profiles for update
using (auth.uid() = id);
-- Trigger for updated_at
create trigger handle_updated_at
before update on public.profiles
for each row execute function moddatetime(updated_at);
Client Initialization
// src/lib/supabase.ts
import { createClient } from '@supabase/supabase-js'
import type { Database } from '@/types/database.types'
const supabaseUrl = process.env.NEXT_PUBLIC_SUPABASE_URL!
const supabaseAnonKey = process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!
export const supabase = createClient<Database>(
supabaseUrl,
supabaseAnonKey
)
Authentication Patterns
// Sign up with email
const { data, error } = await supabase.auth.signUp({
email: '[email protected]',
password: 'secure-password',
options: {
data: {
full_name: 'John Doe'
}
}
})
// Sign in with OAuth
const { data, error } = await supabase.auth.signInWithOAuth({
provider: 'google',
options: {
redirectTo: `${window.location.origin}/auth/callback`
}
})
// Get current user
const { data: { user } } = await supabase.auth.getUser()
// Listen to auth changes
supabase.auth.onAuthStateChange((event, session) => {
if (event
Установить supabase-developer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл supabase-developer?
Expert Supabase development with PostgreSQL, authentication, Row Level Security, Storage, Edge Functions, and Realtime subscriptions
Как установить скилл supabase-developer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл supabase-developer запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic