claude-code-agents: Command for Claude Code

.claude/commands/workflow-qa-e2e.md

workflow-qa-e2e is a command for Claude Code from rcdelacruz/claude-code-agents. It costs 9 tokens per session (3,315 once invoked), scanned B, original, MIT.

A set of instructions for writing end-to-end tests with Playwright, a tool that checks a complete user journey in a real browser. It covers planning scenarios such as signing in, submitting forms, using core features, and handling errors.

In plain words
What is it for?
Use it to plan and create browser tests for signup, login, content creation, payments, forms, routing, errors, and unusual inputs.
Why use it?
It helps catch problems that unit tests can miss, such as broken navigation, validation, permissions, or checkout flows.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is rcdelacruz/claude-code-agents's own configuration. It tells Claude Code how to work on claude-code-agents itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-code-agents configures →

Reuse

Borrowing it

Nothing to install: this file belongs to rcdelacruz/claude-code-agents. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/rcdelacruz/claude-code-agents/main/.claude/commands/workflow-qa-e2e.md
Clone the repo
git clone --depth 1 https://github.com/rcdelacruz/claude-code-agents

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for workflow-qa-e2e

README.md
[![agentmods](https://agentmods.dev/badge/commands/rcdelacruz/claude-code-agents/workflow-qa-e2e/github.svg)](https://agentmods.dev/commands/rcdelacruz/claude-code-agents/workflow-qa-e2e)
Your own site
<a href="https://agentmods.dev/commands/rcdelacruz/claude-code-agents/workflow-qa-e2e"><img src="https://agentmods.dev/badge/commands/rcdelacruz/claude-code-agents/workflow-qa-e2e/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for workflow-qa-e2e

Your own site · 80×15
<a href="https://agentmods.dev/commands/rcdelacruz/claude-code-agents/workflow-qa-e2e"><img src="https://agentmods.dev/badge/commands/rcdelacruz/claude-code-agents/workflow-qa-e2e.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,315 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00009 $0.03315
Opus 5.5 $0.00004 $0.01326
Sonnet 5.5 $0.00002 $0.00663
Haiku 4.5 $0.00001 $0.00331

Measured 2mo ago against content hash da6ea88ed650, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

workflow-qa-e2e scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

const response = await fetch('http://localhost:3000/api/test/users', { method: 'POST',
.claude/commands/workflow-qa-e2e.md · 495 lines

How it starts

The opening of the file, as written. The whole thing — 495 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are in E2E TESTING MODE.

Use qa-tester agent to write Playwright end-to-end tests.

E2E Testing Workflow

1. Test Planning (10 mins)

Identify Critical User Flows

  • User authentication (signup, login, logout)
  • Core feature usage (create, read, update, delete)
  • Payment/checkout flows
  • Form submissions
  • Navigation and routing
  • Error scenarios

Define Test Scenarios

// User Story: User can create and publish a blog post

Scenarios:
1. Happy path: Create and publish post successfully
2. Validation: Form validation prevents invalid input
3. Authorization: Only authenticated users can create posts
4. Error handling: Network error shows appropriate message
5. Edge case: Very long title/content

2. Playwright Setup (5 mins)

Install Playwright

npm install -D @playwright/test
npx playwright install

playwright.config.ts

import { defineConfig, devices } from '@playwright/test'

export default defineConfig({
  testDir: './e2e',
  fullyParallel: true,
  forbidOnly: !!process.env.CI,
  retries: process.env.CI ? 2 : 0,
  workers: process.env.CI ? 1 : undefined,
  reporter: 'html',

  use: {
    baseURL: 'http://localhost:3000',
    trace: 'on-first-retry',
    screenshot: 'only-on-failure',
  },

  projects: [
    {
      name: 'chromium',
      use: { ...devices['Desktop Chrome'] },
    },
    {
      name: 'firefox',
      use: { ...devices['Desktop Firefox'] },
    },
    {
      name: 'mobile',
      use: { ...devices['iPhone 13'] },
    },
  ],

  webServer: {
    command: 'npm run dev',
    url: 'http://localhost:3000',
    reuseExistingServer: !process.env.CI,
  },
})

3. Page Object Model (15 mins)

Create Page Objects for Reusability

// e2e/pages/login.page.ts
import { Page, Locator } from '@playwright/test'

export class LoginPage {
  readonly page: Page
  readonly emailInput: Locator
  readonly passwordInput: Locator
  readonly submitButton: Locator
  readonly errorMessage: Locator

  constructor(page: Page) {
    this.page = page
    this.emailInput = page.getByLabel('Email')
    this.passwordInput = page.getByLabel('Password')
    this.submitButton = page.getByRole('button', { name: 'Sign in' })
    this.errorMessage = page.getByRole('alert')
  }

  async goto() {
    await this.page.goto('/login')
  }

  async login(email: string, password: string) {
    await this.emailInput.fill(email)
    await this.passwordInput.fill(password)
    await this.submitButton.click()
  }

  async expectError(message: string) {
    await expect(this.errorMessage).toContainText(message)
  }
}

// e2e/pages/posts.page.ts
export class PostsPage {
  readonly page: Page
  readonly createButton: Locator
  readonly titleInput: Locator
  readonly contentInput: Locator
  readonly publishButton: Locator

  constructor(page: Page) {
    this.page = page
    this.createButton = page.getByRole('button', { name: 'New Post' })
    this.titleInput = page.getByLabel('Title')
    this.contentInput = page.getByLabel('Content')
    this.publishButton = page.getByRole('button', { name: 'Publish' })
  }

  async goto() {
    await this.page.goto('/posts')
  }

  async createPost(title: string, content: string) {
    await this.createButton.click()
    await this.titleInput.fill(title)
    await this.contentInput.fill(content)
    await this.publishButton.click()
  }

  async getPostByTitle(title: string) {
    return this.page.getByRole('article', { name: title })
  }
}

Read the full file on GitHub · 495 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 495 lines · 9 tokens per session scan B da6ea88ed650

Subscribe to this mod's changes

workflow-qa-e2e is a command published in the GitHub repository rcdelacruz/claude-code-agents (2 stars, last pushed 1y ago), licensed MIT. It adds 9 tokens to every session and 3,315 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it B with 1 finding (sends data to an external url). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

workflow-qa-e2e compared with commands from other repositories

workflow-qa-e2e next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
workflow-qa-e2ercdelacruz/claude-code-agentsCommand21y agoMITB9Claude Code
playwright-test-healmicrosoft/playwrightCommand99kyesterdayApache-2.0A2GitHub Copilot
webapp-testinghamr0/agentic-toolkitCommand236d agoApache-2.0A35Claude Code
verify-prdesplega-ai/qa-useCommand291mo agoMITA0Claude Code
ui-snapshot.templateevan043/claude-cli-advanced-starter-packCommand613mo agoMITA0Claude Code
test-rundesplega-ai/qa-useCommand291mo agoMITA0Claude Code
laravel-playwrightjpcaparas/superpowers-laravelCommand1574mo agoMITA20Claude Code