xiaohongshu
xiaohongshu
flutter-query-lint
Lint Flutter Supabase queries against database schema; use when validating mobile app queries, debugging query failures, or before pushing mobile changes
Full skill instructions
Validates Supabase queries in Flutter API files against the database schema (database.types.ts). Reports mismatches in table names, column names, relationships, and RPC function calls.
DO use this skill when:
DO NOT use this skill when:
# From project root
npx ts-node .claude/skills/flutter-query-lint/scripts/lint-queries.ts
The linter produces a markdown report with:
.from('table_name')
// Simple
.select('col1, col2, col3')
// With relationships
.select('*, relation_name(col1, col2)')
// Aliased relationships
.select('alias:table_name!foreign_key(col1, col2)')
// Multiline
.select('''
col1,
col2,
relation(nested_col)
''')
.eq('column', value)
.inFilter('column', ['values'])
.gte('column', value)
.lte('column', value)
.neq('column', value)
.rpc('function_name')
.rpc('function_name', params: {...})
.order('column', ascending: true)
Checks that the table name in .from('table') exists in database.types.ts.
For each column in .select(), .eq(), .order(), etc., validates it exists on the target table.
Note: The linter handles:
* wildcard (skipped)relation(col1, col2)alias:table!fk(col1)For relationship queries like:
.select('productions(id, name)')
Validates that productions is either:
Checks .rpc('function_name') against Functions in database.types.ts.
Error: Column 'name' does not exist on table 'events'
Suggestion: Did you mean 'title'?
Fix: Update the query to use the correct column name.
Error: Table 'event_participations' does not exist
Suggestion: Did you mean 'event_participants'?
Fix: Use the correct table name.
Warning: Relationship 'venue' on 'events' cannot be validated
Note: May be valid if using implicit FK. Check manually.
Error: RPC function 'get_user_events' does not exist
Fix: Either create the function or remove the call.
# Run lint before committing API changes
npx ts-node .claude/skills/flutter-query-lint/scripts/lint-queries.ts
When you modify the database schema:
pnpm supabase:web:typegenThe linter scans:
apps/mobile/lib/modules/*/api/*.dart
apps/mobile/lib/core/data/api/*.dart
Validation uses:
apps/web/supabase/database.types.ts
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience