riverpod-overrides
OfficialControl Riverpod providers in tests.
Authorserverpod
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill allows you to precisely control the behavior of Riverpod providers, which is essential for effective testing, debugging, and managing environment-specific configurations.
Core Features & Use Cases
- Provider Mocking: Easily replace providers with mock implementations during tests.
- Behavior Modification: Change provider outputs or logic for different scenarios (e.g., development vs. production).
- Scoped Behavior: Apply specific provider configurations to a subset of your application.
- Use Case: When testing a feature that relies on a
FutureProviderfetching user data, use this Skill to override the provider with a mockUserobject, ensuring predictable test results without making actual network requests.
Quick Start
Override the counterProvider with a value of 42 in your test setup.
Dependency Matrix
Required Modules
None requiredComponents
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-overrides Download link: https://github.com/serverpod/skills-registry/archive/main.zip#riverpod-overrides Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.