dangapp-supabase-hook

Community

Stabilize Supabase data access.

Authorkimjuyoung1127
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the issue of direct Supabase calls within routes and components, aiming to encapsulate data access logic into stable, reusable TanStack Query hooks.

Core Features & Use Cases

  • Encapsulation: Moves Supabase fetch and mutation logic out of UI components and into dedicated hooks.
  • State Management: Leverages TanStack Query for robust server-state management, including caching and invalidation.
  • Use Case: When a new feature requires fetching user profile data from Supabase, instead of writing fetch calls directly in the component, this Skill generates a useUserProfile hook that handles the data fetching, caching, and error states.

Quick Start

Create a new TanStack Query hook for fetching user data from the 'users' table in Supabase.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: dangapp-supabase-hook
Download link: https://github.com/kimjuyoung1127/dangapp/archive/main.zip#dangapp-supabase-hook

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.