본문으로 건너뛰기
cccskills
무료GitHub에 공개

playwright-skill

Battle-tested Playwright patterns for E2E, API, component, visual, accessibility, and security testing. Covers locators, fixtures, POM, network mocking, auth flows, debugging, CI/CD (GitHub Actions, GitLab, CircleCI, Azure, Jenkins), framework recipes (React, Next.js, Vue, Angular), and migration guides from Cypress/Selenium. TypeScript and JavaScript.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(76)

  • SKILL.md11.8 KB
  • ci/ci-github-actions.md17.1 KB
  • ci/ci-gitlab.md12.3 KB
  • ci/ci-other.md16.1 KB
  • ci/docker-and-containers.md13.7 KB
  • ci/global-setup-teardown.md17.8 KB
  • ci/parallel-and-sharding.md15.8 KB
  • ci/projects-and-dependencies.md18.8 KB
  • ci/reporting-and-artifacts.md16.9 KB
  • ci/SKILL.md2.7 KB
  • ci/test-coverage.md15.3 KB
  • core/accessibility.md53.2 KB
  • core/angular.md40.7 KB
  • core/api-testing.md51.4 KB
  • core/assertions-and-waiting.md26.8 KB
  • core/auth-flows.md32.5 KB
  • core/authentication.md48.7 KB
  • core/browser-apis.md24.0 KB
  • core/browser-extensions.md14.6 KB
  • core/canvas-and-webgl.md19.8 KB
  • core/clock-and-time-mocking.md19.5 KB
  • core/common-pitfalls.md44.4 KB
  • core/component-testing.md46.4 KB
  • core/configuration.md25.0 KB
  • core/crud-testing.md31.0 KB
  • core/debugging.md26.5 KB
  • core/drag-and-drop.md28.7 KB
  • core/electron-testing.md22.4 KB
  • core/error-and-edge-cases.md39.2 KB
  • core/error-index.md58.2 KB
  • core/file-operations.md26.1 KB
  • core/file-upload-download.md29.6 KB
  • core/fixtures-and-hooks.md32.9 KB
  • core/flaky-tests.md31.0 KB
  • core/forms-and-validation.md39.1 KB
  • core/i18n-and-localization.md24.4 KB
  • core/iframes-and-shadow-dom.md20.5 KB
  • core/locator-strategy.md20.1 KB
  • core/locators.md28.3 KB
  • core/mobile-and-responsive.md58.2 KB
  • core/multi-context-and-popups.md22.3 KB
  • core/multi-user-and-collaboration.md20.0 KB
  • core/network-mocking.md44.8 KB
  • core/nextjs.md36.1 KB
  • core/performance-testing.md23.0 KB
  • core/react.md38.6 KB
  • core/search-and-filter.md43.1 KB
  • core/security-testing.md25.2 KB
  • core/service-workers-and-pwa.md20.3 KB
  • core/SKILL.md7.6 KB
  • core/test-architecture.md24.5 KB
  • core/test-data-management.md35.7 KB
  • core/test-organization.md30.6 KB
  • core/third-party-integrations.md30.4 KB
  • core/visual-regression.md35.4 KB
  • core/vue.md38.6 KB
  • core/websockets-and-realtime.md20.8 KB
  • core/when-to-mock.md28.0 KB
  • LICENSE1.0 KB
  • migration/from-cypress.md47.4 KB
  • migration/from-selenium.md45.0 KB
  • migration/SKILL.md751 B
  • playwright-cli/advanced-workflows.md18.3 KB
  • playwright-cli/core-commands.md10.6 KB
  • playwright-cli/device-emulation.md13.1 KB
  • playwright-cli/request-mocking.md10.4 KB
  • playwright-cli/running-custom-code.md14.8 KB
  • playwright-cli/screenshots-and-media.md10.3 KB
  • playwright-cli/session-management.md9.5 KB
  • playwright-cli/SKILL.md9.3 KB
  • playwright-cli/storage-and-auth.md11.2 KB
  • playwright-cli/test-generation.md11.1 KB
  • playwright-cli/tracing-and-debugging.md12.1 KB
  • pom/page-object-model.md28.7 KB
  • pom/pom-vs-fixtures-vs-helpers.md32.2 KB
  • pom/SKILL.md851 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Playwright Skill

Opinionated, production-tested Playwright guidance — every pattern includes when (and when not) to use it.

50+ reference guides covering the full Playwright surface: selectors, assertions, fixtures, page objects, network mocking, auth, visual regression, accessibility, API testing, CI/CD, debugging, and more — with TypeScript and JavaScript examples throughout.

Golden Rules

  1. getByRole() over CSS/XPath — resilient to markup changes, mirrors how users see the page
  2. Never page.waitForTimeout() — use expect(locator).toBeVisible() or page.waitForURL()
  3. Web-first assertions — expect(locator) auto-retries; expect(await locator.textContent()) does not
  4. Isolate every test — no shared state, no execution-order dependencies
  5. baseURL in config — zero hardcoded URLs in tests
  6. Retries: 2 in CI, 0 locally — surface flakiness where it matters
  7. Traces: 'on-first-retry' — rich debugging artifacts without CI slowdown
  8. Fixtures over globals — share state via test.extend(), not module-level variables
  9. One behavior per test — multiple related expect() calls are fine
  10. Mock external services only — never mock your own app; mock third-party APIs, payment gateways, email

Guide Index

Writing Tests

What you're doingGuideDeep dive
Choosing selectorslocators.mdlocator-strategy.md
Assertions & waitingassertions-and-waiting.md
Organizing test suitestest-organization.mdtest-architecture.md
Playwright configconfiguration.md
Page objectspage-object-model.mdpom-vs-fixtures-vs-helpers.md
Fixtures & hooksfixtures-and-hooks.md
Test datatest-data-management.md
Auth & loginauthentication.mdauth-flows.md
API testing (REST/GraphQL)api-testing.md
Visual regressionvisual-regression.md
Accessibilityaccessibility.md
Mobile & responsivemobile-and-responsive.md
Component testingcomponent-testing.md
Network mockingnetwork-mocking.mdwhen-to-mock.md
Forms & validationforms-and-validation.md
File uploads/downloadsfile-operations.mdfile-upload-download.md
Error & edge caseserror-and-edge-cases.md
CRUD flowscrud-testing.md
Drag and dropdrag-and-drop.md
Search & filter UIsearch-and-filter.md

Debugging & Fixing

ProblemGuide
General debugging workflowdebugging.md
Specific error messageerror-index.md
Flaky / intermittent testsflaky-tests.md
Common beginner mistakescommon-pitfalls.md

Framework Recipes

FrameworkGuide
Next.js (App Router + Pages Router)nextjs.md
React (CRA, Vite)react.md
Vue 3 / Nuxtvue.md
Angularangular.md

Migration Guides

FromGuide
Cypressfrom-cypress.md
Selenium / WebDriverfrom-selenium.md

Architecture Decisions

QuestionGuide
Which locator strategy?locator-strategy.md
E2E vs component vs API?test-architecture.md
Mock vs real services?when-to-mock.md
POM vs fixtures vs helpers?pom-vs-fixtures-vs-helpers.md

CI/CD & Infrastructure

TopicGuide
GitHub Actionsci-github-actions.md
GitLab CIci-gitlab.md
CircleCI / Azure DevOps / Jenkinsci-other.md
Parallel execution & shardingparallel-and-sharding.md
Docker & containersdocker-and-containers.md
Reports & artifactsreporting-and-artifacts.md
Code coveragetest-coverage.md
Global setup/teardownglobal-setup-teardown.md
Multi-project configprojects-and-dependencies.md

Specialized Topics

TopicGuide
Multi-user & collaborationmulti-user-and-collaboration.md
WebSockets & real-timewebsockets-and-realtime.md
Browser APIs (geo, clipboard, permissions)browser-apis.md
iframes & Shadow DOMiframes-and-shadow-dom.md
Canvas & WebGLcanvas-and-webgl.md
Service workers & PWAservice-workers-and-pwa.md
Electron appselectron-testing.md
Browser extensionsbrowser-extensions.md
Security testingsecurity-testing.md
Performance & benchmarksperformance-testing.md
i18n & localizationi18n-and-localization.md
Multi-tab & popupsmulti-context-and-popups.md
Clock & time mockingclock-and-time-mocking.md
Third-party integrationsthird-party-integrations.md

CLI Browser Automation

What you're doingGuide
CLI browser interactionplaywright-cli/SKILL.md
Core commands (open, click, fill, navigate)core-commands.md
Network mocking & interceptionrequest-mocking.md
Running custom Playwright coderunning-custom-code.md
Multi-session browser managementsession-management.md
Cookies, localStorage, auth statestorage-and-auth.md
Test code generation from CLItest-generation.md
Tracing and debuggingtracing-and-debugging.md
Screenshots, video, PDFscreenshots-and-media.md
Device & environment emulationdevice-emulation.md
Complex multi-step workflowsadvanced-workflows.md

Language Note

All guides include TypeScript and JavaScript examples. When the project uses .js files or has no tsconfig.json, examples are adapted to plain JavaScript.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Simulates academic peer review, evaluating papers across Originality, Methodology, Results, and Writing to provide Major/Minor Revision recommendations with actionable feedback. Triggers when a user asks to "review my paper," "simulate peer review," or "give my paper a peer review.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

zebbern/claude-code-guide4.7천2026년 10월 19일 업데이트

This skill should be used when the user asks to "attack Active Directory", "exploit AD", "Kerberoasting", "DCSync", "pass-the-hash", "BloodHound enumeration", "Golden Ticket", "Silver Ticket", "AS-REP roasting", "NTLM relay", or needs guidance on Windows domain penetration testing.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

zebbern/claude-code-guide4.7천2026년 10월 19일 업데이트

This skill should be used when the user asks to "test API security", "fuzz APIs", "find IDOR vulnerabilities", "test REST API", "test GraphQL", "API penetration testing", "bug bounty API testing", or needs guidance on API security assessment techniques.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

zebbern/claude-code-guide4.7천2026년 10월 19일 업데이트

Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

zebbern/claude-code-guide4.7천2026년 10월 19일 업데이트

Interactive system flow tracing across CODE, API, AUTH, DATA, NETWORK layers with SQLite persistence and Mermaid export. Use for security audits, compliance documentation, flow tracing, feature ideation, brainstorming, debugging, architecture reviews, or incident post-mortems. Triggers on audit, trace flow, document flow, security review, debug flow, brainstorm, architecture review, post-mortem, incident review.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

zebbern/claude-code-guide4.7천2026년 10월 19일 업데이트

Authentication patterns: session vs JWT vs OAuth comparison, provider selection (NextAuth, Clerk, Supabase Auth), security checklist, and common mistakes. Use when implementing auth, reviewing auth flows, or choosing auth providers.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

zebbern/claude-code-guide4.7천2026년 10월 19일 업데이트

zebbern의 스킬 모두 보기

이 스킬의 문제 신고