/mosdat:mosdat-pr-preflightfrom mosdat
Force a binary-freshness check before any PR-scoped mosdat scenario. Triggers on "test PR N", "run 3325-*", "rodar <PR>-*". Refuses to skip the build+deploy+asar-verify step — stale binaries produce false-negative scenario failures that look like framework bugs.
Ships in mosdat. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
On 2026-05-18, scenario 3325-master-toggle.yaml ran 25/28 steps then failed the verify step because PR #3325 (telephony feature) was never built and deployed to the VM. A stale binary from a prior test was on the box. We spent N minutes diagnosing what wasn't a real test failure — the framework worked, the binary didn't contain the feature. This skill enforces a binary-freshness gate before every PR-scoped scenario to prevent wasting time on false-negative failures.
Identify PR number
3325.3325-master-toggle.yaml, parse the PR number from the filename prefix.Check PR state
gh pr view <N> --repo RocketChat/Rocket.Chat.Electron \
--json headRefOid,updatedAt,headRefName,state,mergeable,commits
OPEN (abort if MERGED/CLOSED/DRAFT).Pick a verify symbol
gh pr diff <N> --repo RocketChat/Rocket.Chat.Electron \
| grep -E '^\+\s*(export const|function|class|interface)\s+\w+' \
| head -10
Run the build + deploy + verify
python automation/main.py build \
--pr <N> \
--deploy <vm> \
--verify-symbol <sym> \
--config examples/rocketchat.toml
app.asar for the symbol.app.asar on the VM, exit 1: abort the scenario. Do NOT proceed.Only THEN run the scenario
python automation/main.py functional \
examples/rocketchat.toml \
--test <scenario-filename> \
--vms <vm> \
...
Refuse to skip step 4. If the user says "skip preflight" or "no rebuild", clarify why they need to skip, then REQUIRE confirmation that they understand stale binaries will produce false-negative test failures that look like framework bugs.
--verify-symbolRead the PR diff with:
gh pr diff <N> --repo RocketChat/Rocket.Chat.Electron
Scan for NEW function/class/const/interface names (lines starting with +).
Propose the most unique identifier — avoid generic names like init, setup, config. Prefer domain-specific names:
isTelephonyEnabled (PR 3325) — telephony feature flagsetAsDefaultProtocolClient (PR 3325) — protocol registrationenableVoiceChat(), that's a good verify symbol.If no good candidate exists in the diff, ask the user: "What feature is being tested? I'll pick a symbol that represents it."
User can always override: "Use XYZ instead of ABC." Accept without argument.
Refuse to skip the build+deploy+asar-verify step UNLESS:
"skip preflight" or "no rebuild".Otherwise, ALWAYS run steps 1–4.
| PR | Feature | Verify Symbol |
|---|---|---|
| 3325 | Telephony (H.323/SIP) | isTelephonyEnabled or setAsDefaultProtocolClient |
| TBD | (Add as we learn them) | — |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: commands: Invalid input, author: Invalid input: expected object, received string
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
11 skills in this plugin
/gitnexus-cliUse when the user needs to run GitNexus CLI commands like analyze/index a repo, check status, clean the index, generate a wiki, or list indexed repos. Examples: "Index this repo", "Reanalyze the codebase", "Generate a wiki"/gitnexus-debuggingUse when the user is debugging a bug, tracing an error, or asking why something fails. Examples: "Why is X failing?", "Where does this error come from?", "Trace this bug"/gitnexus-exploringUse when the user asks how code works, wants to understand architecture, trace execution flows, or explore unfamiliar parts of the codebase. Examples: "How does X work?", "What calls this function?", "Show me the auth flow"/gitnexus-guideUse when the user asks about GitNexus itself — available tools, how to query the knowledge graph, MCP resources, graph schema, or workflow reference. Examples: "What GitNexus tools are available?", "How do I use GitNexus?"/gitnexus-impact-analysisUse when the user wants to know what will break if they change something, or needs safety analysis before editing code. Examples: "Is it safe to change X?", "What depends on this?", "What will break?"/gitnexus-refactoringUse when the user wants to rename, extract, split, move, or restructure code safely. Examples: "Rename this function", "Extract this into a module", "Refactor this class", "Move this to a separate file"