riverpod-codegen-and-hooks

Official

Simplify Riverpod with code gen & hooks.

Authorserverpod
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the development of Riverpod applications by leveraging code generation for providers and integrating seamlessly with Flutter Hooks for local widget state management.

Core Features & Use Cases

  • Riverpod Code Generation: Define providers using concise annotations (@riverpod) for automatic generation, inferring provider types and enabling auto-disposal.
  • Flutter Hooks Integration: Manage local widget state (e.g., controllers, animations) using hooks within Riverpod-aware widgets (HookConsumerWidget or HookConsumer).
  • Use Case: When building a complex UI with Riverpod, use code generation to reduce boilerplate for providers and flutter_hooks to manage local UI state like text field controllers or animation states within a single HookConsumerWidget.

Quick Start

Use the riverpod-codegen-and-hooks skill to define a functional provider named 'example' that returns a string.

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: riverpod-codegen-and-hooks
Download link: https://github.com/serverpod/skills-registry/archive/main.zip#riverpod-codegen-and-hooks

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 471,000+ vetted skills library on demand.