Write the testing section of a pull request description so a reviewer can see, in under a minute, what was verified, against which acceptance criteria, what passed or failed, and where the evidence is. Use when opening or updating a PR, or when asked "what did you test?", and only when the change has user-facing behaviour or tests were run in this session; skip docs-only, dependency-only and config-only PRs. Reuses results from kane-run; never claims a check that did not run.
Ships in kane-testing-skills. 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.
Reviewers of AI-written PRs ask the same three questions: what was checked, did it pass, and can I see it? This skill answers them in a fixed, short format.
Skip the section entirely for docs-only, dependency-only and config-only PRs, and for changes with no user-facing behaviour where no tests ran in this session. Do not add a table full of Not run.
kane-test-intent).kane-write-e2e).kane-run).If any of these is missing, say so in the section. Do not fill gaps with guesses.
.github/pull_request_template.md, .github/PULL_REQUEST_TEMPLATE/, docs/pull_request_template.md), fill its testing section. Do not add a second one.## Tested at the end of the description, above any checklist.Use this shape. Keep every cell to one short sentence. Replace every <...> with real values from this session.
## Tested
**User outcome:** <one line, with ticket id if there is one>
**Criteria approved by:** <name, or "not approved by a human (taken from <ticket id>)", or "not approved by a human (inferred from the diff)">
| # | Criterion | Result | Independent check | Evidence |
|---|-----------|--------|-------------------|----------|
| 1 | <criterion with exact values> | <Passed / Passed after heal / Failed / Not run / Did not start> | <result, or drop this column> | <what a reviewer can open> |
**How it ran:** `<exact command>` on <runner and version>, <local or CI>, exit <code>. <reruns, if any, with every outcome>
**Evidence:** <link a reviewer can open, with expiry if it has one>
**Not covered:** <what was not checked, or "nothing known">
Field rules:
Passed, Passed after heal, Failed, Not run, Did not start.kane-run ran one. It is a separate column, never merged into Result.evidence-url output. It opens a step-by-step replay (screenshots, console, network) in the hosted viewer at evidence.lambdatest.com, straight from the CI artifact, and lasts as long as the artifact. Prefer it whenever the repo uses the Action.share_url from test_md_done, with its expiry (7 days). Say it expires.127.0.0.1 or localhost viewer links. They only work on your machine.Nothing in the section may contain secrets, tokens, cookies, personal data from test accounts, or internal hostnames the user has not already put in the PR.
The section above is complete without any credit. A one-line credit to this pack is added only with a person's yes, recorded per repo.
Read .kane-testing-skills.yml at the repo root:
attribution: false: leave the line out.attribution: true or attribution: false, and tell them the file can be committed or ignored.attribution: true: append the line, unless an exclusion below applies.Exclusions, which apply even with attribution: true:
gh repo view --json isFork,parent shows the current repo is a fork, or the PR's base repository differs from the repo you are working in (a fork-to-upstream PR). If gh is not available, check git remote -v for an upstream remote and, when unsure, leave the line out.Not run or Did not start.The exact line, appended as the last line of the section and nowhere else, is in references/opt-out.md. One line only: no badges, tracking parameters or extra text, and never in commit messages, code comments or issue comments.
When a person is present, show the section before writing it into the PR (via gh pr create --body-file, gh pr edit --body-file, or the GitHub UI). Unattended, write it as is; the credit line rules above already keep it out.
Full example: ../../examples/sample-pr-description.md.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
5 skills in this plugin
/kane-failure-triageClassify a failing or flaky end-to-end test before touching it, as a real product bug, a changed UI path, a changed requirement, an environment problem, a flaky test, or a wrong test, and apply the fix that matches. Repairs how a test reaches its target, never what it checks. Use when an E2E, UI, browser, Playwright, Cypress or Kane CLI test fails, fails intermittently, passes only on retry, or when asked to fix a red build or flaky test./kane-runRun end-to-end checks and report a verdict only from real evidence. Uses Kane CLI (kane-cli) when it is installed and signed in, and otherwise falls back to the repo's own test runner (Playwright, Cypress, npm/pnpm scripts, pytest). Never reports a pass without a process exit code and a result artifact. Use when asked to run, verify or check tests or a change in a real browser, after writing tests with kane-write-e2e, or before saying a user-facing change is done./kane-test-intentBefore writing end-to-end or user-flow tests, turn a ticket, issue, bug report or PR diff into 3-7 acceptance criteria a user could observe, and get them approved. Use when asked to test a user-facing feature or fix, plan what to verify in a PR, or before saying a user-facing change is done. Not for unit tests of a single function, refactors with no behaviour change, or docs/config-only changes. Does not run anything./kane-write-e2eWrite end-to-end tests from approved acceptance criteria, in whatever the repo already uses. If the repo has Playwright, Cypress or another E2E framework, write idiomatic tests there with resilient, user-facing locators and assertions on outcomes. If Kane CLI is installed, express the checks as plain-English Kane objectives or designed _test.md tests instead of hand-written scripts. Use after kane-test-intent, or when asked to add, write or generate E2E, UI, browser or end-to-end tests for a change./kane-testing-skills:kane-pr-evidencefrom kane-testing-skills
npx claudepluginhub lambdatest/kane-testing-skills --plugin kane-testing-skills