kane-testing-skills
Five agent skills that make a coding agent decide what "working" means before it writes a test, write the test in your repo's framework, report only results a runner produced, and say what it checked in the pull request.
They are plain Markdown (Agent Skills format). They work with Claude Code, Codex, Cursor, Gemini CLI and GitHub Copilot CLI. They work without an account. If Kane CLI is installed, the agent can use it to run checks in a real browser; if not, it uses your existing runner (Playwright, Cypress, pytest, npm scripts).
The idea in one line: the agent that wrote the code doesn't grade it. You approve the criteria, the runner gives the verdict, and an optional second check is written from the criteria rather than from the test code.
Apache-2.0. Made by TestMu AI (formerly LambdaTest), the team behind Kane CLI.
Eval status: pending. We are setting up a blind, three-arm eval (no guidance / the 22-line AGENTS snippet / the full pack) on 10 realistic PR tasks. Tasks, rubric and scoring procedure are in evals/. Until evals/results/RESULTS.md has real numbers, this README makes no claim that the pack measurably improves anything.
Why
Coding agents are good at writing tests that pass. That is not the same as tests that prove the feature works. The common failure modes we kept seeing in agent-written PRs:
- Tests derived from the diff, so they check what the code does rather than what the ticket asked for.
- "All tests pass" when nothing ran, or after quietly rerunning until green.
- A failing test "fixed" by changing the expected value.
- A PR description that says "added tests" with no way for a reviewer to see what was verified.
Each skill targets one of those.
The skills
| Skill | What it does | Needs |
|---|
kane-test-intent | Turns a ticket, issue or diff into 3-7 acceptance criteria a user could observe, with exact values and the failure path. Asks you to approve them once. | Nothing |
kane-write-e2e | Writes one test per criterion in the framework your repo already uses, with user-facing locators and waiting assertions. Writes plain-English Kane objectives when that is the repo's convention. | Nothing |
kane-run | Runs the checks with Kane CLI if it is installed and signed in, otherwise with your repo's runner. Reports per criterion, from the exit code and artifacts only. | Your runner, or Kane CLI |
kane-pr-evidence | Writes the "Tested" section of the PR: criteria, results, the exact command, where it ran, an evidence link a reviewer can open, and what is not covered. | Nothing |
kane-failure-triage | Classifies a failing or flaky test (environment, product bug, requirement changed, path changed, flaky, wrong test) before touching it. Repairs how a test reaches its target, never what it checks. | Nothing |
A full run through all five on one change: examples/sample-pr-description.md.
Install (about 30 seconds)
Pick your agent. Every option copies the same five folders; nothing else is installed.
Claude Code
As a plugin:
/plugin marketplace add LambdaTest/kane-testing-skills
/plugin install kane-testing-skills@kane-testing-skills
Or as project skills (committed, so your team gets them):
git clone --depth 1 https://github.com/LambdaTest/kane-testing-skills /tmp/kts
sh /tmp/kts/scripts/install.sh --only claude # writes .claude/skills/kane-*
Codex, Cursor, Gemini CLI, GitHub Copilot CLI
All four read .agents/skills/ in the project (and ~/.agents/skills/ for your user):
git clone --depth 1 https://github.com/LambdaTest/kane-testing-skills /tmp/kts
sh /tmp/kts/scripts/install.sh --only agents # writes .agents/skills/kane-*
# add --global to install for your user instead of this project
Agent-specific alternatives:
- Gemini CLI:
gemini skills install https://github.com/LambdaTest/kane-testing-skills.git --path skills/kane-test-intent --scope workspace (repeat per skill).
- Copilot CLI:
copilot skill add <path-to-skill-folder>, then /skills reload. Copilot also reads .github/skills/.
- Cursor: also reads
.cursor/skills/, .claude/skills/ and .codex/skills/.
Using several agents in one repo
sh /tmp/kts/scripts/install.sh (no flags) installs to both .agents/skills/ and .claude/skills/. Cursor and Copilot CLI read both folders, so they may list each skill twice. That is harmless; use --only agents if you do not use Claude Code.
Third-party installers
These work too. Both are third-party tools; read their docs for what they collect.