SKILL

pw-init

Use when setting up Playwright in a project ('set up playwright', 'add e2e tests', 'configure playwright', 'init playwright').

Target: Target not categorized. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Initialize Playwright Project
  • Steps
  • 1. Analyze the Project
  • 2. Install Playwright
  • 3. Generate playwright.config.ts
  • 4. Create Folder Structure
  • 5. Generate Example Test
  • 6. Generate CI Workflow

Set up a production-ready Playwright testing environment. Detect the framework, generate config, folder structure, example test, and CI workflow. Use the Explore subagent to scan the project: Check package.json for framework (React, Next.js, Vue, Angular, Svelte) Check for tsconfig.json → use TypeScript; otherwise JavaScript Check if Playwright is already installed (@playwright/test in dependencies) Check for existing test directories (tests/, e2e/, tests/) Check for existing CI config (.github/workflows/, .gitlab-ci.yml) If not already installed: Or if the user prefers manual setup: Adapt to the detected framework: Next.js: React (Vite): Change baseURL to http://localhost:5173 Change webServer.command to npm run dev Vue/Nuxt: Change baseURL to http://localhost:3000 Change webServer.command to npm run dev Angular: Change baseURL to http://localhost:4200 Change webServer.command to npm run start No framework detected: Omit webServer block Set baseURL from user input or leave as placeholder If .github/workflows/ exists, create playwright.yml: If .gitlab-ci.yml exists, add a Playwright stage instead. Append if not already present: Add to package.json scripts: Run the example test: Rep

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
alirezarezvani/claude-skills
Source file
engineering-team/playwright-pro/skills/pw-init/SKILL.md
Fixed revision
8f082544116fc0d014188e521ca40304cdfc86b0
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: alirezarezvani/claude-skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:46.351Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.