HI

hiddenroom-supabase

Specialized Supabase assistant for database migrations, RLS security, and edge function deployment.

Install

mkdir -p .claude/skills/hiddenroom-supabase && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13360" && unzip -o skill.zip -d .claude/skills/hiddenroom-supabase && rm skill.zip

Installs to .claude/skills/hiddenroom-supabase

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Hidden Room Supabase backend skill for migrations, generated database types, Edge Functions, RLS policies, auth/profile sync, storage buckets, Stripe integration, cloud_jobs, and database documentation. Use when editing supabase/migrations, supabase/functions, database.types.ts, or Supabase-backed frontend queries.
316 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Inspect existing migrations before adding new ones.
  • Keep browser code using anon/publishable keys only.
  • Enforce RLS as the real authorization boundary.
  • Update or regenerate database.types.ts after schema changes.
  • Deploy Edge Functions only after local review and syntax checks.
  • Document required secrets in docs, not in source code.

How it works

This skill manages Supabase backend workflows by enforcing conventions for migrations, Edge Functions, RLS policies, and type generation, ensuring secure and consistent database operations.

Inputs & outputs

You give it
Changes to supabase/migrations, supabase/functions, database.types.ts, or Supabase-backed frontend queries
You get back
Updated Supabase backend components and documentation

When to use hiddenroom-supabase

  • Running database migrations
  • Deploying edge functions
  • Updating database types

About this skill

Hidden Room Supabase

Workflow

  1. Inspect existing migrations before adding a new timestamped migration.
  2. Keep browser code using anon/publishable keys only; use service role only in Edge Functions or the Debian agent.
  3. Keep RLS as the real authorization boundary.
  4. Update or regenerate supabase/database.types.ts and root database.types.ts after schema changes when possible.
  5. Deploy Edge Functions only after local review and syntax checks.
  6. Document required secrets in docs, not in source code.

Backend Layout

  • Migrations: supabase/migrations/*.sql.
  • Edge Functions: supabase/functions/*/index.ts.
  • Config: supabase/config.toml.
  • Schema/type snapshots: supabase/db-*.txt, supabase/database.types.ts, root database.types.ts.
  • Operational docs: docs/store-setup.md, docs/cloud-agent-installation.md.

Edge Function Conventions

  • Use Deno.serve.
  • Return JSON through a small json() helper with CORS headers.
  • Handle OPTIONS explicitly.
  • Validate method, auth token, body shape, quantities, paths, and IDs before database writes.
  • Use Supabase service role only after authenticating/authorizing the caller.

References

Read references/supabase-map.md when changing schema, RLS, storage, or functions.

When not to use it

  • When the task does not involve Supabase backend workflows.
  • When the task requires using service role keys directly in browser code.
  • When the task involves bypassing RLS for authorization.

Limitations

  • It requires using Deno.serve for Edge Functions.
  • It requires returning JSON through a small json() helper with CORS headers for Edge Functions.
  • It requires validating method, auth token, body shape, quantities, paths, and IDs before database writes in Edge Functions.

How it compares

This skill provides a structured workflow for Supabase development with specific conventions for security and consistency, unlike ad-hoc development which might lead to vulnerabilities or inconsistencies.

Compared to similar skills

hiddenroom-supabase side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
hiddenroom-supabase (this skill)01moNo flagsIntermediate
prisma-connection-pool-exhaustion16moReviewIntermediate
backend-patterns01moNo flagsAdvanced
backend-dev16moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry