rtk-ai/rtk

Add RTK wrapper / filter for supabase db CLI

Open

#1.995 geöffnet am 20. Mai 2026

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Rust (2.914 Forks)batch import
area:clienhancementhelp wantedpriority:medium

Repository-Metriken

Stars
 (48.085 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 11T 1h) (45 gemergte PRs in 30 T)

Beschreibung

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