rtk-ai/rtk

Add RTK wrapper / filter for supabase db CLI

Open

#1,995 opened on May 20, 2026

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (2,914 forks)batch import
area:clienhancementhelp wantedpriority:medium

Repository metrics

Stars
 (48,085 stars)
PR merge metrics
 (Avg merge 11d 1h) (45 merged PRs in 30d)

Description

Context

Using RTK 0.39.0 with Claude Code on macOS. rtk discover over the last 30 days flags supabase db as a sustained unhandled command in Next.js + Supabase projects:

Command Count (30d) Example
supabase db 126 supabase db push / pull / lint / diff

Why it matters

  • supabase db push / pull: each emits long migration-summary tables (table list + colored diff hints) that share repeated columns. Easy compression target (keep migration names + counts, strip ANSI / progress).
  • supabase db diff: SQL diff output is verbose; a --name-only-style summary or grouping by table would help in agent contexts.
  • supabase db lint: results are usually a small set of advisor warnings repeated many times — dedup + count would be a big win.

Suggested approach

Add a supabase filter similar to existing npm / npx / vercel (proposed in #1255) filters:

  • strip ANSI / spinner
  • dedup + summarize advisor rows
  • compress migration/diff tables (table name + counts; drop padding)

No supabase-related issue exists in the repo as of 2026-05-20 (searched supabase, supabase db, and Add RTK wrapper). Filing this so the data is on record.

Environment

  • rtk 0.39.0
  • macOS (Darwin 25.4.0)
  • Claude Code PreToolUse hook

Contributor guide