AGENT SKILL

qp

QP (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 돌려줘", "이 앱 테스트해줘", "회귀 돌려줘".

License 许可
MIT
最近更新
2026-11-15
Stars
★ 33
Forks
1

01 前言 Front Matter

name
qp
model
sonnet
origin
chamber run fh-qa-generic (2026-09-05) — generic edition of a field QA harness's P·A·R loop; zero domain constants
description
QP (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 돌려줘", "이 앱 테스트해줘", "회귀 돌려줘".
allowed-tools
[ "Read", "Bash", "Write", "Glob", "Grep" ]
user-invocable
true

03 SKILL.md 正文

qp — Quality Platform router

One entry point for people who want to dynamically test a web or desktop app with a QA lens from inside Claude Code. Three stages, each its own skill, each leaving files:

stage skill you get
Plan qp-plan qp/plan/inventory.md (surfaces the app exposes) + qp/plan/tcs.tsv (test cases)
Automation (run) qp-run qp/run/<ts>/verdicts.tsv + masked evidence (DOM snapshots or screenshots)
Regression qp-regress qp/regress/<ts>/surface_reach.txt + per-TC delta vs the previous run

Glossary (one line each, because a first-time reader asked): TC = test case · inventory = the list of screens/routes/menus the app exposes · MTM = each finding is labeled as planned / differs from the plan document / code differs · precondition = what must already be true before a step runs (logged in, page loaded), checked not assumed — a failure before it is met is BLOCKED, not FAIL · surface_reach = how many TCs actually left the entry screen · engine = which machinery drove the run (see §Engine).

Step 0 — classify the target (mechanical, never by eye)

bash plugins/fh-qp/scripts/qp_tools.sh target-class <https://… | app:NAME> [--profile <file>]
result rc what you do
PUBLIC 0 proceed
PROFILE_OK 0 proceed with the profile
PROFILE_REQUIRED 4 stop. Say: "this target is not public; QP needs a profile file — copy plugins/fh-qp/qp_profile.example.yaml to a gitignored path, fill the host/app, and re-run with --profile." Do not improvise a run against a private host.
UNKNOWN 10 stop, report the target form QP accepts

Step 1 — probe the adapter (mechanical; unknown ≠ present)

List the MCP tool names this session actually has (from your tool list — do not guess), then:

bash plugins/fh-qp/scripts/qp_tools.sh adapter-probe --need web|desktop --tools "<comma-separated tool names>"

ADAPTER=… evidence=dom|pixel → proceed and write that line into every artifact header. HARNESS_ERROR (rc 10) → stop. Write qp/HARNESS_ERROR.txt with the reason and tell the user which MCP to connect (Playwright MCP for web · computer-use MCP for desktop). This is not a pass and not a skip.

Engine — typed capability vs MCP fallback (form C)

  • If a QA harness has registered a typed capability whose id ends in :par (check .claude/capabilities/**/*.cap and bash scripts/cluster_capability_scan.sh when in an FH hub), call its entry and merge constraints strictest-wins (capability_composition_contract.md). Engine marker: engine=capability:<id>.
  • Otherwise drive the target yourself through the adapter from Step 1. Engine marker: engine=mcp-fallback adapter=<name> evidence=dom|pixel.
  • As of 2026-09-05 no such capability is registered anywhere — the fallback is the only path that exists. If the user explicitly asks for the capability engine (--engine capability) and none is registered → HARNESS_ERROR reason=capability-not-registered, never a silent fallback.
  • Desktop (evidence=pixel) is the weaker edition: no DOM, so verify closes only by screenshot text you can read, and surface_reach hashes screenshots, not DOM. Say so in the report header.

Step 2 — run the stages

qp <target> = plan → run → regress in order, stopping at the first HARNESS_ERROR. qp plan|run|regress <target> = one stage. Each stage skill carries its own Done When.

Done When

  1. Target classified with a target-class line recorded in qp/plan/inventory.md header · [mandatory-pass] — rc is the check.
  2. Adapter probed and ADAPTER= or HARNESS_ERROR written to a file · [mandatory-pass] — file exists and matches the probe output.
  3. Every artifact header carries engine= and evidence= · [measured] — grep -L 'engine=' qp/**/*.md qp/**/*.tsv is empty.
  4. Stages chained in P→A→R order with no stage skipped silently · [judged — pairing: the lane scripts/test_fh_qp_lanes.sh and the per-stage Done When files].

Independently executable

Needs only bash + the session's MCP adapter. No other FH skill is required. Inside an FH hub the capability scan is optional.

Not this skill

Mobile (deferred). Verifying FH itself (use FH's own gates). Fixing the app.

04 同仓库更多 Skills

chrono-meta
chrono-meta/forge-harness

todo-orchestrator

TODO CLI 프로젝트의 기능 추가·버그 수정·리팩터링·테스트 보강을 개발자와 QA 에이전트로 조율한다. todo 앱 관련 코드 작업 요청에 사용한다. 다시 실행, 재실행, 수정, 보완, 이전 결과 개선, QA만 다시 같은 후속 요청에도 사용한다. 단순 질문에는 사용하지 않는다.

★ 33
chrono-meta
chrono-meta/forge-harness

todo-dev

TODO CLI(todo/cli.py)에 명령을 추가하거나 버그를 고치고 테스트를 작성하는 방법. todo 앱 코드 수정·기능 추가·테스트 작성·리팩터링 작업에 사용한다. 수정, 보완, 다시 구현 요청에도 사용한다.

★ 33
chrono-meta
chrono-meta/forge-harness

todo-dev-team

TODO CLI(todo/cli.py) 개발 작업을 개발자·테스터·리뷰어 팀으로 진행하는 오케스트레이터. 명령 추가, 버그 수정, 테스트 작성, 리팩터링, 커밋·푸시 요청에 사용한다. 다시 실행, 재실행, 수정, 보완, 리뷰 반영, 테스트만 다시 같은 후속 요청에도 사용한다. 단순 질문에는 쓰지 않는다.

★ 33
chrono-meta
chrono-meta/forge-harness

todo-dev

TODO CLI 개발 작업(명령·기능 추가, 버그 수정, 테스트 작성, 리뷰, 커밋·push)을 개발자·테스터·리뷰어 에이전트 팀으로 진행하는 오케스트레이터. todo CLI, todo.json, todo/cli.py 관련 구현·수정·테스트 요청에 사용한다. 재실행, 수정, 보완, 이전 결과 개선, 테스트만 다시, 리뷰만 다시 요청에도 사용한다. 단순 질문에는 쓰지 않는다.

★ 33
chrono-meta
chrono-meta/forge-harness

weekly-summary-write

정리된 회의록으로 주간 회의 요약 문서를 작성하는 형식과 문체 규칙. 주간 요약 작성, 요약 문서 수정·보완, 검토 의견 반영 시 사용한다.

★ 33
chrono-meta
chrono-meta/forge-harness

weekly-meeting-summary

주간 회의록을 정리하고 요약 문서를 만드는 전체 작업을 조율하는 오케스트레이터. 회의록 요약, 주간 회의 정리, 주간 보고용 요약 요청 시 사용한다. 다시 실행, 재실행, 요약 수정·보완, 이전 결과를 바탕으로 한 개선, 정리만/검토만 다시 같은 후속 요청에도 사용한다.

★ 33