skills/setup-artillery-playwright-reporter/SKILL.md
Set up the Artillery Playwright reporter in an existing Playwright E2E test suite. Installs @artilleryio/playwright-reporter, configures it in playwright.config.ts, sets up Artillery Cloud API key, and runs the suite to verify reporting works. Use when the user wants to add Artillery Cloud reporting to their Playwright tests, monitor E2E test results in a dashboard, or integrate Playwright with Artillery Cloud.
npx skillsauth add artilleryio/agent-skills setup-artillery-playwright-reporterInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are setting up the Artillery Playwright reporter (https://artillery.io) for an existing Playwright E2E test suite. Follow the steps below. Ask the user questions at each decision point marked with DECISION.
Examine the project to determine:
playwright.config.ts (or playwright.config.js). If multiple configs exist, proceed to DECISION below.package-lock.json (npm), pnpm-lock.yaml (pnpm), yarn.lock (yarn), bun.lockb (bun).turbo.json, pnpm-workspace.yaml, lerna.json, or workspaces in package.json. Determine which workspace contains the Playwright test suite.playwright.config.ts already has a reporter section..env files, .env.local, .env.example, or other secret management approaches used in the project.DECISION — If multiple playwright.config.ts files exist, ask the user which one to target.
Install @artilleryio/playwright-reporter as a dev dependency using the detected package manager. In a monorepo, run the install in the workspace that contains the Playwright test suite (e.g. pnpm add -D --filter <workspace> @artilleryio/playwright-reporter).
Add @artilleryio/playwright-reporter to the beginning of the reporter array in playwright.config.ts. If no reporter section exists yet, create one. Merge with any existing reporters — do not remove them.
export default defineConfig({
reporter: [
['@artilleryio/playwright-reporter', { name: 'My E2E Suite' }],
['html', { open: 'never' }], // keep any existing reporters
['dot'],
],
});
The reporter accepts an optional name property to label the test suite in Artillery Cloud. Use a descriptive name based on the project or workspace name.
The reporter needs an ARTILLERY_CLOUD_API_KEY environment variable to send results to Artillery Cloud.
DECISION — Ask the user:
.env / .env.local files are used: add ARTILLERY_CLOUD_API_KEY=<key> to the appropriate .env file. Verify it is listed in .gitignore..env pattern exists: instruct the user to export it in their shell:
export ARTILLERY_CLOUD_API_KEY=<their-key>
Run the Playwright test suite to verify the reporter works. Use the project's existing test command — check package.json scripts for a Playwright test command (e.g. npm test, npm run test:e2e). If none exists, use:
npx playwright test
Once complete, share the following with the user:
npx playwright test run will automatically report to Artillery Cloud as long as the API key is set.tools
Set up Artillery load testing for any project. Detects package manager and project type, creates a TypeScript test script (HTTP or Playwright browser), configures Artillery Cloud, and provides the run command. Use when the user wants to add load testing, performance testing, or browser-based load testing to their project.
development
Convert existing Artillery YAML scripts to TypeScript or ESM JavaScript, auto-detecting the best output format, resolving YAML anchors by inlining, type-annotating exports, and verifying the output via tsc or node --check. Use when the user wants to migrate, rewrite, or translate Artillery load-test scripts from YAML to TS/JS for better IDE support, type checking, and composability.
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.