agentleFS
Marwan-Ahmed-devMarwan-Ahmed-dev/vibecode-pro-max/.claude/skills/vc-web-testing/SKILL.md

vc:web-testing

Skill0 starsChanged 3 months agoMITView on GitHub

Web testing with Playwright, Vitest, k6. E2E/unit/integration/load/security/visual/a11y testing. Use for test automation, flakiness, Core Web Vitals, mobile gestures, cross-browser.

Files
SKILL.md

Web Testing

Web testing reference index. Detailed patterns live in references/ — load the one you need.

Quick Start

npx vitest run                    # Unit tests
npx playwright test               # E2E tests
npx playwright test --ui          # E2E with UI mode
k6 run load-test.js               # Load tests
npx @axe-core/cli https://example.com  # Accessibility
npx lighthouse https://example.com     # Performance

Reference Documentation

Load the matching references/ file for the test type you need:

TopicFile
Testing strategy (pyramid/trophy/honeycomb)references/testing-pyramid-strategy.md
Unit + integration (Vitest, AAA)references/unit-integration-testing.md
E2E (Playwright fixtures, sharding)references/e2e-testing-playwright.md
Component testingreferences/playwright-component-testing.md, references/component-testing.md
Test data (factories, fixtures, seeding)references/test-data-management.md
Database testing (Testcontainers)references/database-testing.md
CI/CD (GitHub Actions, sharding)references/ci-cd-testing-workflows.md
Contract testing (Pact, MSW)references/contract-testing.md
Cross-browser matrixreferences/cross-browser-checklist.md
Mobile gesturesreferences/mobile-gesture-testing.md
Core Web Vitals (LCP/CLS/INP)references/performance-core-web-vitals.md
Visual regressionreferences/visual-regression.md
Test flakinessreferences/test-flakiness-mitigation.md
Accessibility (WCAG, axe-core)references/accessibility-testing.md
Security (OWASP)references/security-testing-overview.md
Security checklistsreferences/security-checklists.md
API testingreferences/api-testing.md
Load testing (k6)references/load-testing-k6.md
Pre-release checklistreferences/pre-release-checklist.md
Functional checklistreferences/functional-testing-checklist.md

Scripts

# Initialize Playwright project (config + fixtures + example tests)
node ./scripts/init-playwright.js [--ct] [--dir <path>]

# Parse Playwright/Vitest/JUnit results into unified markdown summary
node ./scripts/analyze-test-results.js \
  --playwright test-results/results.json \
  --vitest coverage/vitest.json \
  --output markdown

CI/CD Pattern

jobs:
  test:
    steps:
      - run: pnpm run test:unit      # Gate 1: Fast fail
      - run: pnpm run test:e2e       # Gate 2: After unit pass
      - run: pnpm run test:a11y      # Accessibility
      - run: npx lhci autorun       # Performance

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.