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 misleading Flutter/Dart test failures where expected data is empty ([]) or default values instead of the mocked response, caused by stale Mockito generated mocks or missing stubs being silently…
$ npx skills add divinevideo/divine-mobile --skill mockito-stale-mock-silent-trycatch-failure -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install divinevideo/divine-mobile mockito-stale-mock-silent-trycatch-failure --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/mockito-stale-mock-silent-trycatch-failure .claude/skills/mockito-stale-mock-silent-trycatch-failure && 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 "mockito-stale-mock-silent-trycatch-failure" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/mockito-stale-mock-silent-trycatch-failure into .claude/skills/mockito-stale-mock-silent-trycatch-failure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mockito-stale-mock-silent-trycatch-failure", 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/mockito-stale-mock-silent-trycatch-failureType 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 mockito-stale-mock-silent-trycatch-failure -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install divinevideo/divine-mobile mockito-stale-mock-silent-trycatch-failure --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/mockito-stale-mock-silent-trycatch-failure .agents/skills/mockito-stale-mock-silent-trycatch-failure && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "mockito-stale-mock-silent-trycatch-failure" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/mockito-stale-mock-silent-trycatch-failure into .agents/skills/mockito-stale-mock-silent-trycatch-failure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mockito-stale-mock-silent-trycatch-failure", 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 mockito-stale-mock-silent-trycatch-failure -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install divinevideo/divine-mobile mockito-stale-mock-silent-trycatch-failure --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/mockito-stale-mock-silent-trycatch-failure .cursor/skills/mockito-stale-mock-silent-trycatch-failure && 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 "mockito-stale-mock-silent-trycatch-failure" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/mockito-stale-mock-silent-trycatch-failure into .cursor/skills/mockito-stale-mock-silent-trycatch-failure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mockito-stale-mock-silent-trycatch-failure", 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/mockito-stale-mock-silent-trycatch-failure--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 mockito-stale-mock-silent-trycatch-failure -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install divinevideo/divine-mobile mockito-stale-mock-silent-trycatch-failure --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/mockito-stale-mock-silent-trycatch-failure .gemini/skills/mockito-stale-mock-silent-trycatch-failure && 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 "mockito-stale-mock-silent-trycatch-failure" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/mockito-stale-mock-silent-trycatch-failure into .gemini/skills/mockito-stale-mock-silent-trycatch-failure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mockito-stale-mock-silent-trycatch-failure", 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 mockito-stale-mock-silent-trycatch-failureInstalls 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 mockito-stale-mock-silent-trycatch-failure -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/mockito-stale-mock-silent-trycatch-failure .github/skills/mockito-stale-mock-silent-trycatch-failure && 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 "mockito-stale-mock-silent-trycatch-failure" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/mockito-stale-mock-silent-trycatch-failure into .github/skills/mockito-stale-mock-silent-trycatch-failure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mockito-stale-mock-silent-trycatch-failure", 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 mockito-stale-mock-silent-trycatch-failure -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 mockito-stale-mock-silent-trycatch-failure --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/mockito-stale-mock-silent-trycatch-failure .opencode/skills/mockito-stale-mock-silent-trycatch-failure && 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 "mockito-stale-mock-silent-trycatch-failure" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/mockito-stale-mock-silent-trycatch-failure into .opencode/skills/mockito-stale-mock-silent-trycatch-failure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mockito-stale-mock-silent-trycatch-failure", 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.
mockito-stale-mock-silent-trycatch-failureFix misleading Flutter/Dart test failures where expected data is empty ([]) or default values instead of the mocked response, caused by stale Mockito generated mocks or missing stubs being silently…
Mockito Stale Mock Silent Trycatch Failure is an agent skill from divinevideo/divine-mobile. Fix misleading Flutter/Dart test failures where expected data is empty ([]) or default values instead of the mocked response, caused by stale Mockito generated mocks or missing stubs being silently swallowed by try/catch in provider/repository code. Use when: (1) Test expects non-empty data but gets [], (2) Mock stubs for a method are set up but the code under test returns fallback/empty results, (3) A PR added new methods to a service class and tests that previously passed now fail with misleading "expected X…
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.
It sits in Mobile, covering Failing and flaky tests, Cross-platform mobile apps and Root cause analysis. 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 c3d6f7e. 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:
dartflutterFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
pub.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.
Mockito Stale Mock Silent Trycatch Failure loads about 1.4k tokens when it runs. Until then it costs about 202 tokens; SKILL.md has 422 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 c3d6f7e, republished under its MPL-2.0 licence (© divinevideo). 422 words, ~1,401 tokens.
.claude/skills/mockito-stale-mock-silent-trycatch-failure/SKILL.md (or your agent's skills folder).When a PR adds new methods to a service class (e.g., AnalyticsApiService), and those
methods are called from existing code paths that are wrapped in try/catch blocks, tests
fail with misleading symptoms. The test assertion shows Expected: non-empty, Actual: []
or Expected: true, Actual: false — but the actual root cause is a MissingStubError
being silently caught.
MissingStubError in test output because production code catches it@GenerateMocks-annotated service class.g.dart / .mocks.dart)1. PR adds method `getBulkVideoViews()` to AnalyticsApiService
2. PR adds `_enrichVideosWithBulkStats()` to HomeFeedProvider.build()
3. _enrichVideosWithBulkStats calls getBulkVideoViews (new method)
4. Generated mock is stale — doesn't have getBulkVideoViews at all
5. Even if regenerated, test setUp doesn't stub getBulkVideoViews
6. Mock throws MissingStubError when unstubbed method is called
7. Provider's try/catch catches ALL exceptions (including MissingStubError)
8. Provider falls back to empty state → test sees [] instead of expected datadart run build_runner build --delete-conflicting-outputsThis updates all .g.dart and .mocks.dart files to include new methods.
Trace the code path from the test's entry point. Look for any method calls on mocked services that were added or modified by the PR. Pay special attention to methods called after the already-stubbed method (e.g., enrichment/post-processing steps).
// In test setUp():
// Existing stub (was already there)
when(mockService.getHomeFeed(
pubkey: anyNamed('pubkey'),
limit: anyNamed('limit'),
)).thenAnswer((_) async => HomeFeedResult(videos: mockVideos));
// NEW stubs needed for enrichment methods added by PR
when(mockService.getBulkVideoStats(
argThat(isA<List<String>>()), // non-nullable positional param
)).thenAnswer((_) async => <String, BulkVideoStatsEntry>{});
when(mockService.getBulkVideoViews(
argThat(isA<List<String>>()), // non-nullable positional param
maxVideos: anyNamed('maxVideos'),
maxConcurrent: anyNamed('maxConcurrent'),
)).thenAnswer((_) async => <String, int>{});Mockito's any returns null which fails for non-nullable params. Use:
argThat(isA<List<String>>()) for non-nullable positional paramsanyNamed('paramName') works for named params with default values
(but NOT for non-nullable named params without defaults)After fixing:
flutter test test/path/to/test.dartBefore (failing):
Expected: non-empty
Actual: []
test/providers/home_feed_loading_fix_test.dart 253:9Root cause: _enrichVideosWithBulkStats called getBulkVideoStats (unstubbed) →
MissingStubError → caught by provider try/catch → empty fallback state.
Fix: Added stubs in setUp() for getBulkVideoStats and getBulkVideoViews.
After (passing): All 11 tests pass, including the 2 that were failing.
@GenerateMocks-annotated classes.
The .mocks.dart files must match the current interface.getHomeFeed stub is
useless if the provider then calls enrichVideos which calls 2 more unstubbed methods.MissingStubError is caught by
production error handling. You'll never see it unless you add temporary print
statements inside the catch block or use @GenerateNiceMocks (which returns defaults
instead of throwing, potentially masking different bugs).any returns null at the type
level. For non-nullable positional params, use argThat(isA<Type>()) which returns a
properly typed matcher.© 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/mockito-stale-mock-silent-trycatch-failure of divinevideo/divine-mobile.
Open the folder on GitHubat commit c3d6f7e
Mockito Stale Mock Silent Trycatch Failure 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 |
|---|---|---|---|---|---|---|
| Mockito Stale Mock Silent Trycatch Failure this skilldivinevideo/divine-mobile | 266 | — | ~1.4k | 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 | 180k | — | ~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.
debugmcp/mcp-debugger
A skill your agent uses when investigating a bug, failing test, or unexpected runtime behavior and the mcp-debugger MCP server is available — drives real step-through debuggers (breakpoints, stack…
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 misleading Flutter/Dart test failures where expected data is empty ([]) or default values instead of the mocked response, caused by stale Mockito generated mocks or missing stubs being silently…. Mockito Stale Mock Silent Trycatch Failure is an agent skill from divinevideo/divine-mobile. Fix misleading Flutter/Dart test failures where expected data is empty ([]) or default values instead of the mocked response, caused by stale Mockito generated mocks or missing stubs being silently swallowed by try/catch in provider/repository code.
Mockito Stale Mock Silent Trycatch Failure fits situations like: test expects non-empty data but gets []; mock stubs for a method are set up but the code under test returns fallback/empty results; A PR added new methods to a service class and tests that previously passed now fail with misleading expected X; actual: empty assertions.
Run `npx skills add divinevideo/divine-mobile --skill mockito-stale-mock-silent-trycatch-failure -a claude-code`. Or copy the skill folder (.agents/skills/mockito-stale-mock-silent-trycatch-failure in divinevideo/divine-mobile) into .claude/skills/mockito-stale-mock-silent-trycatch-failure in your project. Claude Code loads it when a task matches its description.
Run `npx skills add divinevideo/divine-mobile --skill mockito-stale-mock-silent-trycatch-failure -a codex`. Or copy the skill folder (.agents/skills/mockito-stale-mock-silent-trycatch-failure in divinevideo/divine-mobile) into .agents/skills/mockito-stale-mock-silent-trycatch-failure 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 mockito-stale-mock-silent-trycatch-failure -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mockito-stale-mock-silent-trycatch-failure, .gemini/skills/mockito-stale-mock-silent-trycatch-failure, .github/skills/mockito-stale-mock-silent-trycatch-failure and .opencode/skills/mockito-stale-mock-silent-trycatch-failure in your project.
Going by SKILL.md and its folder, Mockito Stale Mock Silent Trycatch Failure needs the command-line tools its instructions call (dart and flutter).
SKILL.md names 1 domain. As links in the text: pub.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.
Mockito Stale Mock Silent Trycatch Failure 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.4k tokens (SKILL.md is roughly 5.6k 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 Mockito Stale Mock Silent Trycatch Failure: Green Gate (VeryGoodOpenSource/vgv-ai-flutter-plugin, 170 stars), Analyze GitHub Flake (flutter/flutter, 180k 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 10, 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.