joshuaculmer/cook_book/e2e

Claude Code and agent skill by joshuaculmer/cook_book

Trust tier 2
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Load when writing end-to-end tests for critical user journeys. Uses Playwright against the local dev server.

Install

npx vskill@latest install joshuaculmer/cook_book/e2e

SKILL.md

The same SKILL.md was published earlier as joshuaculmer/cook_book/e2e.

This project uses Playwright for end-to-end tests. Tests run against the local Vite dev server.

File conventions:

  • E2E test files live in e2e/ at the project root (or tests/e2e/ — check the project layout).
  • Name files after the journey they test: auth.spec.ts, checkout.spec.ts.
  • Use one test.describe block per feature or user journey.

Page Object pattern: Encapsulate page interactions in a Page Object to avoid duplication:

ts
// e2e/pages/LoginPage.ts
export class LoginPage {
constructor(private page: Page) {}
async goto() {
await this.page.goto("/login");
}
async login(email: string, password: string) {
await this.page.getByLabel("Email").fill(email);
await this.page.getByLabel("Password").fill(password);
await this.page.getByRole("button", { name: /log in/i }).click();
}
}

Test patterns:

ts
import { test, expect } from "@playwright/test";
import { LoginPage } from "./pages/LoginPage";
test("user can log in", async ({ page }) => {
const login = new LoginPage(page);
await login.goto();
await login.login("user@example.com", "password");
await expect(page).toHaveURL("/dashboard");
});

What to cover with E2E tests:

  • Authentication flows (login, logout, protected routes)
  • Core user journeys (the main thing the app does)
  • Critical form submissions with real side effects

Do not:

  • Do not write E2E tests for things already covered by unit tests.
  • Do not use page.waitForTimeout() — use expect(locator).toBeVisible() or await page.waitForURL() instead.
  • Do not hard-code test credentials — use environment variables from .env.test.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Refreshed 30 Apr 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/joshuaculmer/cook_book/e2e/badge)](https://verified-skill.com/skills/joshuaculmer/cook_book/e2e)

Something wrong with this skill or its page? Tell us.