/specflow:duo-buildfrom specflow
Coordinates interactive feature/issue builds with automatic read-only peer review across Claude Code and Codex. Enables resumable runs toward indexed shared goals.
Ships in specflow. 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.
When loaded as a native Claude plugin, framework assets are at ${CLAUDE_PLUGIN_ROOT} and project state is at ${CLAUDE_PROJECT_DIR}. Resolve framework node scripts/... examples at that installed root, with quoted paths; do not require PATH specflow or copied project scripts. Use this skill's shipped references at ${CLAUDE_PLUGIN_ROOT}/skills/duo-build/references before any user-scope fallback. Outside native plugin loading, preserve the existing npm/Codex context and fallback rules below. Host identity and approved model routing remain authoritative; Recommended Model prose is advisory and grants no override. This path context grants no acceptance or release permission.
Read SPECIFICATION.md (source kit: templates/SPECIFICATION.md). Before
using the detailed procedure below, run
node scripts/specflow-tier.cjs inspect <record.json> duo-build inspect.
Follow the installed SPECIFICATION.md working procedure to import current scope,
run bounded experiments, prepare applicable gates and perform promotion inside
this one invocation. Preparation may remain thin. Before any production implementation, require
node scripts/specflow-tier.cjs inspect <record.json> duo-build build.
Stop on exit 2 and report the returned blocker. Production work repeats the
check with resume at re-entry and finish before claiming completion.
A missing record cannot prove readiness; retrieve the current issue and scoped
evidence. Labels alone never grant build-ready status.
The detailed artifact/pre-flight requirements below apply to the selected build-ready slice and its relevant seams. Thin work reports planning state and the next justified decision without generating full schemas, fixture packages or simulations. Contracted work reviews applicable irreversible decisions and includes a paper persona walkthrough for UI flows. Reuse shared decisions; leave future siblings thin. Required privacy, permission, execution and release gates remain in force. Reconcile contradictory custom legacy instructions explicitly using the shared policy; do not claim they passed.
You remain the interactive builder. The peer reviews frozen artifacts and never
owns the conversation, edits product code, runs duo-build or launches another
model. If SPECFLOW_DUO_REVIEWER is set, stop.
Claude Code: /duo-build #905, /duo-build "Explain an employee’s leave balance",
/duo-build resume <run-id>.
Codex: the same requests with $duo-build.
Only these two hosts are supported. Use the actual host identity, never infer it
from installed configuration directories. Claude builds → Codex reviews; Codex
builds → Claude reviews. The helper selects the peer from the current owner.
Claude Code session binding for this invocation: ${CLAUDE_SESSION_ID}.
In Claude, pass this expanded value as --host-session <value> on every start
or resume. It binds the Stop check to this conversation, not other agents in the
repository. If the placeholder is not expanded, report cadence enforcement as
unavailable; continue the explicit per-batch review loop. Codex omits this flag.
New contexts declare workKind: preparation or implementation (default).
Implementation requires specification: {"record":"<current record.json>"};
the helper checks readiness before start, resume, capture and finish. Preparation
cannot establish production readiness. For contracted decision review or selected
build-ready pre-flight, also set specification.targetTier to contracted or
build-ready. The helper reserves the issue/tier review allowance before launching
the peer. Issue/tier history survives hosts and run names. Continue while
first-time criteria/gates or finding closures advance; repeated wording and
closures cannot manufacture progress. P2 cleanup does not block the goal.
Pinned older runs retain their recorded runtime. They do not gain tier enforcement by reinstalling or merely changing a label. Report that migration limitation, retain their evidence, and use updated tooling between runs; never restart to evade an exhausted review budget.
node scripts/duo-build.cjs check --builder claude-code (or codex).
Missing installation, authentication or review access is a specific blocker.QA/loops/spec-build.yaml for feature preparation and
QA/loops/feature-build.yaml for ready-ticket implementation. In the Specflow
source repository these are under templates/QA/loops/. Follow their existing
artifacts, simulation/audit, provenance and human/release gates. Do the work
here; do not replace yourself with a generative loop-runner builder. The user
does not have to invoke those flows separately.goal.md, mission and applicable contracts. If goal.md is missing, create a
short reference to the existing mission. For Timebreez: accurate, explainable
leave entitlements and balances across employee arrangements/jurisdictions,
traced to applicable rules, facts, calculation evidence and transactions.
State current support separately; unknown facts and unsupported jurisdictions
remain explicit. Other products use their own mission.AC-1: Explain the displayed balance
and CLAUDE.md actually contains Tests must pass:
{"workKind":"implementation","specification":{"record":"evidence/current-specification.json"},"goal":"goal.md","task":"evidence/task.md","references":["docs/product/mission.md"],"objective":"Explain the supported balance with calculation evidence","finish":"All acceptance and required gates verified; no evidenced blocker","criteria":[{"id":"AC-1","source":"evidence/task.md","anchor":"AC-1: Explain the displayed balance","kind":"acceptance"},{"id":"GATE-TESTS","source":"CLAUDE.md","anchor":"Tests must pass","kind":"gate"}]}
Include any required CI/release gates as rows too, even when they are currently
blocked. For preparation work index the current preparation acceptance; an
accepted preparation batch does not authorize weaker implementation acceptance.
Start with node scripts/duo-build.cjs start '#905' --builder claude-code --context <context.json>.
Read the saved .specflow/duo/<run-id>/goal.md yourself. Keep the returned
Owner session token in this conversation and pass it to every mutation.Read run.json, goal.md, the criterion ledger, open findings and prior evidence.
Read the latest validated continuation.md and recent validated reviews.
The helper prints the continuation on resume/status/review and labels historical
advice after source/evidence changes or a failed review. Reassess historical advice
against current facts; it is not fresh acceptance. Old runs gain direction on their
next review without rewriting their historical verdicts.
Within the same conversation, resume using your existing session token:
node scripts/duo-build.cjs resume <id> --builder <current-host> --session <token>.
A new conversation/host must explicitly claim ownership:
node scripts/duo-build.cjs resume <id> --builder codex --takeover --reason "User resumed this run in Codex".
Use claude-code for Claude. Keep the returned new token; never copy another
active conversation's token from run.json. Takeover fences the previous owner and
is blocked while review/capture holds the operation lock. Stop old batch work
before switching. This is cooperative helper fencing, not an OS write sandbox.
Check status <id> --session <token> to validate ownership before each
work batch. If it changed, stop editing. release <id> --session <token> releases
ownership intentionally. History, acceptance and budgets survive transfer.
Legacy runs can resume, but missing acceptance rows cannot imply completion. Use
index <id> --session <token> --criteria <criteria-array.json> to attach the full
index, or append a required gate discovered by review. Existing definitions may
not be removed or rewritten. Source changes that alter acceptance require an
explicit user instruction and a new linked run; preserve the old findings.
Only when .specflow/routing-shadow.json is enrolled: start records the first
batch automatically. Before subsequent work batches call
node scripts/duo-build.cjs routing-begin <id> --session <token> --loop feature-build --stage <stage>
(use spec-build for preparation). The receipt does not disclose the proposal.
Keep the approved host/model/effort unchanged. Missing collection is reported
separately and does not bypass the independent review or gates.
On status, read any pending private report after the batch outcome is fixed.
Present its outcome, blocker and next action, then call
node scripts/typesafe-routing.cjs ack <private-study-dir> <report-id>.
Do not acknowledge an unread report or publish provider details to GitHub.
Study setup and controlled trial commands: routing study reference.
Implement one meaningful batch tied to criterion IDs. Capture actual verification
commands automatically, preserving argv, exit, stdout/stderr and source hashes:
node scripts/duo-build.cjs capture <id> --session <token> -- npm test -- --runInBand.
Use the returned evidence path. For implementation captures, also read
lastCapture.discoveryBatch and collect discoveries or explicit none with
scripts/specflow-specification.cjs collect before the next review. Failed or
interrupted work requires the same collection; reconcile affected records before
resuming. For work outside capture, reserve a batch with begin first. Failure output is retained and can support diagnosis, but cannot pass an execution gate; stale/source-mutating
captures cannot prove verification. Capture other relevant PR/CI/raw results as
needed. Never execute a reviewer-suggested command automatically; select the
appropriate command yourself within the user's authorization.
Before an expensive capture, check node scripts/duo-build.cjs eligibility <id> --session <token>.
Pass --batch <batch.json> to inspect missing evidence and unreported instruction
responses too. A diagnosis guard is work to perform now: inspect the actual
cause, capture diagnosis with capture ... --diagnosis -- COMMAND, and record
an evidenced different recovery. Further recoveries require fresh captured
execution facts, not renamed notes or timestamp-only recapture. Explicit
checkpoints and missing recovery evidence retain their concrete cause; do not
reset history or create a successor to bypass them.
Before ending each work turn or reporting a batch complete, review it now. A batch can be a diagnosis or verification result as well as code. Do not wait for the whole application, unrelated gates, owner browser access, a commit, or the user's next message. Submit the available evidence honestly; missing gates remain unverified/blocked. Read feedback and continue actionable repairs in this same conversation. Ask for user input only for a specific dependency that you cannot resolve, after reviewing the work already possible.
Both hosts can check node scripts/duo-cadence.cjs <run-id> before a final reply.
Claude's installed Stop hook enforces one corrective continuation for a bound
session, then reports an explicit blocker if no fresh review appeared. It never
launches a model itself, bypasses permissions, claims a run, or resets budgets.
Unchanged reviewed work needs no duplicate review. A blocked peer verdict is
feedback, not completion; continue any remaining independent work.
Act on the peer's continuation, not just its verdict. Read direction and its
prioritized next_steps: why this work advances the customer goal, who can do it,
and the observable done_when. Execute authorized builder steps in this same
session, even when an independent owner/CI gate is blocked. Preserve completed
work and the stated constraints. If you disagree or a step is no longer possible,
record the reason and evidence; the next reviewer independently reassesses it.
Never treat reviewer advice as permission to expand scope or bypass a gate.
When only user/external steps remain, give the precise required action and proof,
not a generic "blocked" report. An accepted batch with builder work remaining is
another continuation, not the end of the goal.
Keep batch metadata inside .specflow/duo/<id>/ so editing it does not change the
product snapshot. A batch contains:
{"id":"balance","scope":"Balance explanation implementation and verification","criteria":["AC-1","GATE-TESTS"],"claims":["implemented and locally tested; not merged or deployed"],"assumptions":[],"evidence":[".specflow/duo/<id>/evidence/<capture>.json"],"resolutions":[]}
On repair, resolutions are objects with id, change, and evidence paths.
Keep finding IDs stable. The peer must explicitly close or retain every open
finding; accepting a different batch cannot hide an old blocker.
After a validated direction with next steps, include direction_response in the
next batch, bound to that review's round number. Account for every numbered step:
{"direction_response":{"round":1,"steps":[{"step":1,"disposition":"done","reason":"Corrected the visible result; execution capture attached"},{"step":2,"disposition":"deferred","reason":"Real owner consent is still required; independent correction is complete"}]}}
Allowed dispositions: done, deferred, disputed. Reasons are context, not
proof; submit raw evidence separately. Missing responses become unreported; valid raw evidence still goes to the peer.
Malformed or duplicate reported steps are rejected. The helper includes ALL
outstanding instructions from the durable ledger, including work outside this
batch. Only the peer's independently evidenced instruction_assessments can
satisfy them. It must assess every ID as satisfied, attempted_failed, not_attempted,
unproven, externally_blocked or replaced_with_justification. No visibility means
unproven, not proof of no attempt. Read continuation.md and act on the highest
priority authorized builder instruction. Keep disagreements and replacement
reasons; acceptance and permissions do not change. Audit and status expose skipped
or unproven work even when your response omits it.
Pause source edits and source-mutating tests while running:
node scripts/duo-build.cjs review <id> --session <token> --batch <batch.json>.
Read the returned outcome and latest round/review.json. The peer independently
inspects the shared goal, task, indexed gates, relevant source and raw evidence.
It assesses the requested rows and checks the index for omitted obligations.
For GitHub repositories, the helper checks gh authentication and gives the peer
direct read access to issues, PRs, diffs, checks and raw job logs. Preserve raw
execution/CI captures too: live remote observations cannot prove local edits were
tested. The reviewer must identify repository and SHA differences and cannot
mutate GitHub. Access failure is a specific blocker.
Submodules are frozen explicitly. Every Git index gitlink gets a required-read
tree/<submodule>/.specflow-gitlink.json descriptor with its indexed revision.
Initialized submodules also include recursively frozen source, the checked-out
revision, and omitted paths. Uninitialized submodules remain unavailable; their
revision alone cannot verify dependency behaviour. The helper never fetches or
initializes them. Conflicts, unsafe paths and metadata collisions block capture.
The helper maintains .specflow/duo/<id>/audit.md with actual calls, preflight
failures, validated outcomes, criterion assessments and finding resolutions.
Keep live interaction logging there: editing a tracked or untracked root
audit.md changes the snapshot and invalidates verification. Existing root logs
are not overwritten; freeze them before capturing and throughout review.
Do not update a root interaction log after review and then rerun the same tests
just to certify that log. Use excluded run-local notes and direction_response.
changes_required: fix evidenced blockers and re-review with new raw evidence.
Follow the finding's closure-verification step. Optional cleanup stays separate.blocked: resolve missing evidence/access/environment if possible; otherwise
report that specific blocker. Never call unreviewed work duo-verified.accepted: this batch advanced the goal. Continue unverified criteria/gates.
Source or evidence changes conservatively invalidate older verified rows;
perform a final review of the full acceptance set on the final source.Progress means first-time verified criteria/gates or first-time evidenced finding
closures. Changed files, timestamps, diagnostic wording or repeated closures do
not count as verified progress. There is no fixed two/four review cap in new runs.
After two valid reviews without progress, diagnose; after three invalid peer
responses, diagnose the protocol. Perform authorized diagnosis autonomously and
record a materially different recovery with its current evidence. The first
legacy evidenced recovery remains compatible. Any further recovery in the same
episode needs a stable duo_capture: 1 observation finished after the previous
call and not already used in that episode. The helper ignores capture filenames,
metadata timestamps and attached narrative when comparing execution facts;
regrouping old observations is not new evidence. Diagnose again when an attempt
fails; continue only with another justified strategy and novel executed facts.
There is no one-recovery lifetime cap. If no relevant new evidence/allowed action
exists, report that concrete limitation, never a fictitious financial exhaustion.
Protocol-invalid output grants no acceptance and preserves all prior findings.
Historical/pinned runs keep their recorded policy; never patch their runtime or
journal to adopt this one silently. Optional finding wording is retained as
commentary, preserving the original basis and criterion identity.
Recovery input JSON: { "kind":"protocol", "cause":"actual observed cause", "action":"different repair", "evidence":[{"path":"RAW","sha256":"HASH"}] }.
Use node scripts/duo-build.cjs recover-review ID --session TOKEN --input FILE.
For a shared scoped guard, add scope: "specification" to the recovery input
and use the same owning Duo run/token. Recover both guards if both require it.
The helper validates current hashes, preserves history and consumes the attempt
before peer invocation. Missing/stale evidence cannot unlock a call. Include
recovery evidence in the next review. No readiness follows from recovery itself.
Optional context reviewPolicy accepts usageMode (subscription, api, or
unknown, default unknown), maxCalls, and maxElapsedMs (positive integers,
off by default). Scoped policy is initially read from record.profile.reviewPolicy.
These are execution checkpoints, not monetary costs. Cost is unmeasured here;
provider quota/auth failures retain their exact cause and require restored access.
Never invent a reset time or poll a provider indefinitely. A checkpoint retains
all acceptance and history. Only after explicit owner authorization, use
extend-review-limits (same command arguments) with
{"ownerAuthorized":true,"reason":"owner instruction","policy":{"maxCalls":20}}.
The flag records authority; it does not manufacture it. Agents must not extend
owner ceilings without that instruction. Scoped ceilings use the same owner-fenced command with scope: "specification".
Report actual cause, separate execution guard, unresolved criteria/findings, raw evidence paths, attempted recovery and exact next action. Do not replace the cause with "budget exhausted". Authentication or provider quota recovery may need owner input; local diagnosis and authorized repairs normally do not. When preparation is fully verified, return complete with no next steps. The builder runs finish and then specification promotion; promotion is not another peer-directed repair task.
Finally run node scripts/duo-build.cjs finish <id> --session <token>.
It refuses completion until every required indexed row has fresh peer-verified
evidence, index completeness is confirmed, and no finding remains open. Report
Goal / verified criteria / current blocker / next action, plus the run ID.
Completed scope still does not mean merged, deployed or customer-validated unless
those outcomes were required, independently evidenced and verified as criteria.
Keep the same native entry point. When the user configures TypeSafe, use the
owner-controlled helper typesafe <run-id> --session <token> --config <relative-json> --reason <reason>. Config: mode off/shadow/advisory (default shadow), pinned
model (default jev-1.13.0), maxCalls 1–100 (default20), optional explicitly selected
.env file. Never read or print keys into conversation, batch inputs or evidence.
Use TYPESAFE_API_KEY with TYPESAFE_API compatibility. Missing keys are explicit
unavailable advice, not a block on ordinary peer review.
Populate batch.typesafe with {criterion, claimIndex, assertionPath, evidencePaths} for selected batch criteria. All paths must name frozen source
or submitted evidence, not environment files, credentials or production logs.
For a repair add repair:{description,observation}; history/finding context is
loaded by the helper. Minimize sensitive material before selecting it. Missing
or oversized inputs remain explicit; do not substitute a narrative for raw proof.
Shadow results must not influence builder or reviewer decisions. Advisory results are shared as saved records; independently inspect sources and require confirmed/rejected/needs_evidence dispositions for flags. A flag never overrides acceptance, finding closure, owner fencing, required gates or repair budgets. Read the helper status for provider suppression; explicit owner recovery clears only the failure streak, never consumed calls. The peer cannot call TypeSafe or another reviewer. Evaluation reports stay private. Do not claim production reliability or a calibrated confidence threshold from the prototype.
A new run pins the exact helper bytes, protocol and installed skill. Existing
entrypoints dispatch resume/review/capture/finish to that version and reject
modified runtime copies. Read the run's runtime/SKILL.md on resume. A newer
installed skill does not hot-reload a conversation. Installer updates stage while
any unfinished run exists; after completion, rerun the installer and start a new
conversation. Legacy runtime identity is explicitly unknown, never reconstructed
as historical proof. Do not create another run to evade an exhausted allowance.
TypeSafe's existing modes are off, shadow and advisory. For instruction advice,
explicitly select typesafe_actions: [{instructionId, claim, evidencePaths}] in
the batch. Prepare small JSON evidence with only instructionId, criterion,
snapshotHash (the capture's sourceAfter), observation, expected, actual, exitCode
and sourceEvidence. Submit the original execution capture too so the peer can
check the prepared observation. No tokens, mailbox content or raw external logs.
The helper binds selection to the outstanding instruction and snapshot and asks
separate relevance/support questions. Missing candidates cause no paid call;
outage or uncertainty stays visible. Advice cannot resolve an instruction or gate.
Claude's bound Stop hook requests one corrective continuation. Codex has no supported equivalent turn-end hook here: its native skill and shared review/finish gates implement the loop, but cannot prevent an arbitrary prose final reply.
For instruction advice, sourceEvidence must point to a submitted current
duo_capture record. Its stdout must be a small JSON object containing only
status, providerReason, expected, actual, passed, failed, skipped,
success, or exitCode, with scalar values. The helper copies these observed
fields and the capture's hash/exit into the model input. A prepared observation
without that actual source capture is insufficient input. Keep providerReason
to a safe enumerated code; never put mailbox content or credentials in it.
An owner may explicitly cease a run without claiming it finished:
node scripts/duo-build.cjs cease RUN_ID --session OWNER_TOKEN --reason "Owner requested end of this run".
This retains all criteria, findings and budgets, releases ownership, and makes
that run read-only. It permits a staged installer update between runs. Ceasing
is never permission to reset an exhausted goal or start an automatic successor.
A legacy installation without this command may invoke specflow duo-build cease
from the newer kit/package while keeping the old project runtime intact. This
metadata operation is handled by the current entrypoint, without migrating the
active run's code. Do not cease a run merely to install an update or avoid a limit;
it is an explicit owner decision.
New runs use evidence question version 2. Select the exact criterion, claim, assertionPath (or null when no assertion exists) and evidencePaths. Capture logs stay raw; the helper also extracts command, output, exit, source hashes and current/stale/unknown freshness. Keep contradictory results in the selection. Coverage asks what the assertion would check if executed. Execution asks whether that particular check ran and passed/failed. Support asks what the evidence proves about the exact claim. A failing test can fully cover a requirement.
The helper builds top-level inspected from successful native tool results and saves access-receipts.json. The reviewer no longer types a redundant file-access list. Claude uses Read; Grep content records partial access. Directory search lines must match the named frozen source file; filenames alone never qualify. Codex uses standalone cat -- PATH or sed -n 'START,ENDp' -- PATH; filename searches, failed calls, pipelines and ambiguous commands cannot satisfy an inspection gate. Partial reads are labelled partial, not proof of complete file contents. Instruction citations still require actual content receipts.
Successful native image-only Read results can earn receipts for frozen PNG, JPEG, GIF and WebP artifacts. The canonical base64 payload, declared media type, recognized container and exact frozen bytes must agree. Text beside a missing or different image cannot supply image inspection. Resized/re-encoded bytes remain unqualified for exact identity. This proves content access, not visual correctness. Older pinned collectors retain their recorded behavior and historical outcomes.
Complete direction has no next_steps. Running finish is a helper action printed by the continuation, never a new repair instruction. Existing finish checks still require current peer-verified criteria and no open findings/instructions.
Before publishing any review summary or linked evidence to an issue, use
node scripts/specflow-publication.cjs <publication-request.json> with
{repo, issue, bodyFile, linkedFiles}. It runs the project's configured mechanical
scanner from .specflow/publication-policy.json (command argv and
privateBaselineRequired boolean). A missing/failing scanner blocks publication
at every tier; when private inputs apply, require baseline-derived forms and a
real canary. Keep private sources and raw provider evaluations local. Do not
bypass a failed gate with a direct gh issue comment.
After explicit owner authorization to recover an old pinned review, use the
current kit entrypoint from the target project directory:
node /absolute/path/to/updated/Specflow/scripts/duo-build.cjs migrate-review RUN --session TOKEN --input FILE.
Do not use the target project's old scripts/duo-build.cjs for migration: it
does not have this command while installation is staged.
Input is { "ownerAuthorized":true, "reason":"owner-authorized recovery", "evidence":[{"path":"diagnosis.txt","sha256":"HASH"}] }.
This is a one-time adoption of the current policy in the same run, not reset-review.
For every subsequent command, use the exact selected-runtime entrypoint printed
by migration/status: node .specflow/duo/RUN/runtime-migrations/UUID/runtime/scripts/duo-build.cjs ACTION RUN --session TOKEN.
The project's old installed launcher is deliberately unchanged and may not
understand the selected directory. Use this printed prefix in place of every
node scripts/duo-build.cjs example above until this run completes.
The old runtime, exact before-state, calls, raw responses, findings, instructions,
legacy counters and shared scoped journal remain intact. Re-read the selected
runtime's SKILL.md after migration. Fresh capture and independent review are
required; migration never grants readiness or clears a diagnosis guard. Use
normal evidenced recovery if the replayed history triggers a guard. It refuses
current-policy, ceased/completed, unknown-runtime and pending-review runs, bad
ownership/evidence and concurrent operations. Ordinary installation still cannot
replace an active runtime. Do not invoke migration merely to gain more calls.
An old installed Claude Stop hook also cannot follow the selected runtime and
may report Pinned duo runtime modified even while the archived bytes are intact.
Automatic cadence enforcement is unavailable for that legacy installation until
the run completes and the installer can update it. Do not ignore a real integrity
failure: verify status using the printed selected-runtime command, then run
node .specflow/duo/RUN/runtime-migrations/UUID/runtime/scripts/duo-cadence.cjs RUN
manually before ending each work turn and act on its result. For hook-format
inspection, use the same selected cadence script with --hook and the normal
session JSON on stdin. Migration does not replace installed hooks or launchers.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (hulupeep/specflow) — no native marketplace selected
npx claudepluginhub p/hulupeep-specflow4 skills in this plugin
/specflow-auditAudits a Specflow story/ticket for spec-compliance and surgically uplifts it — adding only the missing executable contract sections (SQL/RLS, TypeScript interfaces, invariant codes, Gherkin, acceptance criteria, Definition of Done, data-testid coverage) — then runs a pre-flight gate that refuses to mark the ticket compliant while CRITICAL or P1 findings remain. This skill should be used when the user asks to "make specflow compliant", "specflow audit", "uplift this story", "run specflow auditor", "is this story compliant", or invokes /specflow-audit on a story file or GitHub issue. It is the reliable replacement for ad-hoc inline "make it compliant" edits, which skip the gap-analysis, the section templates, and the pre-flight gate. Scope is strictly Specflow story/contract work — do NOT trigger on generic "make this code/PR compliant" requests unrelated to Specflow specs./specflow-loop-selectorChoose the lightest Specflow workflow that covers an ask’s size, uncertainty and risk, then select a loop only when needed. Use for work triage, proportionate verification, loop selection, or explicit spec-build, feature-build and Gate D requests. A lightweight decision does not start a loop./specflow-simulateSimulates end-to-end usage of a Specflow story across multiple personas and divergent routes to discover gaps, edge cases, and unhandled branches BEFORE the story is built — then proposes each finding as a concrete story addition (new REQ, negative-path AC, Gherkin branch, or journey step). This is the high-value exploratory step run right after a story is created, distinct from the pre-flight compliance gate. This skill should be used when the user asks to "simulate this story", "simulate usage end to end", "find gaps and edges", "run personas through this", "stress-test this story", or invokes /specflow-simulate on a story file or GitHub issue. Scope is Specflow story exploration — it is generative (surfaces and proposes), not a build or a verification gate.Other plugins' skills for the same job