/xwiki:xwiki-manual-testfrom xwiki
Performs manual acceptance testing of XWiki features via the UI, verifying fixes with before/after baselines and hunting for surrounding issues. Use for QA, release verification, or manual test plans.
Ships in xwiki. 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.
The deliverable is a trustworthy verdict per tested item — verified, failed, blocked or unverified — and the problems found around it, each with the evidence a developer needs to act. A verdict is trustworthy only when someone who did not run the test can check it from the evidence, and when the same check fails on a version without the fix: a check that passes on both proves nothing. That is why every check has a before and an after, every check leaves evidence, and an independent verifier re-judges it before the user sees anything.
The tester is an expert manual QA tester: it uses the product through the UI as a user would, does what the issue says should now work, then deliberately tries to break what surrounds it. Testing only the happy path of the issue's description is what automated tests already do.
edit or inline action with curl (to probe rights, say): XWiki takes an
edit lock in that user's name. Check rights through the REST API or the browser, and cancel any
edit a setup session opened (its lock shows to the testers as "locked by").Nearly all of a run's tokens are spent by its sub-agents, and each request re-sends the agent's whole context: an agent's cost is its requests times its context, so it grows with the square of its lifetime. A tester that reads its own screenshots (about 1.5k tokens each, kept until it ends) and prints raw logs reaches 400k+ tokens of context within a few hundred requests, and a run of a dozen such agents spends a large share of a weekly allowance in a day. So, at every step:
model: "sonnet" when spawning), and testers too at quick depth.Ask for the scope, every run, even when the conversation makes it look obvious. It is one of:
all the issues fixed in an XWiki version, all the issues of an extension version (released or not),
a list of issues, or a manual test plan (a test.xwiki.org page, whose model is in
kb/testing/manual-tests.md). Resolve it into items through the right tracker: JIRA fix version
(xwiki-jira), the repository's GitHub milestone (gh), or the given keys. For each issue also
read its linked PRs: their description gives the intended behaviour, their diff the risk areas —
the diff is read here, by the orchestrator, never handed to a tester (see step 4). Check the
intended behaviour against what a user can actually reach (the macro's parameter list, the
documentation): a PR description can name an internal parameter no user can set, and testing it
yields false findings.
Triage every issue and let the user confirm. Classify each as manual test, covered by automated tests (name the tests), nothing user-visible (build, test-only, refactoring, dependency bump) or not testable here (needs an environment you cannot build), with a one-line reason, and show the list. A release can hold a hundred issues; testing all of them wastes the run, and silently skipping some hides the decision from the user.
For a manual test item, also note whether its fix's PR adds or changes an automated test that
asserts the confirm check's expected result at the same level — a functional test for a UI
check, not a unit test of a helper. Such a test must fail without the fix
(kb/testing/strategy.md#Every change has a test; tests stay silent), so it stands for the
baseline replay of those confirm checks: record it in the plan (baselineProof: the test and the
assertion, quoted), show it in the triage list so the user can object, and prove it by a run of
the test on the baseline when that is cheap. The other checks and the findings still replay.
Ask the user, every run, in one round of questions (a question dialog when the host has one):
agent-browser CLI drives Chrome only; another browser needs another driver
(e.g. Playwright), so say what it adds in setup and time.baselineHasBug: false (new behaviour has no before either).ok, for each finding, for the visual checks
(layout, rendering), and by the baseline replay (opened only when its text does not settle it). The others:
every check point (a screenshot at each, both phases), and full (plus a video per item, phase
and session, for a reviewer who wants to watch the run). Say that each level up costs the testers
and the verifiers more, and roughly how much.Then propose — and wait for an OK on — the split into testers (step 4), with each role's model and the run's rough cost.
Reuse a matching instance already on the machine when there is one; otherwise create it — an
official Docker image (xwiki:<version>-<db>-<engine>: MySQL, MariaDB or PostgreSQL on Tomcat) or a
distribution zip (HSQLDB on Jetty) under the work directory — after telling the user what will be
created. External tools likewise (their official image).
Then prove the instance runs the build under test before testing anything, and again after each
version switch (step 5): list the installed extensions with their versions and namespaces from a
wiki page, compare them with the expected artifacts, and save that page's screenshot as
<run>/versions-<phase>.png, the proof testers and verifier are pointed to. For a local build,
also compare the jars with the built ones entry by entry, not by checksum. A mismatch makes the
whole run blocked. How to install, switch versions and avoid a local snapshot losing to a published
one: xwiki-deploy-extension.
Tell the user the run directory once: <work dir>/<repo>/<date>-manual-test-<slug>/. Everything
the run produces goes there: plan.json, evidence, report.
Write plan.json (format: references/report.md): for each item, the scenarios — the scripted
confirmation of the expected result first, then the exploration charter (concrete risk areas, the
tours of references/tours.md that apply) — the users each needs (Admin always; a simple user and
a guest when what is shown depends on rights), and whether it is global.
Testers are fresh sub-agents, blind to the code. Brief each with references/tester-brief.md
(and the absolute paths of the other references it names) plus its items' steps to reproduce,
actual and expected result (strip any "Cause" or code analysis from the issue text), the PR's
behavioural description, the risk areas, and the setup facts a user would know from the
documentation: the connection or instance name to use, parameter value formats (an id or a name),
property ids, how to point a page at a non-default configuration. Never the diff, the fixer's
reasoning, or your own expectation of the bug. A tester who has read the code tests what the
developer thought of; the point is to find what they did not. Missing setup facts cost more than
anything else: a macro that silently renders nothing looks like a bug.
Parallel testers share one instance. Each gets its own users (QATester<n>, and
QATester<n>Simple when rights matter, created by the run), its own browser sessions
(agent-browser --session <tester>, <tester>-simple, <tester>-guest), its own test space
QA.<date>-<slug>-<tester> and, for an integration, its own project in the external tool, created
through that tool's API. Split by area so two testers do not exercise the same page, and keep each
tester short (see "Token cost"). Each tester saves, per check, the commands that reach its check
point and capture its text evidence as a check script, so the before phase replays it without a
tester's context or exploration.
A scenario that changes shared state would change what the other testers see mid-run: a wiki preference (date format, language), an extension's administration settings or its default connection, global rights, the configuration files, and the external tool's instance-wide settings. Prefer a per-page alternative when there is one (link the test page to its own configuration instead of changing the default). Otherwise mark it global; run global scenarios alone, after the parallel batch, one at a time, recording the original value and restoring it at the end of each phase.
Every check runs on both versions, with the same steps and evidence. The order:
result-after.json.xwiki-deploy-extension, one job per extension, dependents first)
and prove it (step 3). Close every tester session and log each user in again: skin extensions
are cached.PHASE=before, a fresh RUN; parallel across testers, global ones after and alone),
cut the server log to each script's time window, and write result-before.json (format:
references/report.md) with the results left unjudged for the verifier. Only a script that
breaks before its check point, and a finding with no script, get a replayer on Sonnet
(references/replayer-brief.md). No new exploration.A check that does not show the bug on the baseline is reported as such: it does not prove the fix. A finding absent on the baseline is a regression of the fix: a reopen of its issue while unreleased, else a new blocking issue. Present on the baseline, it is pre-existing: a new issue that does not block. "Different" is decided per finding: one the original bug masked on the baseline (an error or an empty table in its place) is a regression. This classification applies to every severity, since the release decision depends on it.
Every check carries, whatever the evidence level (layout and details: the tester brief):
A finding has: steps to reproduce from a clean state, expected and actual result, a screenshot of the actual result in each phase where it shows, the evidence above (a HAR when a request is at fault), the environment, and a severity on the target tracker's own scale (JIRA priorities; the repository's priority labels on GitHub). A problem seen once and not reproduced goes in a separate "observed once" list. Accessibility findings are measured against WCAG 2.2 AA, and only violations introduced on the changed UI are findings; pre-existing ones are listed apart.
Before reporting, hand fresh verifier sub-agents on Sonnet references/verifier-brief.md, the plan, the
tracker's severity scale and filing policy, the version proofs and the evidence — not the testers'
reasoning. Give one verifier a group of testers small enough for it to open every screenshot it
must (its brief). It re-judges every check, verdict and finding from the evidence alone, and is the
only judge of the scripted baseline replays: a verified verdict whose expected result is not
visible becomes unverified; a finding the evidence does not support is dropped or marked doubtful.
Where a baseline judgment decides an item's outcome — a check unproven, a finding a regression
rather than pre-existing — a second verifier on the default model judges that evidence too, since
no tester did. Report the verifiers' verdicts, and where one disagreed with a tester, both.
Write the report as report/index.html in the run directory (structure: references/report.md),
and publish it as a private artifact when the host can: the findings with their proposal (reopen,
new issue, not a bug), then per item its before/after check table with each check's evidence
(text excerpts, screenshot pairs where taken, video links at full), findings detail collapsed. Little text: the tables carry it.
Prepare drafts — a reopen comment for a regression of an unreleased fix, a new issue per pre-existing finding, a "verified on " comment per verified issue — and show them. Post each only after the user's OK.
Ask before deleting the test spaces, users and external-tool data the run created (keep them while findings are open, so the user can look), and stop only the instances the run started.
plan.json keeps the verdicts. A re-test of the same scope re-runs the items that are not
verified, plus a quick check of the verified ones in the areas the new fixes touch — through their
check scripts where they still run — with the same report. It is cheaper on three counts, each to
keep: propose quick depth and one tester per area of the new fixes; skip the before phase of a
check whose baseline evidence already shows the bug (the baseline has not changed); and verify only
the checks and findings with new evidence.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub xwiki/xwiki-dev-llm --plugin xwiki38 skills in this plugin
/xwiki-backportBackport any change (bug fix, feature, refactor, or test) to an older branch of an XWiki repo (xwiki-platform / xwiki-commons / xwiki-rendering / xwiki-contrib). Cherry-pick `-x` the source commit(s) into a worktree, ADAPT the result to the older branch (module pom versions, Java level, `@since` tags, data migration versions and skip ranges, style/API divergence), verify it compiles against that branch, and push / open a PR. Use whenever a commit that exists on one branch needs to be applied to an older/maintenance branch. For the `testneeded`-labelled test sweep use xwiki-backport-testneeded (which builds on this skill); for Maven commands use xwiki-build; for PR/commit conventions use xwiki-pull-request; for the versioning/`@since` conventions (the format and what carries `@since`) use xwiki-knowledge./xwiki-backport-testneededBackport the automated test of one JIRA issue labelled `testneeded` to the currently-supported stable branches, adjust its `@since` tags across all branches, and open the PRs. Use when asked to backport the test of a given testneeded issue, or to catch a stable branch up with a recently-added test. (For several issues at once, the user will say so — then apply this per issue.) This is the test-specific layer on top of xwiki-backport (which owns the generic cherry-pick / adapt-to-branch / verify mechanics — including the mandatory pom-version, Java-version and `@since` checks). For Maven use xwiki-build; for PR/commit conventions use xwiki-pull-request; for the `@since` rules use xwiki-knowledge; for querying JIRA (the testneeded sweep) use xwiki-jira./xwiki-buildBuild and test XWiki Maven modules. Use when building XWiki, running its tests, or when the user mentions mvn, a build, a failing test, or a specific XWiki module./xwiki-capture-ui-changeCapture the "before" screenshot of a fix to existing XWiki UI when the branch can no longer produce it (the fix is already in the working tree) - on the released version's Docker image, or by building and deploying the pre-fix code on a local instance - and shoot the same fixture in both states. Costs minutes to tens of minutes, so propose it and run it only with the user's explicit approval. Not for a new feature or a redesign (there is no "before"), nor when the bug can still be shot on a running instance before applying the fix. For deploying an extension without a comparison use xwiki-deploy-extension; for Maven commands use xwiki-build; for the PR/JIRA screenshot conventions use xwiki-pull-request; for manually testing every fix of a release use xwiki-manual-test./xwiki-ci-checkEXPLICIT INVOCATION ONLY — never load this skill to answer a question about CI. The daily acting sweep of ci.xwiki.org: it turns what is red on the maintained branches into incidents, attributes each to the commit that caused it and comments there, opens PRs for mechanical fixes (a failing quality gate or a build break first), files proven flicker issues, drafts a fix for one flicker, and posts a digest to Matrix. Only with --write does it write to GitHub, JIRA and Matrix; otherwise it analyses to stdout and asks before each write. Use ONLY when named — `/xwiki-ci-check`, "run the CI check", or a scheduled routine invoking it by name. Do NOT use it for "what's the CI status?", "is master green?", "why is this test failing?" or any other read-only CI question: those are xwiki-release-test-triage. To fix one flicker use xwiki-fix-flickering-docker-test, to file an issue use xwiki-jira, to open a PR use xwiki-pull-request, for Maven use xwiki-build, for Sonar findings use xwiki-fix-sonarqube-issue./xwiki-contrib-releaseRelease an xwiki-contrib extension (groupId org.xwiki.contrib) end to end — preflight, `mvn release:prepare`/`release:perform` to nexus.xwiki.org, the issue-tracker version (JIRA or OpenProject), the extensions.xwiki.org import and release notes, then the hand-off to the announcement. Use when asked to release or publish a version of a contrib extension ("release v1.15 of the doc app"). Not for xwiki-commons/rendering/platform releases (use xwiki-xs-release). For the blog post use xwiki-contrib-release-blog-post; for Maven/JDK use xwiki-build; for tracker calls use xwiki-jira or xwiki-openproject.