/workflow-orchestration-plugin:workflow-verify-before-filingfrom workflow-orchestration-plugin
Verifies upstream bug candidates against HEAD and deduplicates against issue trackers before filing. Use when filing accumulated reports from backlogs, audit docs, or git-history findings.
Ships in workflow-orchestration-plugin. 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.
Read when SKILL.md points to them; scripts run unread.
Operational scaffolding ships beside this file, not inside it: Phases 1–2 as
workflows/verify-before-filing.workflow.js(agent prompts, schemas, gate logic), Phase 3 as the executablescripts/file-wave.sh. The rationale for both — why each constant is what it is — plus the worked example is in REFERENCE.md. This file is the decision layer.
A backlog of upstream bug candidates — audit docs, "file this later" notes, workaround commits — is a list of hypotheses dated to when they were observed, not a filing queue. Upstream moved since: versions shipped, files restructured, other deployers reported the same thing, and some of your own diagnoses were wrong. Filing the backlog as-is produces duplicate and already-fixed reports — exactly the noise that makes maintainers stop reading your issues. Verify every claim at upstream HEAD, dedup against the trackers (including your own earlier reports), and only file what survives.
Measured base rate (FVH → SIMPL-Open, 2026-06-11): of 24 accumulated candidates, only 12 were real-and-current — 7 claims were invalid on inspection, 3 were already fixed upstream, 1 was obsolete, 1 duplicated our own earlier report's by-catch. Half the backlog would have been noise.
| Use this skill when... | Skip when... |
|---|---|
| Filing N accumulated candidates from docs/backlogs/git history | You just hit the bug minutes ago against current HEAD |
| The observations are days-to-months old | Single trivially-checkable item — verify inline, then file |
| Claims came from audit docs nobody re-checked | |
| You've filed on this upstream before (self-dup risk) |
Phases 1–2 also ship as a bundled harness — see Workflow harness (template) below.
Merge every source into one manifest — one entry per candidate with a precise, falsifiable claim — before Phase 1. Entry shape and fields: references/candidate-manifest.md.
Verify agent (read-only against upstream): fetch the implicated files at default-branch HEAD and the latest tag; quote the current content; return a verdict from a closed vocabulary:
still-present | partially-fixed | fixed-upstream | obsolete-version
| claim-invalid | could-not-verify
plus targetProject, quoted evidence, checkedRefs, and notes (files
moved, versions drifted, framing corrections). Hard rule: agents are
read-only upstream — GET requests only; nothing writes until the filing
phase. State that rule verbatim in every agent prompt.
Both prompts, with the forge-tooling block and the schemas, are the
VERIFY_PROMPT / SEARCH_PROMPT constants in
workflows/verify-before-filing.workflow.js —
adapt those rather than retyping them.
Gate precedence: any duplicate kills the filing regardless of verdict;
could-not-verify never files (record a human follow-up task instead).
Search agent: tracker search (issues + MRs, all states, several phrasings including exact error strings) on the target project and group-wide — plus fetch the full bodies of your own prior reports and check overlap including their by-catch findings. Self-duplicates are the embarrassing kind.
Gate: only still-present/partially-fixed with no duplicate proceeds.
Everything else gets a recorded disposition — that record is a deliverable,
not waste (see Phase 4).
Draft each survivor to the house issue template, then gate every draft through
agent-patterns-plugin:cold-read-gate before filing. The template, the
no-internal-references rule, and the revise-round limit are in
references/draft-template.md.
Issue-creation endpoints rate-limit aggressively (observed: a GitLab instance
returning 429 after a single create). Never loop gh/glab issue create
by hand — write the Phase 1+2 result array to a JSON file and run the script,
which owns the pacing, the retries, and the URL manifest:
bash "${CLAUDE_SKILL_DIR}/scripts/file-wave.sh" --results /abs/path/results.json --dry-run
bash "${CLAUDE_SKILL_DIR}/scripts/file-wave.sh" --results /abs/path/results.json --forge glab --host <instance>
Run the real invocation with Bash run_in_background: true — at 70 s per
create a wave outlives a foreground call. Dry-run first: it resolves every
title and target project and creates nothing.
The script files only disposition: "file" entries, exits 0 on an empty set,
appends every URL and every failure to filed-urls.txt, and continues past
a failure rather than aborting the batch. Forge dispatch is deterministic:
--forge gh|glab > $FILE_WAVE_FORGE > a set GITLAB_HOST (implies glab) >
gh. --help documents every flag; the pacing rationale and the invariants
its tests pin are in REFERENCE.md. Cross-link related new
issues afterwards (also paced). Created GitLab issues may surface as
/-/work_items/ URLs.
workflows/verify-before-filing.workflow.js ships beside this skill. It is a TEMPLATE to
adapt, not a script to run verbatim. Read it, then rewrite it for the work in front of you.
It covers Phases 1–2 only; Phase 3 is scripts/file-wave.sh, whose
input contract is the harness's return value.
Adapt freely: the agent prompts and their forge-tooling block (the shipped one is GitLab), the wave width, the house draft template, the effort tiers, and the search phrasings.
Preserve across any adaptation: (a) the loop bound comes from the candidate manifest passed
in as args, never from a prose "for each" — including the ≤5 read wave, which paces reads the
way file-wave.sh paces writes; (b) the closed verdict vocabulary and the gate
['still-present','partially-fixed'].includes(verdict) && duplicateFound === 'no', in that
precedence — a duplicate kills the filing regardless of verdict, and could-not-verify never
files; (c) two barriers — the intra-candidate parallel([verify, search]), because the gate
reads both, and the batch-dedup pass, which compares survivors to each other rather than
only to the tracker. Also structural: the cold-read agent is never the drafter (that
independence is the gate), exactly one revise round, and DRAFT_SCHEMA carries the issue
body — a workflow script has no filesystem, so dedup cannot merge on a path.
Agent budget: 1 + 6 x candidates — up to six agents per candidate (verify, search, draft, cold-read, revise, re-cold-read) plus one batch dedup. The scale guard asks before every run, because the list comes from the caller at runtime.
Skip the harness when: the manifest holds one or two candidates — that is a linear pass and the harness is pure overhead (the template aborts below three). A 24-candidate run is roughly 100–140 agents. The steps above remain the authoritative description of what each stage must produce; the harness only fixes how the work is split.
Two clauses this template carries. The second is unconditional here — this skill's entire output is a forge mutation:
Never
Workflow({resumeFromRunId})to retry a few failed worktree agents — a resume re-runs agents that already succeeded and opens duplicate PRs (#1868). Re-dispatch the failed units fresh and sequentially after checkinggh pr list --head <branch> --state all --json number,state.
Push, PR creation, and GitHub mutations happen only in the single sequential finalise stage, never inside a fanned-out agent. Here that stage is Phase 3 (
scripts/file-wave.sh): every agent in the harness is read-only upstream, and the harness returns data for the script to file.
What each verdict means and its typical doc annotation: references/verdicts.md.
Mistake → correct-approach table: references/common-mistakes.md.
agent-patterns-plugin:cold-read-gate — the pre-publish legibility gate
(Phase 2)agent-patterns-plugin:verify-before-plan — same epistemics one level up:
premises decay; check before acting on themworkflow-preflight — remote-state
verification before implementation work, the in-repo siblingverify-upstream-before-patching (where present) — the
single-item inline form of Phase 1REFERENCE.md (opens in a new tab)references/candidate-manifest.md (opens in a new tab)references/common-mistakes.md (opens in a new tab)references/draft-template.md (opens in a new tab)references/verdicts.md (opens in a new tab)scripts/file-wave.sh (opens in a new tab)scripts/tests/test-file-wave.sh (opens in a new tab)workflows/verify-before-filing.workflow.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
opus8 skills in this plugin
/workflow-bake-offWorkflow template for a bake-off — 2–5 independent attempts, lens judges, a winner computed by Borda or a metric rule, then refine. Use when comparing competing designs or running A/B arms./workflow-checkpoint-refactorMulti-phase refactoring with checkpoint files that survive context limits. Use when refactoring spans 10+ files, needs phased rollout, or risks running out of context mid-session./workflow-implement-verifyWorkflow templates that implement 2–5 units in worktrees with a fresh verifier and one repair round, or close findings on existing branches. Use when fanning out implementers or repairs./workflow-interrupted-run-recoveryRecover a Workflow run killed mid-flight: salvage killed agents' worktrees, resume without duplicating PRs already opened. Use when a run reports agents_error after a session limit, kill, or crash./workflow-preflightPre-work validation before implementation. Use when starting an issue or fix, or before fanning out agents, to check remote state, existing PRs, branch conflicts, gh auth, and merge gates./workflow-scale-budgetSize a Workflow script's agent count before running it, or tally a finished run's agents and tokens. Use when authoring or proposing a Workflow fan-out, or asking what a run used.npx claudepluginhub laurigates/claude-plugins --plugin workflow-orchestration-pluginOther plugins' skills for the same job