Flutter Riverpod State Management
andrewyng/context-hub
Guides Flutter state management with Riverpod: choosing provider types, wiring ConsumerWidgets, handling async state and lifecycle, and overriding providers in tests.
Project wiring for the Flutter v6 UI Kit — navigation (Navigator / gorouter / autoroute), state management (bloc / riverpod / provider / getx), config & secrets, platform setup, and web/desktop…
$ npx skills add cometchat/cometchat-skills --skill cometchat-flutter-v6-patterns -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install cometchat/cometchat-skills cometchat-flutter-v6-patterns --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/cometchat/cometchat-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cometchat-flutter-v6-patterns .claude/skills/cometchat-flutter-v6-patterns && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cometchat-flutter-v6-patterns" agent skill from https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-flutter-v6-patterns into .claude/skills/cometchat-flutter-v6-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cometchat-flutter-v6-patterns", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-flutter-v6-patternsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add cometchat/cometchat-skills --skill cometchat-flutter-v6-patterns -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install cometchat/cometchat-skills cometchat-flutter-v6-patterns --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cometchat/cometchat-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/cometchat-flutter-v6-patterns .agents/skills/cometchat-flutter-v6-patterns && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cometchat-flutter-v6-patterns" agent skill from https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-flutter-v6-patterns into .agents/skills/cometchat-flutter-v6-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cometchat-flutter-v6-patterns", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add cometchat/cometchat-skills --skill cometchat-flutter-v6-patterns -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install cometchat/cometchat-skills cometchat-flutter-v6-patterns --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cometchat/cometchat-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/cometchat-flutter-v6-patterns .cursor/skills/cometchat-flutter-v6-patterns && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cometchat-flutter-v6-patterns" agent skill from https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-flutter-v6-patterns into .cursor/skills/cometchat-flutter-v6-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cometchat-flutter-v6-patterns", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/cometchat/cometchat-skills.git --path skills/cometchat-flutter-v6-patterns--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add cometchat/cometchat-skills --skill cometchat-flutter-v6-patterns -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install cometchat/cometchat-skills cometchat-flutter-v6-patterns --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cometchat/cometchat-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/cometchat-flutter-v6-patterns .gemini/skills/cometchat-flutter-v6-patterns && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cometchat-flutter-v6-patterns" agent skill from https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-flutter-v6-patterns into .gemini/skills/cometchat-flutter-v6-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cometchat-flutter-v6-patterns", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install cometchat/cometchat-skills cometchat-flutter-v6-patternsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add cometchat/cometchat-skills --skill cometchat-flutter-v6-patterns -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/cometchat/cometchat-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/cometchat-flutter-v6-patterns .github/skills/cometchat-flutter-v6-patterns && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cometchat-flutter-v6-patterns" agent skill from https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-flutter-v6-patterns into .github/skills/cometchat-flutter-v6-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cometchat-flutter-v6-patterns", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add cometchat/cometchat-skills --skill cometchat-flutter-v6-patterns -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install cometchat/cometchat-skills cometchat-flutter-v6-patterns --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cometchat/cometchat-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/cometchat-flutter-v6-patterns .opencode/skills/cometchat-flutter-v6-patterns && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cometchat-flutter-v6-patterns" agent skill from https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-flutter-v6-patterns into .opencode/skills/cometchat-flutter-v6-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cometchat-flutter-v6-patterns", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cometchat-flutter-v6-patternsProject wiring for the Flutter v6 UI Kit — navigation (Navigator / gorouter / autoroute), state management (bloc / riverpod / provider / getx), config & secrets, platform setup, and web/desktop…
Cometchat Flutter V6 Patterns is an agent skill from cometchat/cometchat-skills. Project wiring for the Flutter v6 UI Kit — navigation (Navigator / gorouter / autoroute), state management (bloc / riverpod / provider / getx), config & secrets, platform setup, and web/desktop caveats. Triggers: 'cometchat with gorouter', 'cometchat with riverpod', 'where do I put init in flutter', 'dart-define cometchat', 'cometchat flutter web'.
Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Flutter =3.38.9; cometchatchatuikit ^6 (6.1.x, verified 6.1.0)
It sits in Mobile, covering Cross-platform mobile apps and State management. It works with CometChat and Flutter. The repository describes itself as: Add CometChat chat & messaging and voice & video calls to any React, Next.js, React Native, Angular, Android, iOS, or Flutter project through your AI coding agent. Works with… The licence is MIT.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 911b108. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
flutterFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Flutter >=3.38.9; cometchat_chat_uikit ^6 (6.1.x, verified 6.1.0)
From compatibility in the SKILL.md frontmatter.
Cometchat Flutter V6 Patterns loads about 1.4k tokens when it runs. Until then it costs about 96 tokens; SKILL.md has 685 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from cometchat/cometchat-skills at commit 911b108, republished under its MIT licence (© cometchat). 685 words, ~1,429 tokens.
.claude/skills/cometchat-flutter-v6-patterns/SKILL.md (or your agent's skills folder).Ground truth: the CometChat side is
cometchat-flutter-v6-core; this skill only adds the DELTA for a given toolchain. Framework mechanics (go_router, riverpod,--dart-define) are baked Flutter knowledge, not kit API. Kit symbols come from the catalog.
cometchat-flutter-v6-core — install, credentials, the settings asset, init→login→render. This skill ASSUMES it.cometchat-flutter-v6-placement — WHERE the surface goes; this skill is HOW it hooks into your app's plumbing.Wiring the kit into a specific project shape, or debugging "where does init go" / "the theme resets on navigation" / "my secrets are in git".
Covered by core. No new package.
The kit uses plain Navigator.push/pop internally and in every recipe, which works under all of these — you do not have to convert its recipes.
Navigator — nothing to do. Core's recipes are already this.go_router — register chat screens as routes and push with context.push('/chat/:uid'). The kit's own internal pops still work because go_router sits on the same Navigator. Put the init/login gate above the router (wrap MaterialApp.router's builder, or gate in redirect) so no chat route can build before login resolves.auto_route — same principle: an AutoRouteGuard that waits for login is the idiomatic gate.navigatorKey: CallNavigationContext.navigatorKey on MaterialApp (→ -calls). With go_router, pass the same key into the router config rather than creating a second one.The kit is self-contained — every widget drives its own BLoC internally. You do not wire the kit into your app's state layer, and you do not need flutter_bloc yourself.
FutureProvider that performs initFromSettings + login and which chat screens .when(...) on, is the cleanest gate.CometChatUIKit.loggedInUser is the sync getter. For list state, use the widget's stateCallBack / onLoad, not a global store.initFromSettings reads a bundled asset, so it cannot read --dart-define. Two honest options; state the trade-off and let the user choose:
initFromSettings and generate cometchat-settings.json at build time from your existing secret source (CI writes the file). Keeps integrationSource="ai-agent" telemetry.UIKitSettingsBuilder + CometChatUIKit.init(...) with --dart-define values. Works, but loses telemetry attribution.Either way the Auth Key ends up in the app bundle and is dev-only — production means a server-minted auth token +
loginWithAuthToken(core'slifecycle.md). Do NOT gitignore the registeredcometchat-settings.jsonasset (a fresh clone / CI build then fails with "No file or variants found for asset") — commit a placeholder version (no real Auth Key) that dev/CI overwrite, and guard the real key with a pre-commit/CI check.
minSdk = 26 in android/app/build.gradle.kts (the docs' 24 is too low); INTERNET permission; calling adds camera/mic.platform :ios, '15.1' in the Podfile, then pod install; photo/camera/mic usage strings for attachments and calls. Both floors come from cometchat_calls_sdk, which the kit depends on unconditionally — they apply whether or not you use calling (DOCS-BACKLOG D7).flutter run -d chrome with the same settings asset.lifecycle.md).initFromSettings to read --dart-define — it reads an asset. See above.flutter_bloc to "connect" the kit — unnecessary; the kit owns its blocs.CallNavigationContext must share one.cometchat-settings.json committed — the Auth Key is in your repo.WidgetsFlutterBinding.ensureInitialized() before an asset-reading init.The app builds on each target platform you claim; chat routes are unreachable until login resolves; navigating away and back does not re-init; secrets are not in git; with calling on, an incoming call presents from any route.
© cometchat, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/cometchat-flutter-v6-patterns of cometchat/cometchat-skills.
Open the folder on GitHubat commit 911b108
Cometchat Flutter V6 Patterns next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cometchat Flutter V6 Patterns this skillcometchat/cometchat-skills | 129 | — | ~1.4k | Automated safety check: Pass | MIT | |
| Flutter Riverpod State Managementandrewyng/context-hub | 14k | — | ~1.1k | Automated safety check: Pass | MIT | |
| BlocVeryGoodOpenSource/vgv-ai-flutter-plugin | 169 | — | ~2k | Automated safety check: Pass | MIT | |
| Flutter Dart Code Reviewaffaan-m/ECC | 274k | 2 repos | ~5.8k | Automated safety check: Notes | MIT | |
| Signals for Flutterrodydavis/signals.dart | 819 | — | ~1.9k | Automated safety check: Pass | Apache-2.0 | |
| Flutteralinaqi/maggy | 707 | — | ~3.5k | Automated safety check: Pass | MIT |
andrewyng/context-hub
Guides Flutter state management with Riverpod: choosing provider types, wiring ConsumerWidgets, handling async state and lifecycle, and overriding providers in tests.
VeryGoodOpenSource/vgv-ai-flutter-plugin
Best practices for Bloc state management in Flutter/Dart, covering Cubit versus Bloc, event and state naming, sealed classes with Equatable, the Page/View split with BlocProvider, BlocBuilder…
affaan-m/ECC
Library-agnostic Flutter/Dart code review checklist covering widget best practices, state management patterns (BLoC, Riverpod, Provider, GetX, MobX, Signals), Dart idioms, performance…
rodydavis/signals.dart
Reference for the signals_flutter package: reactive signals, computed values, effects, async signals and collection signals bound to Flutter widgets.
alinaqi/maggy
Flutter development with Riverpod state management, Freezed, gorouter, and mocktail testing
rohitg00/awesome-claude-code-toolkit
Mobile development patterns for React Native and Flutter including navigation, state management, and responsive design
cometchat/cometchat-skills
Adds voice and video calling to an Android app in Kotlin with the headless CometChat Calls SDK v5, covering meeting-style rooms, 1:1 ringing calls, call logs and recording.
cometchat/cometchat-skills
Builds chat on Android with your own UI against the headless CometChat Chat SDK v5, covering install, Jetifier conflicts, credentials and init-before-login ordering.
cometchat/cometchat-skills
Picks and customizes CometChat's Angular UI Kit components by their verified component list, exact input and output event names, and the surfaces that have no kit component at all.
cometchat/cometchat-skills
Enables or builds CometChat features such as polls, reactions, smart replies and pinned messages in an Angular app, first classifying how much client code each one needs.
cometchat/cometchat-skills
Decides where CometChat chat UI goes in an Angular app: a dedicated route, a dashboard panel, a support widget or the full multi-pane app, with thread and search panels.
cometchat/cometchat-skills
Add voice & video calling to any iOS app FROM SCRATCH with the headless CometChat Calls SDK v5 (CometChatCallsSDK, via Swift Package Manager) — no UI Kit.
Categories
Project wiring for the Flutter v6 UI Kit — navigation (Navigator / gorouter / autoroute), state management (bloc / riverpod / provider / getx), config & secrets, platform setup, and web/desktop…. Cometchat Flutter V6 Patterns is an agent skill from cometchat/cometchat-skills. Project wiring for the Flutter v6 UI Kit — navigation (Navigator / gorouter / autoroute), state management (bloc / riverpod / provider / getx), config & secrets, platform setup, and web/desktop caveats.
Cometchat Flutter V6 Patterns fits situations like: tasks that involve Cross-platform mobile apps; tasks that involve State management.
Run `npx skills add cometchat/cometchat-skills --skill cometchat-flutter-v6-patterns -a claude-code`. Or copy the skill folder (skills/cometchat-flutter-v6-patterns in cometchat/cometchat-skills) into .claude/skills/cometchat-flutter-v6-patterns in your project. Claude Code loads it when a task matches its description.
Run `npx skills add cometchat/cometchat-skills --skill cometchat-flutter-v6-patterns -a codex`. Or copy the skill folder (skills/cometchat-flutter-v6-patterns in cometchat/cometchat-skills) into .agents/skills/cometchat-flutter-v6-patterns in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cometchat/cometchat-skills --skill cometchat-flutter-v6-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cometchat-flutter-v6-patterns, .gemini/skills/cometchat-flutter-v6-patterns, .github/skills/cometchat-flutter-v6-patterns and .opencode/skills/cometchat-flutter-v6-patterns in your project.
Going by SKILL.md and its folder, Cometchat Flutter V6 Patterns needs the command-line tools its instructions call (flutter). Compatibility (from SKILL.md): Flutter >=3.38.9; cometchat_chat_uikit ^6 (6.1.x, verified 6.1.0).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Cometchat Flutter V6 Patterns is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Cometchat Flutter V6 Patterns: Flutter Riverpod State Management (andrewyng/context-hub, 14k stars), Bloc (VeryGoodOpenSource/vgv-ai-flutter-plugin, 169 stars), Flutter Dart Code Review (affaan-m/ECC, 274k stars) and Signals for Flutter (rodydavis/signals.dart, 819 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
cometchat (a GitHub organization) maintains it in cometchat/cometchat-skills, which has 129 GitHub stars. The repository holds 97 skills in this directory. The repository was last updated on October 5, 2026.
Source: cometchat/cometchat-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.