Skip to content

docs + skill: scope the "no Playwright" rule and add Playwright Agents positioning - #234

Merged
siddhant573 merged 2 commits into
LambdaTest:mainfrom
SparshKesari:docs/playwright-agents-carve-out
Nov 18, 2026
Merged

siddhant573 merged 2 commits into
LambdaTest:mainfrom
SparshKesari:docs/playwright-agents-carve-out

Conversation

@SparshKesari

Copy link
Copy Markdown
Member

docs + skill: scope the "no Playwright" rule and add Playwright Agents positioning

What this changes

Two things, both wording only. No CLI behaviour changes.

1. Scopes the "do not use Playwright" rule.
The README, the kane-cli skill, context7.json and the Kiro power all told agents never to use Playwright, Puppeteer or Selenium, and never to write test cases by hand. Read literally, that tells an agent to ignore a repo's existing Playwright or Cypress suite.

The rule now says:

  • Do not drive a browser with Playwright, Puppeteer or Selenium directly for checks you run yourself.
  • If the repo already keeps committed E2E tests in another framework, write and run those tests in that framework.
  • Use kane-cli for plain-English checks and to verify the same acceptance criteria independently.
  • "Never write test cases by hand" now reads "never hand-write Kane test cases", so it covers Kane tests only.

2. Says where Kane CLI sits next to Playwright Agents.
A short paragraph in the README ("Where it fits") and a section in docs/user-guide/agents.md. Playwright Agents write and repair spec files the team keeps. Kane CLI is the check a coding agent runs on the flow it just changed.

Files

File Change
README.md New "Next to Playwright Agents" paragraph; rule rewritten in "For AI coding agents reading this"
skill-installer/skills/SKILL.md Description, body rule and authoring line rewritten
.claude/skills/kane-cli/SKILL.md, .agents/skills/kane-cli/SKILL.md Kept identical to the source skill
context7.json Rule rewritten
integrations/kiro-powers/POWER.md Rule rewritten in three places
integrations/kiro-powers/steering/kane-cli-assurance.md "Never write test cases by hand" scoped to Kane test cases
docs/user-guide/agents.md New "Kane CLI next to Playwright Agents" section

Checks

  • diff -r skill-installer/skills .claude/skills/kane-cli and the .agents equivalent: identical
  • npm test in skill-installer: 75 pass, 0 fail, 5 skipped
  • Skill description is 1,023 characters (limit 1,024)
  • context7.json parses

Notes for reviewers

  • The skill description carries a short form of the carve-out ("keep other-framework tests as is"). The full sentence from the wording proposal would take it to 1,171 characters, over the 1,024 limit. The full text is in the skill body.
  • Left out on purpose: the link to LambdaTest/kane-testing-skills and the "if kane-testing-skills is also loaded" line. That repo is not public yet, so both can follow in a later PR.
  • After merge, the skill needs a release (publish-skill.yml, 0.2.1) for the new wording to reach npx @testmuai/kane-cli-skill users. The matching change to /kane-cli-agent/AGENTS.md on testmuai.com is a separate website change.

@SparshKesari
SparshKesari marked this pull request as ready for review November 18, 2026 12:58
@siddhant573
siddhant573 merged commit 9853ef1 into LambdaTest:main Nov 18, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants