Playwright cli
Skill tbc-servicos/dataagile-agent-kit/playwright/skills/playwright-cli
Setup completo, CLI e test-agents do Playwright. Cobre instalação, playwright.config.ts, todos os comandos npx playwright, fluxo planner/generator/healer com --loop=claude, e autenticação via storageState. Use quando precisar criar, executar ou reparar testes E2E com Playwright CLI.From its SKILL.md
npx -y skills add tbc-servicos/dataagile-agent-kit --skill playwright-cliAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 3 stars3 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.
- runs commandsInstructs the agent to run 3 commands, including `npx playwright --version` and 2 more.
SKILL.md
1.7 KB, 343 tokens by cl100k_base, as published. Nobody here has run it
HARD GATE — Antes de qualquer operação
Antes de gerar configuração, templates ou executar qualquer comando, você DEVE verificar se o Playwright está instalado no projeto atual:
npx playwright --version
Se não estiver instalado (erro de comando não encontrado):
npm init playwright@latest
npx playwright install
Se browsers não estiverem instalados (erro "Executable doesn't exist"):
npx playwright install
Confirme a instalação antes de prosseguir.
Fluxo de decisão
Novo projeto / primeiro setup
→ Consulte references/setup.md para configuração completa do playwright.config.ts
Executar testes existentes
→ Consulte references/cli-commands.md para comandos, flags e filtros
Gerar testes com IA (test-agents)
→ Consulte references/test-agents.md para fluxo planner → generator → healer
Configurar autenticação
→ Consulte references/auth.md para storageState, globalSetup e variáveis de ambiente
Regras Obrigatórias
- Credenciais sempre via variáveis de ambiente — nunca hardcoded
coverage/,test-results/,playwright-report/nunca commitados.env.testsempre no.gitignore- Todo spec deve cobrir ao menos um caso de erro
- E2E requer ambiente real acessível — nunca
localhostem ambientes externos
What ships with it: 7 files
12.2 KB alongside SKILL.md, 3 of them executable
references/
- auth.md2.2 KB
- cli-commands.md2.5 KB
- setup.md2.3 KB
- templates/global-setup.tsruns903 B
- templates/playwright.config.tsruns1.1 KB
- templates/seed.spec.tsruns442 B
- test-agents.md2.7 KB