supabase-flutter-idioms
Skill by supabase
Teaches an AI assistant the current supabase_flutter v3 API for writing and reviewing Dart code that talks to Supabase. It covers queries, auth, realtime, errors and logging. It is for Flutter developers who use Supabase.
Install supabase-flutter-idioms
Built from the published package, never by AI.
git clone --depth 1 https://github.com/supabase/supabase-flutter /tmp/supabase-flutter && mkdir -p ~/.claude/skills && cp -r /tmp/supabase-flutter/packages/supabase_flutter/skills/supabase-flutter-idioms ~/.claude/skills/supabase-flutter-idiomsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install supabase-flutter-idioms in Claude Code
git clone --depth 1 https://github.com/supabase/supabase-flutter /tmp/supabase-flutter && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/supabase-flutter/packages/supabase_flutter/skills/supabase-flutter-idioms ~/.gemini/antigravity-cli/skills/supabase-flutter-idiomsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install supabase-flutter-idioms in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill gives an assistant the supabase_flutter v3 patterns for Dart code that talks to Supabase. It covers client setup with publishableKey, typed table queries and writes built from the generated schema, typed rpc calls, and auth sign-in and auth state listeners. It also covers realtime streams and channels, error handling with the SupabaseException hierarchy, logging through package:logging, and tests with supabase_test.
The skill tells the assistant to generate the schema file with the Supabase CLI (3.0.0 or newer) and never edit it by hand. It warns against v2 patterns such as from() with maps, anonKey and realtime callbacks. For upgrading an existing v2 project, it points to the separate supabase-flutter-migrate-v3 skill. It is aimed at Flutter and Dart developers who write or review Supabase code.
Written from the project's SKILL.md and checked against it.
What it can do
- Client setupInitializes Supabase with publishableKey and persists the session.
- Typed queriesReads rows with table(), typed filters, ordering and selectOnly.
- WritesInserts, upserts, updates and deletes rows with generated row and insert types.
- Typed rpcCalls database functions through typed methods on rpc.
- AuthCovers sign-in, sign-up and the sealed AuthState listener.
- Realtime streamsKeeps row lists current with stream() and reacts to changes with onTableChanges.
- Broadcast and statusSends and receives broadcast messages and listens to channel status.
- Error handlingCatches SupabaseException subtypes such as API and transport errors.
- LoggingShows how to capture SDK logs from the supabase logger.
- Schema generation rulesExplains regenerating the Dart schema file with the Supabase CLI after database changes.
What you need
- Flutter or Dart project using supabase_flutter v3
- Supabase CLI 3.0.0 or newer to generate the schema
- Supabase project URL and publishable key
Try asking
- Write a Dart function that loads the 20 newest books with supabase_flutter v3.
- Review this Flutter file for v2 Supabase patterns like anonKey or from() with maps.
- Add a realtime stream of books for one author to my Flutter widget.
Good to know
- Targets supabase_flutter v3 only. Upgrading v2 projects needs the separate migrate skill.
- Rebuilding the local stack with supabase db reset drops local data, so the assistant must ask first.
- Realtime changes only arrive if the table is in the supabase_realtime publication.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/supabase_flutter/skills/supabase-flutter-idioms/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to supabase-flutter-idioms
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
supabase-flutter-idioms: common questions
Does this skill work with supabase_flutter v2 code?
The skill targets the v3 API and warns against v2 patterns. For upgrading an existing v2 project, the source points to the supabase-flutter-migrate-v3 skill.
Should the generated Supabase schema file be edited by hand?
No. The source says to generate it with the Supabase CLI (3.0.0 or newer) and regenerate it after every database schema change.
Why do realtime changes not arrive in my Flutter app?
The source says the table must be added to the supabase_realtime publication in the database, or no changes arrive.
How do I install supabase-flutter-idioms?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is supabase-flutter-idioms free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is supabase-flutter-idioms safe to use?
It scores 77 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to supabase-flutter-idioms?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
