/fh-qp:qp-runfrom fh-qp
Executes test cases from a QA plan against a live app via Playwright MCP or computer-use MCP, recording per-step verdicts with status, branch, closure type, and masked evidence.
Ships in fh-qp. 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.
Input: qp/plan/tcs.tsv + the adapter/engine lines from qp/plan/inventory.md. Output dir: qp/run/<YYYYMMDD-HHMM>/.
#mtm: is the first line of verdicts.tsv:
| value | when |
|---|---|
ACTIVE | a plan document was given and you opened it (path recorded) |
UNAVAILABLE | no plan document — expected values come from the inventory; the branch differs from plan is unreachable and the vocabulary collapses to AS_PLANNED / CODE_DIFFERS |
FAILED | a plan document was given but could not be read — say so; do not fall back silently |
DISABLED | the user turned it off (reason recorded) |
UNAVAILABLE and FAILED are different events; never merge them. |
Before step 1 of each TC, establish its precondition. Navigation you can do (at:/about) you do; state you cannot create (logged-in, has-an-order) you mark UNMET_UNEXECUTABLE. A step-1 failure under an unmet precondition is BLOCKED, not FAIL — you never reached the screen, so it is not a claim about the app. Only step 1 is re-attributed; later steps failed after arrival.
web: accessibility snapshot before → action → snapshot after. desktop: screenshot before/after. Save each observation as <tc_id>_step<N>_{before,after}.{md,png} and append its stable id from bash plugins/fh-qp/scripts/qp_tools.sh screen-id <file> (a content hash — Playwright MCP ref tokens change every navigation, so a raw file hash is NOT stable; measured 2026-09-05) to evidence.tsv (tc_id<TAB>step<TAB>screen_hash) — this file is what qp-regress reads.
verdicts.tsv (7 tab-separated fields)tc_id status branch closure verb assertion expected_source
status ∈ PASS FAIL BLOCKED AMBIGUOUS (AMBIGUOUS = could not map the step to one element: 0 candidates or a tie).branch ∈ AS_PLANNED DIFFERS_FROM_PLAN CODE_DIFFERS NONE. DIFFERS_FROM_PLAN only under #mtm: ACTIVE and only with expected_source=PLAN_DOC. CODE_DIFFERS needs expected_source CODE or PLAN_DOC. NONE only for BLOCKED/AMBIGUOUS.closure = MACHINE only if assertion names the check that closed it (text-visible:About, url==…, element-count==3). An empty assertion with MACHINE is invalid — that is the muscle-not-skeleton hole this field exists to close. Everything you decided by reading a screenshot is JUDGMENT.bash plugins/fh-qp/scripts/qp_tools.sh mtm-check verdicts.tsv must print OK; run-verbs verdicts.tsv must print OK (≥1 click/input actually executed).Every text artifact goes through qp_tools.sh mask <in> <out> and only <out> is kept; delete <in>. RESIDUE (rc 5) → do not keep the file; report which artifact. Typed secret values (from the profile's *_env) are read from the environment at type-time and never written. Screenshots that show a filled password field are kept only if the field is masked in the image (crop or overlay); otherwise drop the screenshot and say so.
verdicts.tsv passes mtm-check and run-verbs · [mandatory-pass] — rc 0 both.evidence.tsv has ≥1 row per executed TC · [measured].grep -cE '@|Bearer|eyJ' <saved artifacts> is 0 outside __REDACTED_*__ markers · [measured] — the lane reproduces it on a known-dirty fixture.qp-regress re-runs the same TCs and flags verdicts that flip without a DOM change; a second session reviews BLOCKED rows against the before-snapshots].Yes, given a tcs.tsv in the documented shape (hand-written is fine) and an adapter.
What SKILL.md sets; muted values are Claude Code's defaults
sonnetnpx claudepluginhub chrono-meta/forge-harness --plugin fh-qp4 skills in this plugin
/qpQP (Quality Platform) router — takes a web URL or a desktop app name and runs the plan → run → regress loop (qp-plan, qp-run, qp-regress) end to end, or routes to one stage. Classifies the target (public vs profile-required), probes which adapter the session has (Playwright MCP for web, computer-use MCP for desktop), and writes every artifact with a typed engine/adapter marker. Triggers on "test this website for me", "run a QA pass on this app", "check the app end to end", "이 사이트 QA 돌려줘", "이 앱 테스트해줘", "회귀 돌려줘"./qp-planPrepare stage of QP — builds a surface inventory of a web page or desktop app (routes, menus, forms, dialogs), checks it is MECE (no overlap, nothing missing that is visible), and designs test cases as a TSV with preconditions and expected values whose SOURCE is named. Works without a spec document (then expected values come from the inventory, not a plan). Triggers on "what should I test on this page", "make a test plan for this app", "list the screens of this app", "테스트 케이스 뽑아줘", "이 화면 인벤토리 만들어줘"./qp-regressRegression stage of QP — re-executes a previous run's test cases unchanged, computes surface_reach (how many TCs left the entry screen, as a ratio over ALL TCs), and reports the per-TC delta against the earlier run so a "no change" claim is per case, not an aggregate. Triggers on "did anything regress since last run", "re-run last week's QA pass", "compare this run with the previous one", "회귀 확인해줘", "지난 런이랑 비교해줘".Other plugins' skills for the same job