Green Gate
VeryGoodOpenSource/vgv-ai-flutter-plugin
Drives a Dart or Flutter package fully green through a verify-fix-rerun loop across four gates: analyze, format, test, coverage.
Fix test failures when adding retry/fallback logic causes mock call count mismatches.
$ npx skills add divinevideo/divine-mobile --skill mock-call-count-retry-fallback -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install divinevideo/divine-mobile mock-call-count-retry-fallback --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/divinevideo/divine-mobile.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/mock-call-count-retry-fallback .claude/skills/mock-call-count-retry-fallback && 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 "mock-call-count-retry-fallback" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/mock-call-count-retry-fallback into .claude/skills/mock-call-count-retry-fallback/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mock-call-count-retry-fallback", 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/divinevideo/divine-mobile/tree/main/.agents/skills/mock-call-count-retry-fallbackType 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 divinevideo/divine-mobile --skill mock-call-count-retry-fallback -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install divinevideo/divine-mobile mock-call-count-retry-fallback --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/mock-call-count-retry-fallback .agents/skills/mock-call-count-retry-fallback && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "mock-call-count-retry-fallback" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/mock-call-count-retry-fallback into .agents/skills/mock-call-count-retry-fallback/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mock-call-count-retry-fallback", 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 divinevideo/divine-mobile --skill mock-call-count-retry-fallback -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install divinevideo/divine-mobile mock-call-count-retry-fallback --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/mock-call-count-retry-fallback .cursor/skills/mock-call-count-retry-fallback && 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 "mock-call-count-retry-fallback" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/mock-call-count-retry-fallback into .cursor/skills/mock-call-count-retry-fallback/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mock-call-count-retry-fallback", 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/divinevideo/divine-mobile.git --path .agents/skills/mock-call-count-retry-fallback--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 divinevideo/divine-mobile --skill mock-call-count-retry-fallback -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install divinevideo/divine-mobile mock-call-count-retry-fallback --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/mock-call-count-retry-fallback .gemini/skills/mock-call-count-retry-fallback && 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 "mock-call-count-retry-fallback" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/mock-call-count-retry-fallback into .gemini/skills/mock-call-count-retry-fallback/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mock-call-count-retry-fallback", 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 divinevideo/divine-mobile mock-call-count-retry-fallbackInstalls 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 divinevideo/divine-mobile --skill mock-call-count-retry-fallback -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/mock-call-count-retry-fallback .github/skills/mock-call-count-retry-fallback && 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 "mock-call-count-retry-fallback" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/mock-call-count-retry-fallback into .github/skills/mock-call-count-retry-fallback/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mock-call-count-retry-fallback", 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 divinevideo/divine-mobile --skill mock-call-count-retry-fallback -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install divinevideo/divine-mobile mock-call-count-retry-fallback --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/mock-call-count-retry-fallback .opencode/skills/mock-call-count-retry-fallback && 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 "mock-call-count-retry-fallback" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/mock-call-count-retry-fallback into .opencode/skills/mock-call-count-retry-fallback/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mock-call-count-retry-fallback", 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.
mock-call-count-retry-fallbackFix test failures when adding retry/fallback logic causes mock call count mismatches.
Mock Call Count Retry Fallback is an agent skill from divinevideo/divine-mobile. Fix test failures when adding retry/fallback logic causes mock call count mismatches. Use when: (1) Test fails with "Expected: <1, Actual: <2" or similar call count errors after adding retry or fallback mechanisms, (2) MissingStubError appears for methods in new fallback code paths, (3) Mockito verify().called(N) assertions fail after behavior changes. Applies to Dart/Flutter with Mockito, but pattern is universal.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Mobile, covering Cross-platform mobile apps and Failing and flaky tests. It works with Flutter and Dart. The licence is MPL-2.0.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6487b05. 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.
Links to these hosts (documentation or services it may open):
pub.devdocs.flutter.devFrom 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.
Mock Call Count Retry Fallback loads about 1.2k tokens when it runs. Until then it costs about 113 tokens; SKILL.md has 362 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 divinevideo/divine-mobile at commit 6487b05, republished under its MPL-2.0 licence (© divinevideo). 362 words, ~1,217 tokens.
.claude/skills/mock-call-count-retry-fallback/SKILL.md (or your agent's skills folder).When you add retry logic, fallback mechanisms, or alternative code paths to a service, existing tests that verify exact mock method call counts will fail. The tests were written for the original behavior and don't account for the new retry/fallback calls.
Expected: <N>, Actual: <M> where M > NMissingStubError: 'methodName' No stub was found which matches the argumentsverify(...).called(N) assertionsTrace through your new retry/fallback logic to understand:
If your fallback code calls methods that weren't previously mocked:
// BEFORE: Only mocked the primary method
when(mockService.primaryMethod(any)).thenAnswer((_) async => 'result');
// AFTER: Also mock fallback-related methods
when(mockService.primaryMethod(any)).thenAnswer((_) async => 'result');
when(mockService.addFallbackServer(any)).thenAnswer((_) async => false); // Graceful failure
when(mockService.queryFallback(any)).thenAnswer((_) async => []);// BEFORE: Expected single call
verify(mockService.createSubscription(...)).called(1);
// AFTER: Expected calls = initial + retries
// Document WHY the count changed
verify(mockService.createSubscription(...)).called(2); // initial + retry after fallback// Verify subscription was created
// Note: With the indexer fallback logic, createSubscription is called twice:
// 1. First attempt via main relay batch fetch
// 2. Retry attempt after indexer fallback fails
verify(
mockService.createSubscription(...),
).called(2);flutter test --name "test name"Scenario: Added indexer relay fallback to profile fetching
Original behavior:
New behavior:
Test fix:
test('should force refresh profile with forceRefresh parameter', () async {
// Setup mock subscription manager
when(
mockSubscriptionManager.createSubscription(...),
).thenAnswer((_) async => 'sub_123');
// Mock addRelay to return false (indexer relays not available)
// This prevents MissingStubError and simulates unavailable indexers
when(mockNostrService.addRelay(any)).thenAnswer((_) async => false);
// ... test setup ...
await service.fetchProfile(pubkey, forceRefresh: true);
// Expect 2 calls: initial attempt + retry after indexer fallback
verify(
mockSubscriptionManager.createSubscription(...),
).called(2);
});© divinevideo, MPL-2.0. 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 .agents/skills/mock-call-count-retry-fallback of divinevideo/divine-mobile.
Open the folder on GitHubat commit 6487b05
Mock Call Count Retry Fallback 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 |
|---|---|---|---|---|---|---|
| Mock Call Count Retry Fallback this skilldivinevideo/divine-mobile | 266 | — | ~1.2k | Automated safety check: Pass | MPL-2.0 | |
| Green GateVeryGoodOpenSource/vgv-ai-flutter-plugin | 170 | — | ~4.7k | Automated safety check: Notes | MIT | |
| Analyze GitHub Flakeflutter/flutter | 179k | — | ~1.1k | Automated safety check: Pass | BSD-3-Clause | |
| Flutter TestingMADTeacher/mad-agents-skills | 110 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Testingevanca/flutter-ai-rules | 650 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Test Guidelinesgetsentry/sentry-dart | 873 | — | ~3.1k | Automated safety check: Pass | MIT |
VeryGoodOpenSource/vgv-ai-flutter-plugin
Drives a Dart or Flutter package fully green through a verify-fix-rerun loop across four gates: analyze, format, test, coverage.
flutter/flutter
Expertise in analyzing flake github issues in the flutter/flutter repository.
MADTeacher/mad-agents-skills
Write, fix, review, debug, and validate Flutter tests for apps, packages, and plugins.
evanca/flutter-ai-rules
A skill your agent uses when writing or reviewing Flutter/Dart tests (unit, widget, golden), fixing flaky tests, adding coverage, or choosing between unit and widget tests.
getsentry/sentry-dart
Enforce Sentry Dart/Flutter SDK test conventions for naming, structure, and fixtures.
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…
divinevideo/divine-mobile
Fix ArgoCD ExternalSecret deployment failing with "namespace X is not permitted in project Y".
divinevideo/divine-mobile
Art direction for any content — reads text, PDF, Word, HTML, PPT, then proposes 2-3 creative directions with photography style, mood, and visual language.
divinevideo/divine-mobile
Fix "Null check operator used on a null value" errors when an object is set to null during an async await.
divinevideo/divine-mobile
Add custom metadata headers (x-amz-meta-) to AWS v4 signed requests for GCS S3-compatible API.
divinevideo/divine-mobile
Fix password/secret authentication failures caused by trailing newlines when creating Google Cloud secrets (or similar) with bash here-strings.
divinevideo/divine-mobile
Fix silent video/media processing failures caused by URL extraction code that filters on file extensions (.mp4, .webm, .webp).
Categories
Fix test failures when adding retry/fallback logic causes mock call count mismatches. Mock Call Count Retry Fallback is an agent skill from divinevideo/divine-mobile. Fix test failures when adding retry/fallback logic causes mock call count mismatches.
Mock Call Count Retry Fallback fits situations like: test fails with Expected: <1; similar call count errors after adding retry; fallback mechanisms; missingStubError appears for methods in new fallback code paths.
Run `npx skills add divinevideo/divine-mobile --skill mock-call-count-retry-fallback -a claude-code`. Or copy the skill folder (.agents/skills/mock-call-count-retry-fallback in divinevideo/divine-mobile) into .claude/skills/mock-call-count-retry-fallback in your project. Claude Code loads it when a task matches its description.
Run `npx skills add divinevideo/divine-mobile --skill mock-call-count-retry-fallback -a codex`. Or copy the skill folder (.agents/skills/mock-call-count-retry-fallback in divinevideo/divine-mobile) into .agents/skills/mock-call-count-retry-fallback 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 divinevideo/divine-mobile --skill mock-call-count-retry-fallback -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mock-call-count-retry-fallback, .gemini/skills/mock-call-count-retry-fallback, .github/skills/mock-call-count-retry-fallback and .opencode/skills/mock-call-count-retry-fallback in your project.
Going by SKILL.md and its folder, Mock Call Count Retry Fallback needs the command-line tools its instructions call (flutter). Our summary lists: Python 3.
SKILL.md names 2 domains. As links in the text: pub.dev and docs.flutter.dev. 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.
Mock Call Count Retry Fallback is published under the MPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.9k 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 Mock Call Count Retry Fallback: Green Gate (VeryGoodOpenSource/vgv-ai-flutter-plugin, 170 stars), Analyze GitHub Flake (flutter/flutter, 179k stars), Flutter Testing (MADTeacher/mad-agents-skills, 110 stars) and Testing (evanca/flutter-ai-rules, 650 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
divinevideo (a GitHub organization) maintains it in divinevideo/divine-mobile, which has 266 GitHub stars. The repository holds 103 skills in this directory. The repository was last updated on October 9, 2026.
Source: divinevideo/divine-mobile on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.