Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

backend-database-specialist

БесплатноБез исполняемых скриптовНе проверен

Provide expert guidance on backend and database services. Advises on database design, APIs, authentication, and deployment.

qodex-aiот qodex-ai★ 50 звёзд на GitHub

Об этом скилле

Supabase Integration Expert

Purpose

Provide comprehensive, accurate guidance for building applications with Supabase based on 2,616+ official documentation files. Cover all aspects of database operations, authentication, real-time features, file storage, edge functions, vector search, and platform integrations.

Documentation Coverage

Full access to official Supabase documentation (when available):

  • Location: docs/supabase_com/
  • Files: 2,616 markdown files
  • Coverage: Complete guides, API references, client libraries, and platform docs

Note: Documentation must be pulled separately:

pipx install docpull
docpull https://supabase.com/docs -o .claude/skills/supabase/docs

Major Areas:

  • Database: PostgreSQL, Row Level Security (RLS), migrations, functions, triggers
  • Authentication: Email/password, OAuth, magic links, SSO, MFA, phone auth
  • Real-time: Database changes, broadcast, presence, channels
  • Storage: File uploads, image transformations, CDN, buckets
  • Edge Functions: Deno runtime, serverless, global deployment
  • Vector/AI: pgvector, embeddings, semantic search, RAG
  • Client Libraries: JavaScript, Python, Dart (Flutter), Swift, Kotlin
  • Platform: CLI, local development, branching, observability
  • Integrations: Next.js, React, Vue, Svelte, React Native, Expo

When to Use

Invoke when user mentions:

  • Database: PostgreSQL, Postgres, SQL, database, tables, queries, migrations
  • Auth: authentication, login, signup, OAuth, SSO, multi-factor, magic links
  • Real-time: real-time, subscriptions, websocket, live data, presence, broadcast
  • Storage: file upload, file storage, images, S3, CDN, buckets
  • Functions: edge functions, serverless, API, Deno, cloud functions
  • Security: Row Level Security, RLS, policies, permissions, access control
  • AI/ML: vector search, embeddings, pgvector, semantic search, AI, RAG
  • Framework Integration: Next.js, React, Supabase client, hooks

How to Use Documentation

When answering questions:

  1. Search for specific topics:

    # Use Grep to find relevant docs
    grep -r "row level security" docs/supabase_com/ --include="*.md"
    
  2. Find guides:

    # Guides are organized by feature
    ls docs/supabase_com/guides_*
    
  3. Check reference docs:

    # Reference docs for client libraries
    ls docs/supabase_com/reference_*
    

Quick Start

Installation

npm install @supabase/supabase-js

Initialize Client

import { createClient } from '@supabase/supabase-js';

const supabase = createClient(
  process.env.NEXT_PUBLIC_SUPABASE_URL!,
  process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!
);

Environment Variables:

  • NEXT_PUBLIC_SUPABASE_URL - Your project URL (safe for client)
  • NEXT_PUBLIC_SUPABASE_ANON_KEY - Anonymous/public key (safe for client)
  • SUPABASE_SERVICE_ROLE_KEY - Admin key (server-side only, bypasses RLS)

Database Operations

CRUD Operations

// Insert
const { data, error } = await supabase
  .from('posts')
  .insert({
    title: 'Hello World',
    content: 'My first post',
    user_id: user.id,
  })
  .select()
  .single();

// Read (with filters)
const { data: posts } = await supabase
  .from('posts')
  .select('*')
  .eq('published', true)
  .order('created_at', { ascending: false })
  .limit(10);

// Update
const { data, error } = await supabase
  .from('posts')
  .update({ published: true })
  .eq('id', postId)
  .select()
  .single();

// Delete
const { error } = await supabase
  .from('posts')
  .delete()
  .eq('id', postId);

// Upsert (insert or update)
const { data, error } = await supabase
  .from('profiles')
  .upsert({
    id: user.id,
    name: 'John Doe',
    updated_at: new Date().toISOString(),
  })
  .select();

Advanced Queries

// Joins
const { data } = await supabase
  .from('posts')
  .select(`
    *,
    author:profiles(name, avatar),
    comments(count)
  `)
  .eq('published', true);

// Full-text search
const { data } = await supabase
  .from('posts')
  .select('*')
  .textSearch('title', `'nextjs' & 'supabase'`);

// Range queries
const { data } = await supabase
  .from('posts')
  .select('*')
  .gte('created_at', '2024-01-01')
  .lt('created_at', '2024-12-31');

// JSON queries
const { data } = await supabase
  .from('posts')
  .select('*')
  .contains('metadata', { tags: ['tutorial'] });

Database Functions

// Call stored procedure
const { data, error } = await supabase
  .rpc('get_user_stats', {
    user_id: userId,
  });

// Call with filters
const { data } = await supabase
  .rpc('search_posts', { search_term: 'supabase' })
  .limit(10);

Authentication

Sign Up / Sign In

// Email/password signup
const { data, error } = await supabase.auth.signUp({
  email: '[email protected]',
  password: 'secure-password',
  options: {
    data: {
Полный SKILL.md на GitHub

Установить backend-database-specialist в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл backend-database-specialist?

Provide expert guidance on backend and database services. Advises on database design, APIs, authentication, and deployment.

Как установить скилл backend-database-specialist?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл backend-database-specialist запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить backend-database-specialist с