Code Solving
HoangTheQuyen/think-better
Structured coding workflow for non-trivial code work: debug, build features, refactor, optimize, migrate and review code through 7 steps with evidence-based quality gates.
Before removing code that looks redundant, wasteful, or "wrong" based on log observations or code review instinct, grep the test suite for tests whose names describe the exact behavior you're about…
$ npx skills add divinevideo/divine-mobile --skill tests-guard-intentional-workarounds -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install divinevideo/divine-mobile tests-guard-intentional-workarounds --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/tests-guard-intentional-workarounds .claude/skills/tests-guard-intentional-workarounds && 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 "tests-guard-intentional-workarounds" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/tests-guard-intentional-workarounds into .claude/skills/tests-guard-intentional-workarounds/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tests-guard-intentional-workarounds", 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/tests-guard-intentional-workaroundsType 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 tests-guard-intentional-workarounds -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install divinevideo/divine-mobile tests-guard-intentional-workarounds --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/tests-guard-intentional-workarounds .agents/skills/tests-guard-intentional-workarounds && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "tests-guard-intentional-workarounds" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/tests-guard-intentional-workarounds into .agents/skills/tests-guard-intentional-workarounds/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tests-guard-intentional-workarounds", 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 tests-guard-intentional-workarounds -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install divinevideo/divine-mobile tests-guard-intentional-workarounds --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/tests-guard-intentional-workarounds .cursor/skills/tests-guard-intentional-workarounds && 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 "tests-guard-intentional-workarounds" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/tests-guard-intentional-workarounds into .cursor/skills/tests-guard-intentional-workarounds/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tests-guard-intentional-workarounds", 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/tests-guard-intentional-workarounds--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 tests-guard-intentional-workarounds -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install divinevideo/divine-mobile tests-guard-intentional-workarounds --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/tests-guard-intentional-workarounds .gemini/skills/tests-guard-intentional-workarounds && 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 "tests-guard-intentional-workarounds" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/tests-guard-intentional-workarounds into .gemini/skills/tests-guard-intentional-workarounds/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tests-guard-intentional-workarounds", 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 tests-guard-intentional-workaroundsInstalls 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 tests-guard-intentional-workarounds -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/tests-guard-intentional-workarounds .github/skills/tests-guard-intentional-workarounds && 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 "tests-guard-intentional-workarounds" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/tests-guard-intentional-workarounds into .github/skills/tests-guard-intentional-workarounds/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tests-guard-intentional-workarounds", 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 tests-guard-intentional-workarounds -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 tests-guard-intentional-workarounds --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/tests-guard-intentional-workarounds .opencode/skills/tests-guard-intentional-workarounds && 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 "tests-guard-intentional-workarounds" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/tests-guard-intentional-workarounds into .opencode/skills/tests-guard-intentional-workarounds/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tests-guard-intentional-workarounds", 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.
tests-guard-intentional-workaroundsBefore removing code that looks redundant, wasteful, or "wrong" based on log observations or code review instinct, grep the test suite for tests whose names describe the exact behavior you're about…
Tests Guard Intentional Workarounds is an agent skill from divinevideo/divine-mobile. Before removing code that looks redundant, wasteful, or "wrong" based on log observations or code review instinct, grep the test suite for tests whose names describe the exact behavior you're about to remove. A test whose title literally describes the "weird" thing (e.g. "calls play() even when player reports playing", "retries even when first call succeeded", "skips cache even when fresh") is a load-bearing workaround, and the production log you're reacting to is probably the workaround working as designed — not…
Its SKILL.md is about 2.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 Testing & QA, covering Test generation and Failing and flaky tests. The licence is MPL-2.0.
5 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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are bash and dart).
From 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.
Tests Guard Intentional Workarounds loads about 2.2k tokens when it runs. Until then it costs about 251 tokens; SKILL.md has 1,042 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). 1,042 words, ~2,242 tokens.
.claude/skills/tests-guard-intentional-workarounds/SKILL.md (or your agent's skills folder).You observe a production log line that looks clearly wrong — a function being called when its precondition already appears satisfied, a retry firing when the first attempt seemed to work, state being set to the value it already holds. Instinct says "this is a redundant no-op, I'll remove it." You remove it, run local tests (which may even pass if coverage is thin), push to CI, and a test fails with a title that describes exactly the behavior you just removed. The comment on that test explains a subtle platform bug or race condition that required the "redundant" call as a workaround.
The log line you reacted to wasn't evidence of a bug. It was evidence of the workaround executing correctly for the exact scenario it was designed for.
Apply this skill's caution when ANY of these hold:
if (!already_X)
or delete it outright because logs show it firing when X is already true.playing=true + positionMs=0 for
seconds, isLoading=false + data still empty, etc.).Before touching the "redundant" code, run this five-step check:
Search the test suite for the function name, the state you think is redundant, and any synonyms:
# Example: considering removing player.play() on rebuffer complete
grep -rn "player.play" test/ | grep -iE "already|even when|still|twice|redundant"
grep -rn "rebuffer.*play\|playing.*true.*play" test/Look specifically for test names containing phrases like:
"even when X" / "even if X""still calls Y when Z""twice on Y" / "idempotent""after Y" (especially "after seek", "after error", "after reconnect")"recovers from" / "nudges" / "resumes"stalled, frozen, orphan, race)If you find a matching test, read the comment above the assertion, not
just the expect() call. The comment almost always explains why the
otherwise-redundant behavior is required. Look for phrases like:
Re-read the log line that prompted the "fix" through the lens of the test comment. Does the log state match the bug scenario the test describes?
playing=true, positionMs=0, you are looking at the bug
the workaround exists to handle. The workaround is working.If the workaround is load-bearing, don't remove it. Instead:
nudge_stalled_decoder is clearer than redundant_play).// See test: "rebuffer recovery calls play() even when playing=true").If you've already pushed and CI surfaced the guarding test:
After applying this skill, you should be able to answer:
If you can't answer all four, you don't yet know enough to remove the code.
Scenario (real, Flutter + media_kit video player):
Production log from iOS:
STUTTER_DEBUG rebuffer_auto_play index=48 positionMs=0 playing=trueInstinct: "Why call player.play() when player.state.playing is already
true? That's a no-op at best. Let me add if (!player.state.playing)."
Wrong fix applied. CI fails:
- [FAILED] VideoFeedController post-seek rebuffer recovery
rebuffer recovery calls play() even when player reports playingReading the test (which was already in the repo):
test(
'rebuffer recovery calls play() even when player reports playing',
() async {
// ...
// Simulate rebuffer completes while player reports playing=true.
// mpv can stall (no frame output) even when playing=true after a
// seek, so we always call play() to nudge the decoder.
when(() => setup.state.playing).thenReturn(true);
// ...
verify(setup.player.play).called(greaterThanOrEqualTo(1));
},
);The test comment documents the exact bug: mpv's playing=true does not
guarantee frame output after a seek or network hiccup. The "redundant"
play() call is specifically to unstick the decoder in that state. The
production log showing positionMs=0, playing=true for seconds is the bug
happening in production — and the workaround is the reason videos recover
instead of staying frozen.
Correct response: Revert the if (!playing) guard. Keep it calling
play() unconditionally. If the log is noisy, rename the log tag from
rebuffer_auto_play to decoder_nudge to reflect the actual purpose, and
add a source comment pointing at the test.
superpowers:verification-before-completion (don't claim a fix
works until you've actually run the test that guards the behavior) and
simplify (which should also respect this rule — don't simplify away
code that a test explicitly asserts).mock-call-count-retry-fallback — for the inverse case
where adding retry logic breaks test call counts.© 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/tests-guard-intentional-workarounds of divinevideo/divine-mobile.
Open the folder on GitHubat commit c3d6f7e
Tests Guard Intentional Workarounds 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 |
|---|---|---|---|---|---|---|
| Tests Guard Intentional Workarounds this skilldivinevideo/divine-mobile | 266 | — | ~2.2k | Automated safety check: Pass | MPL-2.0 | |
| Code SolvingHoangTheQuyen/think-better | 122 | — | ~3.7k | Automated safety check: Pass | MIT | |
| Ue Test AuthoringJasonMa0012/MooaToon | 750 | — | ~2.1k | Automated safety check: Notes | Custom licence | |
| Eval Triage And Improvementmicrosoft/eval-guide | 138 | — | ~5.9k | Automated safety check: Pass | MIT | |
| Raven Test Triagemarinasundstrom/raven | 108 | — | ~1.4k | Automated safety check: Pass | MIT | |
| Make Git Escrowinternet-court/internet-court-skill | 6.6k | 1 repos | ~922 | Automated safety check: Notes | MIT |
HoangTheQuyen/think-better
Structured coding workflow for non-trivial code work: debug, build features, refactor, optimize, migrate and review code through 7 steps with evidence-based quality gates.
JasonMa0012/MooaToon
A skill your agent uses when writing or modifying UE automated tests (Automation, CQTest, Functional, Gauntlet, LowLevel) with Rider MCP available.
microsoft/eval-guide
A skill your agent uses when the user's Copilot Studio agent evaluations have come back and they need to interpret scores, diagnose root causes of underperforming test cases, find remediation steps…
marinasundstrom/raven
Testing and stabilization workflow for the Raven compiler test suite.
internet-court/internet-court-skill
Create a new git escrow bounty for a test suite. An agent skill from internet-court/internet-court-skill.
Neeeophytee/finding-unknowns-skills
Find consequential behavior that a passing test suite does not establish, using focused exploratory checks.
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
Before removing code that looks redundant, wasteful, or "wrong" based on log observations or code review instinct, grep the test suite for tests whose names describe the exact behavior you're about…. Tests Guard Intentional Workarounds is an agent skill from divinevideo/divine-mobile. Before removing code that looks redundant, wasteful, or "wrong" based on log observations or code review instinct, grep the test suite for tests whose names describe the exact behavior you're about to remove.
Tests Guard Intentional Workarounds fits situations like: tempted to remove a function call that looks redundant based on a production log; about to simplify a conditional that seems to always take the same branch; reviewing code and thinking why would anyone write this?; A log line shows a state that seems impossible.
Run `npx skills add divinevideo/divine-mobile --skill tests-guard-intentional-workarounds -a claude-code`. Or copy the skill folder (.agents/skills/tests-guard-intentional-workarounds in divinevideo/divine-mobile) into .claude/skills/tests-guard-intentional-workarounds in your project. Claude Code loads it when a task matches its description.
Run `npx skills add divinevideo/divine-mobile --skill tests-guard-intentional-workarounds -a codex`. Or copy the skill folder (.agents/skills/tests-guard-intentional-workarounds in divinevideo/divine-mobile) into .agents/skills/tests-guard-intentional-workarounds 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 tests-guard-intentional-workarounds -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tests-guard-intentional-workarounds, .gemini/skills/tests-guard-intentional-workarounds, .github/skills/tests-guard-intentional-workarounds and .opencode/skills/tests-guard-intentional-workarounds in your project.
SKILL.md names no scripts, command-line tools or credentials: Tests Guard Intentional Workarounds is instructions for the agent only.
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.
Tests Guard Intentional Workarounds 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 2.2k tokens (SKILL.md is roughly 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 Tests Guard Intentional Workarounds: Code Solving (HoangTheQuyen/think-better, 122 stars), Ue Test Authoring (JasonMa0012/MooaToon, 750 stars), Eval Triage And Improvement (microsoft/eval-guide, 138 stars) and Raven Test Triage (marinasundstrom/raven, 108 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.