/closedloop-core:guided-manual-qafrom closedloop-core
Derives and runs an interactive, evidence-recorded manual QA session for a code change, ticket, branch, or PR. Guides a human through live behavior checkpoints after repository-aware setup, recording E2E_COVERED or AGENT_VERIFIED evidence where possible.
Ships in closedloop-core. 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.
Run manual QA as a collaboration with the human, and spend the human's time only on what needs human eyes. Present a checkpoint to the human only when both are true: passing E2E on the current head does not already verify it, and the agent cannot reliably verify it itself (see "Prove the checkpoint oracle before asking the human"). Record everything else as E2E_COVERED or AGENT_VERIFIED with its evidence; neither is ever a human PASS. Prepare a safe test environment, then present the remaining human checkpoints one at a time.
E2E_COVERED when E2E covers it; plan only the uncovered part or an explicitly human-only requirement as a checkpoint. A nearby or narrower test does not count as coverage.State the proposed scope, environment, fixtures, and known gaps before launching. If requirements and the live change disagree, record the discrepancy and ask for direction when it materially changes what success means.
ORACLE CORRECTION, withdraw any dependent result, and reopen the affected checkpoints on the approved origin.--ready-selector for this gate; see references/browser-state-fixtures.md.localhost with the repository's intended local service. When persistence is involved, inventory both container runtimes and native listeners, identify the actual engine that owns each port, and compare that with the repository's documented path and the user's stated expectation. Never silently use a pre-existing native database when Docker or Compose is the expected lane, and never claim a database is in Docker without verifying the container and port mapping.started is not readiness by itself; prove the actual listener and the route-owned ready selector before presenting a checkpoint. If a wrapper hangs before spawning the child or listener, run one bounded foreground diagnostic of the same documented command to distinguish wrapper failure from app/runtime failure, then stop that diagnostic before trying a fallback.PENDING checkpoint as the resume point in the record, and continue from it. Do not re-present a checkpoint whose result still applies to the current head.javascript: URLs, raw CDP, or the user's ordinary browser profile.scripts/dist/launch-interactive-browser.mjs (Node 18+, no install step) to open the intentional interactive window with preloaded state. Keep its process alive through the checkpoint and stop only the launcher processes created for the session. The launcher path is relative to this skill's directory, not to the repository under test. Run the launcher with the bootstrapped repository root as the working directory, so it resolves Playwright from that repository, and invoke it by the absolute path you resolve from the directory where you read this SKILL.md.Use bounded recovery. Never repeat an unchanged failing launch command. Make at most one targeted repair per documented launch path, capture the exact command and failure, then move to a documented fallback or mark the affected checkpoint BLOCKED. Do not improvise an unverified substitute and present it as equivalent.
Before the first checkpoint, create a physical, durable Markdown record outside the tracked source tree when possible. Prefer an existing repository-declared QA artifact location; otherwise use a user-level directory outside every repository checkout (for example ~/.local/state/manual-qa/<repo>/<change-target>/). Do not stage or commit it. Base it on references/qa-record-template.md.
Write the exact-head E2E coverage map and the complete remaining checkpoint inventory into that file before walkthrough work begins, including expected results, dependencies, priorities, and initially known gaps. For an existing plan, label a transferred scenario E2E_COVERED only after recording the matching assertion and passing current-head result; exclude it from human PASS counts and keep its earlier details for lineage. Do not silently erase it. The file is the source of truth for session continuity; chat context, summaries, and model memory are not.
Record enough detail for another person to reproduce the session: repository and worktree, base and head, environment, services, flags and permissions, fixtures and cleanup, automated prechecks, each scenario's expected and actual result, confirmer, evidence, recovery attempts, findings, and disposition. Never store secrets or sensitive production data.
Update the physical record immediately after every material setup change, checkpoint response, blocker, recovery attempt, finding, scope change, and cleanup action. Do this before presenting the next checkpoint or ending a turn so a different agent or developer can resume solely from the file. Preserve incomplete scenarios as PENDING or BLOCKED; never remove them because context is tight or a dependency failed.
Do not turn a plausible expectation into a human checkpoint. Before presenting each checkpoint, establish and write its oracle in the physical record:
NOT APPLICABLE and route the requirement to an eligible owner or record the coverage gap.FEATURE_MAP.md, especially entries marked as unreviewed drafts) is corroborating evidence, not a requirement. When a checkpoint shows the map is wrong, record it in the QA record as map drift for the map's owner, not as a product FAIL.NOT APPLICABLE and move the checkpoint to the surface that owns it. Absence by design is neither a pass nor a product failure for the misplaced assertion.pnpm control command set), drive the checkpoint yourself on the same stack before presenting it. Enter through the entry point the requirement names (for example its feature-map id and route or hash when the repository keeps a feature map), not a convenient one. Capture the action and the resulting state. After a write, add a read-only second view of the stored value (for example pnpm control api GET <path>). Run a writing dry run only on disposable data, and reset that data before the human's run. If your run does not show the expected result, settle it as a setup problem, an oracle problem, or a candidate finding before involving the human. If this entry point was already captured on this head, link that capture instead of repeating it. If the protocol cannot reach the entry point, record why. Record the run as agent-observed.If the oracle is still uncertain, run a bounded read-only inspection or split the checkpoint into a diagnostic observation first. Do not ask the human to adjudicate an expectation the agent has not established. An observation that differs from an unsupported inference is not a product FAIL and does not authorize a fix.
Once the oracle is established, route the checkpoint. Record AGENT_VERIFIED with its agent-observed evidence, and do not present the checkpoint, when your own observation on this head (the dry run, a DOM or accessibility read, an API second view, or a log) conclusively shows the expected result and the result needs no human judgment. Route it to the human only when it needs human eyes, and record why:
When your observation of an established expectation is inconclusive, the checkpoint is not AGENT_VERIFIED; route it to the human. If the human cannot observe the discriminating state either, record BLOCKED with reason "inconclusive". When it contradicts the expectation, settle it as a setup problem, an oracle problem, or a candidate finding, as item 6 describes. Never silently pass either.
When a human observation conflicts with the prompt, re-check the cited acceptance or approved requirement and its applicability before opening a finding. If the expectation was wrong or only an unsupported inference, record an ORACLE CORRECTION, preserve the useful observation, withdraw any candidate finding, and revise dependent checkpoints. Do not count an oracle correction as a product FAIL.
For each checkpoint routed to the human:
PASS, FAIL, or BLOCKED, plus the observed result. After presenting the checkpoint, stop tool calls and do not advance on an assumption; resume only when the human responds or asks for setup help.FAIL, re-run the environment proof: listener ownership, settled origin, data target, and the repository's doctor or health command when it has one (for example pnpm control doctor). A result explained by environment drift is a setup BLOCKED or an ORACLE CORRECTION, not a product FAIL. Re-check disputed expectations before classifying a mismatch, then write the status, exact actual behavior, confirmer, timestamp, evidence location, and any oracle correction to the QA record.FAIL, do not change the fixture, flag, seed, viewport, or wording and present it again as the same checkpoint. A changed setup is a new checkpoint with its own oracle; the FAIL row stays.Use these meanings consistently:
PASS: the named human observed the expected behavior in the recorded environment.FAIL: the named human observed behavior that contradicts the expectation.BLOCKED: the checkpoint could not be exercised or judged; record why and what remains unverified. An inconclusive observation is BLOCKED with reason "inconclusive", never PASS.AGENT_VERIFIED: the agent conclusively observed the expected result under the routing rule in "Prove the checkpoint oracle before asking the human"; the human was not asked.E2E_COVERED: a passing E2E assertion on the current head proves the checkpoint's exact host, state, action, and result.Agent inspection, screenshots, logs, API probes, and automated assertions are not human confirmation. They can support a human checkpoint or close one as AGENT_VERIFIED or E2E_COVERED, never as PASS. Label them agent-observed or automated; never fill the confirmer field with the human's name unless that human actually confirmed the result. A result reported outside this conversation (a PR comment, a message) counts only when the platform's author identity matches the named human confirmer. Anyone else's report is supporting evidence.
When a finding is confirmed, assemble a reproducible evidence package in the local record: environment and head, prerequisites, minimal steps, expected and actual behavior, frequency, relevant logs or screenshots, affected surfaces, and cleanup state. Continue with independent checkpoints when safe. Before any source change or external-system mutation, offer an explicit next-action choice and wait for separate authorization.
Clean up only the disposable processes and data created for this run, using repository-supported teardown where available. Do not remove unrelated state.
Store the screenshots, snapshots, and verification-protocol artifacts the record cites in the record's own directory outside the worktree, not only under the worktree; for example, pnpm control writes to the worktree's .control/runs/, which goes away with the worktree. After cleanup, confirm every evidence pointer in the record still resolves, and record any that does not.
End with a concise summary containing:
PASS and FAIL, AGENT_VERIFIED, E2E_COVERED, and BLOCKED, never folded together;Reconcile that summary from the physical QA record rather than reconstructing it from conversation history. Each summary line cites the record section or evidence path that supports it. Label a claim nobody observed inferred (from code) or unverified; agent-observed and automated still say who observed it.
Do not file issues, mutate work items, change source, push code, trigger CI or reviews, or perform other external writes without separate authorization for that specific action.
agents/openai.yaml (opens in a new tab)references/browser-state-fixtures.md (opens in a new tab)references/plan-methodology.md (opens in a new tab)references/qa-record-template.md (opens in a new tab)scripts/dist/launch-interactive-browser.mjs (opens in a new tab)scripts/skill-contract.test.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
manual-qa, qa-session, checkpoint, test-contract, evidence-recording
npx claudepluginhub closedloop-ai/claude-plugins --plugin closedloop-core12 skills in this plugin
/closedloop-intelClosedLoop ticket + codebase intelligence over a shared remote instance. Use PROACTIVELY for questions about ticket scope overlap or duplicate work ("do these tickets overlap", "is someone already doing this", "is this a duplicate"), blast radius ("if I change this file or symbol, what breaks", "which tickets touch this code", "what depends on this module"), ticket lookup by keyword or slug, ticket lineage (which plan produced which issue, branches and PRs for a ticket), and aggregate rollups ("what shipped last week", "what is in progress per project", "what is stale"). Answers with cited evidence (ticket slugs, file paths, graph facts) using the closedloop-graph MCP server. Read-only./decision-tableUse when the user wants a code-grounded decision table for current behavior, wants to compare current behavior against a plan or work item, or needs a control-flow artifact for recovery, retry, finalization, validation, state-machine, or review-heavy edge cases./erd-diagramGenerate or update an interactive ERD (entity relationship diagram) as a single offline HTML file for a Postgres repository, built only from the repo's schema code (a Prisma schema, a SQL schema dump, or a folder of SQL migrations; other ORMs through a model the agent writes from the code). Two styles, canvas-sidebar (one pannable canvas of every table with a table list) and schema-explorer (overview, focused table view, per-domain diagrams). Use when the user asks for an ERD, a database or schema diagram, a map of tables and relationships, or to refresh an existing ERD file.Other plugins' skills for the same job