get-api-docs
Use this skill to get documentation for third-party APIs, SDKs or libraries before writing code that uses them to ensure you have…
Use when working with Flutter Riverpod state management. Covers providers, consumers, refs, containers, overrides, async state, code generation, testing, and safe defaults.
Claude Code
$ npx -y skills add andrewyng/context-hub --skill riverpod --agent claude-code
Codex
$ npx skills add andrewyng/context-hub --skill riverpod -a codex -y
Cursor
$ npx skills add andrewyng/context-hub --skill riverpod -a cursor -y
Gemini CLI
$ npx skills add andrewyng/context-hub --skill riverpod -a gemini-cli -y
GitHub Copilot
$ npx skills add andrewyng/context-hub --skill riverpod -a github-copilot -y
OpenCode
$ npx skills add andrewyng/context-hub --skill riverpod -a opencode -y
Windsurf
$ npx skills add andrewyng/context-hub --skill riverpod -a windsurf -y
name: riverpod description: "Use when working with Flutter Riverpod state management. Covers providers, consumers, refs, containers, overrides, async state, code generation, testing, and safe defaults." metadata: revision: 1 updated-on: "2026-04-04" source: official tags: "flutter,dart,riverpod,flutter_riverpod,providers,async,testing,codegen"
Use this skill when building Flutter state management with `riverpod` and `flutter_riverpod`.
Choose Riverpod when:
Choose a different pattern when:
For Dart-only code:
For Flutter UI code:
If code generation is used:
Prefer this structure:
Keep providers small and composable. Keep state immutable unless the provider type is specifically meant for mutation. Keep feature logic in providers or notifiers, not in widgets.
Use `ConsumerWidget` when the whole widget depends on providers. Use `Consumer` when only a small subtree needs access to `ref`. Use `ConsumerStatefulWidget` when you need widget lifecycle plus `ref`. Use `select` to reduce rebuilds. Use `ProviderListener` or `ref.listen` for side effects.
When writing code or advising on design:
Coding agents hallucinate APIs and forget what they learn in a session. Context Hub gives them curated, versioned docs, plus the ability to get smarter with every task.
Use this skill to get documentation for third-party APIs, SDKs or libraries before writing code that uses them to ensure you have…
Use when working with Flutter Bloc/Cubit state management. Covers when to choose Bloc vs Cubit, how to use bloc and flutter_bloc…
Use this skill for intelligent document processing and content extraction using LandingAI's Agentic Document Extraction (ADE).…
Use this skill for building end-to-end document processing workflows and pipelines using LandingAI ADE. Trigger when users need…
Add Olakai monitoring to existing AI code — wrap your LLM client, configure custom KPIs, and validate the integration end-to-end
Build a new AI agent with Olakai monitoring from scratch — project setup, SDK integration, KPI configuration, and end-to-end…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.