Claude Code Plugins

Community-maintained marketplace

Feedback

Runs or writes Playwright tests for the 'careercopilot' webapp. Use when asked to 'run playwright' or 'write a new e2e test'.

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name webapp-testing
description Runs or writes Playwright tests for the 'careercopilot' webapp. Use when asked to 'run playwright' or 'write a new e2e test'.

WebApp Testing Workflow

  1. Ask the user if they want to "run" existing tests or "write" a new test.

  2. If "run":

    • Ask for the test command (default: yarn playwright test).
    • Run the command and report the full output.
    • If it fails, suggest using the root-cause-tracer skill to debug the log.
  3. If "write":

    • Ask for a description of the test (e.g., "test the login flow").
    • Ask for the new test file name (e.g., login.spec.ts).
    • Consult REFERENCE/careercopilot-selectors.md to use stable data-testid selectors.
    • Write the new Playwright test code to e2e/{{FILE_NAME}}.
    • Report success and ask the user if they want to run the new test.