Playwright generate test
Skill kimtth/agent-skill-100-lines-or-less/skills/playwright-generate-test
🧿 Minimal but effective AI agent skill definitions in 100 lines or less.
npx -y skills add kimtth/agent-skill-100-lines-or-less --skill playwright-generate-testAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use when: generate a Playwright test from a user scenario by first exploring the UI and then saving a passing test.
SKILL.md
0.6 KB, as published. Nobody here has run it
Goal: generate a Playwright test from observed UI behavior.
Workflow:
- Ask for a scenario if missing.
- Open or run the app and walk the flow with browser or Playwright tools.
- Capture stable role, label, or text locators.
- Save a TypeScript test under the project's tests folder.
- Run it and iterate until pass or report the blocker.
Rules:
- assert user-visible outcomes, not implementation details
- avoid arbitrary sleeps and brittle CSS
- report file path, command, and result