beforemerge-supabase-review
Comprehensive code review rules for Supabase applications including RLS security, auth patterns, query performance, migration workflows, and type safety. Use this skill when reviewing, writing, or refactoring Supabase-backed code — especially before merging pull requests. Triggers on tasks involving code review, PR review, security audit, performance review, or quality checks for Supabase/PostgreSQL projects.
Works with
--- name: beforemerge-supabase-review description: Comprehensive code review rules for Supabase applications including RLS security, auth patterns, query performance, migration workflows, and type safety. Use this skill when reviewing, writing, or refactoring Supabase-backed code — especially before merging pull requests. Triggers on tasks involving code review, PR review, security audit, performance review, or quality checks for Supabase/PostgreSQL projects. license: MIT --- # BeforeMerge: Supabase Review Comprehensive code review knowledge base for Supabase applications. Contains rules across 4 categories — security, performance, architecture, and quality — prioritized by impact. ## When to Apply Reference these rules when: - Reviewing pull requests that touch Supabase queries, RLS policies, or migrations - Writing new database tables, policies, or server-side Supabase calls - Auditing existing code for RLS gaps, auth misuse, or query anti-patterns - Refactoring Supabase integration for performance or maintainability - Running pre-merge quality checks on Supabase-related changes ## Rule Categories by Priority | Priority | Category | Impact | Prefix | Focus | |----------|----------|--------|--------|-------| | 1 | Security | CRITICAL | `sec-` | RLS, auth, service role, migration safety | | 2 | Performance | HIGH | `perf-` | Query optimization, connection pooling, pagination | | 3 | Architecture | MEDIUM | `arch-` | Client selection, type generation, migration structure | | 4 | Quality | LOW-MEDIUM | `qual-` | Error handling, input validation, unchecked errors | ## How to Use Read individual rule files in `rules/` for detailed explanations and code examples. Each rule contains: - Brief explanation of why it matters - Incorrect code example with explanation - Correct code example with explanation - CWE/OWASP mapping where applicable - References to official documentation For the complete compiled guide: `AGENTS.md`
More Code Review skills
pr-to-video
heygen-com/hyperframes
Turn a GitHub pull request (a PR URL, owner/repo#N, or 'this PR' in a checked-out repo) into a code-change explainer video — changelog, feature reveal, fix, or refactor walkthrough built from the diff, commits, and files: the input is a code change, not a website. Not a product promo (/product-launch-video) or a no-PR topic explainer (/faceless-explainer). Unclear → /hyperframes.
receiving-code-review
obra/superpowers
Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation
public-relations
coreyhaines31/marketingskills
When the user wants help with public relations, earned media, press coverage, journalist outreach, or media strategy (not pull requests). Also use when the user mentions 'PR,' 'public relations,' 'press,' 'press release,' 'press coverage,' 'media outreach,' 'pitch a journalist,' 'get featured,' 'media list,' 'media kit,' 'press kit,' 'newsjacking,' 'news hijack,' 'HARO,' 'Qwoted,' 'Featured,' 'Help A Reporter,' 'reporter request,' 'tech press,' 'TechCrunch,' 'earned media,' 'thought leadership placement,' 'op-ed,' 'guest article,' 'press contacts,' 'podcast prep,' 'going on a podcast,' 'podcast guest,' 'prep me for this podcast,' or 'how do I get press.' Use this for earned media work — finding journalists, pitching stories, newsjacking, prepping podcast appearances, and responding to press requests. For startup/SaaS/AI directory submissions, see directory-submissions. For product launches, see launch. For social-media engagement, see social. For cold-email outreach to prospects, see cold-email.

