HI
hiddenroom-supabase
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 f
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.zipInstalls 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)
About this skill
Hidden Room Supabase
Workflow
- Inspect existing migrations before adding a new timestamped migration.
- Keep browser code using anon/publishable keys only; use service role only in Edge Functions or the Debian agent.
- Keep RLS as the real authorization boundary.
- Update or regenerate
supabase/database.types.tsand rootdatabase.types.tsafter schema changes when possible. - Deploy Edge Functions only after local review and syntax checks.
- 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, rootdatabase.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
OPTIONSexplicitly. - 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.