[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KS5DK20MG8958X561VWR44":3,"skill-same:01M6KS5DK20MG8958X561VWR44":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":6,"ownerHtmlUrl":54,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":55,"install":56,"resources":68},"01M6KS5DK20MG8958X561VWR44","playwright-best-practices",null,"Writes Playwright end-to-end tests with best-practice selectors and assertions.","JackSmack1971\u002Ffullstack-council","JackSmack1971","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128181597?v=4","01M6KS1FH32N6WNWZ68JC9FFDJ","01M6KS1FNAEAKMQ2K1084NTEKF",1,"MIT","https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Ffullstack-council\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fplaywright-best-practices-skill\u002Fplaywright-best-practices\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35],"playwright","best practices","playwright best practices","assertions","github","with","add","end","tests","npx","best-practices","files","best-practice","list","read","file","https","dev","2026-11-10 10:12:30",false,"---\ndescription: Writes Playwright end-to-end tests with best-practice selectors and assertions.\nsource:     https:\u002F\u002Fskills.sh\u002Fcurrents-dev\u002Fplaywright-best-practices-skill\u002Fplaywright-best-practices\ngithub:     https:\u002F\u002Fgithub.com\u002Fcurrents-dev\u002Fplaywright-best-practices-skill\ninstall:    npx skills add currents-dev\u002Fplaywright-best-practices-skill --skill playwright-best-practices\ninstalls:   20.9K\nscraped_at: 2026-04-04T15:05:30Z\nallowed-tools: [read_file, list_files]\n---\ndescription: Writes Playwright end-to-end tests with best-practice selectors and assertions.\n\n## Summary\n\n- Covers 50+ testing patterns including E2E, component, API, GraphQL, visual regression, accessibility, security, mobile, and Electron app testing\n- Includes activity-based lookup tables for writing new tests, debugging failures, fixing flaky tests, and infrastructure setup\n- Provides decision trees for test type selection, architecture patterns (POM vs fixtures), framework-specific guidance (React, Angular, Vue, Next.js), and error scenario handling\n- Addresses advanced topics: multi-user collaboration, WebSocket\u002Freal-time testing, OAuth\u002FSSO mocking, third-party service integration, performance budgeting, and console error monitoring\n\n---\ndescription: Writes Playwright end-to-end tests with best-practice selectors and assertions.\n\n## SKILL.md\n\n# Playwright Best Practices\n\nThis skill provides comprehensive guidance for all aspects of Playwright test development, from writing new tests to debugging and maintaining existing test suites.\n\n## Activity-Based Reference Guide\n\nConsult these references based on what you're doing:\n\n### Writing New Tests\n\n**When to use**: Creating new test files, writing test cases, implementing test scenarios\n\n| Activity | Reference Files |\n| --- | --- |\n| **Writing E2E tests** | test-suite-structure.md, locators.md, assertions-waiting.md |\n| **Writing component tests** | component-testing.md, test-suite-structure.md |\n| **Writing API tests** | api-testing.md, test-suite-structure.md |\n| **Writing GraphQL tests** | graphql-testing.md, api-testing.md |\n| **Writing visual regression tests** | visual-regression.md, canvas-webgl.md |\n| **Structuring test code with POM** | page-object-model.md, test-suite-structure.md |\n| **Setting up test data\u002Ffixtures** | fixtures-hooks.md, test-data.md |\n| **Handling authentication** | authentication.md, authentication-flows.md |\n| **Testing date\u002Ftime features** | clock-mocking.md |\n| **Testing file upload\u002Fdownload** | file-operations.md, file-upload-download.md |\n| **Testing forms\u002Fvalidation** | forms-validation.md |\n| **Testing drag and drop** | drag-drop.md |\n| **Testing accessibility** | accessibility.md |\n| **Testing security (XSS, CSRF)** | security-testing.md |\n| **Using test annotations** | annotations.md |\n| **Using test tags** | test-tags.md |\n| **Testing iframes** | iframes.md |\n| **Testing canvas\u002FWebGL** | canvas-webgl.md |\n| **Internationalization (i18n)** | i18n.md |\n| **Testing Electron apps** | electron.md |\n| **Testing browser extensions** | browser-extensions.md |\n\n### Mobile & Responsive Testing\n\n**When to use**: Testing mobile devices, touch interactions, responsive layouts\n\n| Activity | Reference Files |\n| --- | --- |\n| **Device emulation** | mobile-testing.md |\n| **Touch gestures (swipe, tap)** | mobile-testing.md |\n| **Viewport\u002Fbreakpoint testing** | mobile-testing.md |\n| **Mobile-specific UI** | mobile-testing.md, locators.md |\n\n### Real-Time & Browser APIs\n\n**When to use**: Testing WebSockets, geolocation, permissions, multi-tab flows\n\n| Activity | Reference Files |\n| --- | --- |\n| **WebSocket\u002Freal-time testing** | websockets.md |\n| **Geolocation mocking** | browser-apis.md |\n| **Permission handling** | browser-apis.md |\n| **Clipboard testing** | browser-apis.md |\n| **Camera\u002Fmicrophone mocking** | browser-apis.md |\n| **Multi-tab\u002Fpopup flows** | multi-context.md |\n| **OAuth popup handling** | third-party.md, multi-context.md |\n\n### Debugging & Troubleshooting\n\n**When to use**: Test failures, element not found, timeouts, unexpected behavior\n\n| Activity | Reference Files |\n| --- | --- |\n| **Debugging test failures** | debugging.md, assertions-waiting.md |\n| **Fixing flaky tests** | flaky-tests.md, debugging.md, assertions-waiting.md |\n| **Debugging flaky parallel runs** | flaky-tests.md, performance.md, fixtures-hooks.md |\n| **Ensuring test isolation \u002F avoiding state leak** | flaky-tests.md, fixtures-hooks.md, performance.md |\n| **Fixing selector issues** | locators.md, debugging.md |\n| **Investigating timeout issues** | assertions-waiting.md, debugging.md |\n| **Using trace viewer** | debugging.md |\n| **Debugging race conditions** | flaky-tests.md, debugging.md, assertions-waiting.md |\n| **Debugging console\u002FJS errors** | console-errors.md, debugging.md |\n\n### Error & Edge Case Testing\n\n**When to use**: Testing error states, offline mode, network failures, validation\n\n| Activity | Reference Files |\n| --- | --- |\n| **Error boundary testing** | error-testing.md |\n| **Network failure simulation** | error-testing.md, network-advanced.md |\n| **Offline mode testing** | error-testing.md, service-workers.md |\n| **Service worker testing** | service-workers.md |\n| **Loading state testing** | error-testing.md |\n| **Form validation testing** | error-testing.md |\n\n### Multi-User & Collaboration Testing\n\n**When to use**: Testing features involving multiple users, roles, or real-time collaboration\n\n| Activity | Reference Files |\n| --- | --- |\n| **Multiple users in one test** | multi-user.md |\n| **Real-time collaboration** | multi-user.md, websockets.md |\n| **Role-based access testing** | multi-user.md |\n| **Concurrent action testing** | multi-user.md |\n\n### Architecture Decisions\n\n**When to use**: Choosing test patterns, deciding between approaches, planning test architecture\n\n| Activity | Reference Files |\n| --- | --- |\n| **POM vs fixtures decision** | pom-vs-fixtures.md |\n| **Test type selection** | test-architecture.md |\n| **Mock vs real services** | when-to-mock.md |\n| **Test suite structure** | test-suite-structure.md |\n\n### Framework-Specific Testing\n\n**When to use**: Testing React, Angular, Vue, or Next.js applications\n\n| Activity | Reference Files |\n| --- | --- |\n| **Testing React apps** | react.md |\n| **Testing Angular apps** | angular.md |\n| **Testing Vue\u002FNuxt apps** | vue.md |\n| **Testing Next.js apps** | nextjs.md |\n\n### Refactoring & Maintenance\n\n**When to use**: Improving existing tests, code review, reducing duplication\n\n| Activity | Reference Files |\n| --- | --- |\n| **Refactoring to Page Object Model** | page-object-model.md, test-suite-structure.md |\n| **Improving test organization** | test-suite-structure.md, page-object-model.md |\n| **Extracting common setup\u002Fteardown** | fixtures-hooks.md |\n| **Replacing brittle selectors** | locators.md |\n| **Removing explicit waits** | assertions-waiting.md |\n| **Creating test data factories** | test-data.md |\n| **Configuration setup** | configuration.md |\n\n### Infrastructure & Configuration\n\n**When to use**: Setting up projects, configuring CI\u002FCD, optimizing performance\n\n| Activity | Reference Files |\n| --- | --- |\n| **Configuring Playwright project** | configuration.md, projects-dependencies.md |\n| **Setting up CI\u002FCD pipelines** | ci-cd.md, github-actions.md |\n| **GitHub Actions setup** | github-actions.md |\n| **GitLab CI setup** | gitlab.md |\n| **Other CI providers** | other-providers.md |\n| **Docker\u002Fcontainer setup** | docker.md |\n| **Global setup & teardown** | global-setup.md |\n| **Project dependencies** | projects-dependencies.md |\n| **Optimizing test performance** | performance.md, test-suite-structure.md |\n| **Configuring parallel execution** | parallel-sharding.md, performance.md |\n| **Isolating test data between workers** | fixtures-hooks.md, performance.md |\n| **Test coverage** | test-coverage.md |\n| **Test reporting\u002Fartifacts** | reporting.md |\n\n### Advanced Patterns\n\n**When to use**: Complex scenarios, API mocking, network interception\n\n| Activity | Reference Files |\n| --- | --- |\n| **Mocking API responses** | test-suite-structure.md, network-advanced.md |\n| **Network interception** | network-advanced.md, assertions-waiting.md |\n| **GraphQL mocking** | network-advanced.md |\n| **HAR recording\u002Fplayback** | network-advanced.md |\n| **Custom fixtures** | fixtures-hooks.md |\n| **Advanced waiting strategies** | assertions-waiting.md |\n| **OAuth\u002FSSO mocking** | third-party.md, multi-context.md |\n| **Payment gateway mocking** | third-party.md |\n| **Email\u002FSMS verification mocking** | third-party.md |\n| **Failing on console errors** | console-errors.md |\n| **Security testing (XSS, CSRF)** | security-testing.md |\n| **Performance budgets & Web Vitals** | performance-testing.md |\n| **Lighthouse integration** | performance-testing.md |\n| **Test annotations (skip, fixme)** | annotations.md |\n| **Test tags (@smoke, @fast)** | test-tags.md |\n| **Test steps for reporting** | annotations.md |\n\n## Quick Decision Tree\n\n```\nWhat are you doing?\n│\n├─ Writing a new test?\n│  ├─ E2E test → core\u002Ftest-suite-structure.md, core\u002Flocators.md, core\u002Fassertions-waiting.md\n│  ├─ Component test → testing-patterns\u002Fcomponent-testing.md\n│  ├─ API test → testing-patterns\u002Fapi-testing.md, core\u002Ftest-suite-structure.md\n│  ├─ GraphQL test → testing-patterns\u002Fgraphql-testing.md\n│  ├─ Visual regression → testing-patterns\u002Fvisual-regression.md\n│  ├─ Visual\u002Fcanvas test → testing-patterns\u002Fcanvas-webgl.md, core\u002Ftest-suite-structure.md\n│  ├─ Accessibility test → testing-patterns\u002Faccessibility.md\n│  ├─ Mobile\u002Fresponsive test → advanced\u002Fmobile-testing.md\n│  ├─ i18n\u002Flocale test → testing-patterns\u002Fi18n.md\n│  ├─ Electron app test → testing-patterns\u002Felectron.md\n│  ├─ Browser extension test → testing-patterns\u002Fbrowser-extensions.md\n│  ├─ Multi-user test → advanced\u002Fmulti-user.md\n│  ├─ Form validation test → testing-patterns\u002Fforms-validation.md\n│  └─ Drag and drop test → testing-patterns\u002Fdrag-drop.md\n│\n├─ Testing specific features?\n│  ├─ File upload\u002Fdownload → testing-patterns\u002Ffile-operations.md, testing-patterns\u002Ffile-upload-download.md\n│  ├─ Date\u002Ftime dependent → advanced\u002Fclock-mocking.md\n│  ├─ WebSocket\u002Freal-time → browser-apis\u002Fwebsockets.md\n│  ├─ Geolocation\u002Fpermissions → browser-apis\u002Fbrowser-apis.md\n│  ├─ OAuth\u002FSSO mocking → advanced\u002Fthird-party.md, advanced\u002Fmulti-context.md\n│  ├─ Payments\u002Femail\u002FSMS → advanced\u002Fthird-party.md\n│  ├─ iFrames → browser-apis\u002Fiframes.md\n│  ├─ Canvas\u002FWebGL\u002Fcharts → testing-patterns\u002Fcanvas-webgl.md\n│  ├─ Service workers\u002FPWA → browser-apis\u002Fservice-workers.md\n│  ├─ i18n\u002Flocalization → testing-patterns\u002Fi18n.md\n│  ├─ Security (XSS, CSRF) → testing-patterns\u002Fsecurity-testing.md\n│  └─ Performance\u002FWeb Vitals → testing-patterns\u002Fperformance-testing.md\n│\n├─ Architecture decisions?\n│  ├─ POM vs fixtures → architecture\u002Fpom-vs-fixtures.md\n│  ├─ Test type selection → architecture\u002Ftest-architecture.md\n│  ├─ Mock vs real services → architecture\u002Fwhen-to-mock.md\n│  └─ Test suite structure → core\u002Ftest-suite-structure.md\n│\n├─ Framework-specific testing?\n│  ├─ React app → frameworks\u002Freact.md\n│  ├─ Angular app → frameworks\u002Fangular.md\n│  ├─ Vue\u002FNuxt app → frameworks\u002Fvue.md\n│  └─ Next.js app → frameworks\u002Fnextjs.md\n│\n├─ Authentication testing?\n│  ├─ Basic auth patterns → advanced\u002Fauthentication.md\n│  └─ Complex flows (MFA, reset) → advanced\u002Fauthentication-flows.md\n│\n├─ Test is failing\u002Fflaky?\n│  ├─ Flaky test investigation → debugging\u002Fflaky-tests.md\n│  ├─ Element not found → core\u002Flocators.md, debugging\u002Fdebugging.md\n│  ├─ Timeout issues → core\u002Fassertions-waiting.md, debugging\u002Fdebugging.md\n│  ├─ Race conditions → debugging\u002Fflaky-tests.md, debugging\u002Fdebugging.md\n│  ├─ Flaky only with multiple workers → debugging\u002Fflaky-tests.md, infrastructure-ci-cd\u002Fperformance.md\n│  ├─ State leak \u002F isolation → debugging\u002Fflaky-tests.md, core\u002Ffixtures-hooks.md\n│  ├─ Console\u002FJS errors → debugging\u002Fconsole-errors.md, debugging\u002Fdebugging.md\n│  └─ General debugging → debugging\u002Fdebugging.md\n│\n├─ Testing error scenarios?\n│  ├─ Network failures → debugging\u002Ferror-testing.md, advanced\u002Fnetwork-advanced.md\n│  ├─ Offline (unexpected) → debugging\u002Ferror-testing.md\n│  ├─ Offline-first\u002FPWA → browser-apis\u002Fservice-workers.md\n│  ├─ Error boundaries → debugging\u002Ferror-testing.md\n│  └─ Form validation → testing-patterns\u002Fforms-validation.md, debugging\u002Ferror-testing.md\n│\n├─ Refactoring existing code?\n│  ├─ Implementing POM → core\u002Fpage-object-model.md\n│  ├─ Improving selectors → core\u002Flocators.md\n│  ├─ Extracting fixtures → core\u002Ffixtures-hooks.md\n│  ├─ Creating data factories → core\u002Ftest-data.md\n│  └─ Configuration setup → core\u002Fconfiguration.md\n│\n├─ Setting up infrastructure?\n│  ├─ CI\u002FCD → infrastructure-ci-cd\u002Fci-cd.md\n│  ├─ GitHub Actions → infrastructure-ci-cd\u002Fgithub-actions.md\n│  ├─ GitLab CI → infrastructure-ci-cd\u002Fgitlab.md\n│  ├─ Other CI providers → infrastructure-ci-cd\u002Fother-providers.md\n│  ├─ Docker\u002Fcontainers → infrastructure-ci-cd\u002Fdocker.md\n│  ├─ Sharding\u002Fparallel → infrastructure-ci-cd\u002Fparallel-sharding.md\n│  ├─ Reporting\u002Fartifacts → infrastructure-ci-cd\u002Freporting.md\n│  ├─ Global setup\u002Fteardown → core\u002Fglobal-setup.md\n│  ├─ Project dependencies → core\u002Fprojects-dependencies.md\n│  ├─ Test performance → infrastructure-ci-cd\u002Fperformance.md\n│  ├─ Test coverage → infrastructure-ci-cd\u002Ftest-coverage.md\n│  └─ Project config → core\u002Fconfiguration.md, core\u002Fprojects-dependencies.md\n│\n├─ Organizing tests?\n│  ├─ Skip\u002Ffixme\u002Fslow tests → core\u002Fannotations.md\n│  ├─ Test tags (@smoke, @fast) → core\u002Ftest-tags.md\n│  ├─ Filtering tests (--grep) → core\u002Ftest-tags.md\n│  ├─ Test steps → core\u002Fannotations.md\n│  └─ Conditional execution → core\u002Fannotations.md\n│\n└─ Running subset of tests?\n   ├─ By tag (@smoke, @critical) → core\u002Ftest-tags.md\n   ├─ Exclude slow\u002Fflaky tests → core\u002Ftest-tags.md\n   ├─ PR vs nightly tests → core\u002Ftest-tags.md, infrastructure-ci-cd\u002Fci-cd.md\n   └─ Project-specific filtering → core\u002Ftest-tags.md, core\u002Fconfiguration.md\n```\n\n## Test Validation Loop\n\nAfter writing or modifying tests:\n\n1. **Run tests**: `npx playwright test --reporter=list`\n2. **If tests fail**:\n   - Review error output and trace (`npx playwright show-trace`)\n   - Fix locators, waits, or assertions\n   - Re-run tests\n3. **Only proceed when all tests pass**\n4. **Run multiple times** for critical tests: `npx playwright test --repeat-each=5`\n\n","description: Writes Playwright end-to-end tests with best-practice selectors and assertions.\n\n## Summary\n\n- Covers 50+ testing patterns including E2E, component, API, GraphQL, visual regression, accessibility, security, mobile, and Electron app testing\n- Includes activity-based lookup tables for writing new tests, debugging failures, fixing flaky tests, and infrastructure setup\n- Provides decision trees for test type selection, architecture patterns (POM vs fixtures), framework-specific guidance (React, Angular, Vue, Next.js), and error scenario handling\n- Addresses advanced topics: multi-user collaboration, WebSocket\u002Freal-time testing, OAuth\u002FSSO mocking, third-party service integration, performance budgeting, and console error monitoring\n\n---\ndescription: Writes Playwright end-to-end tests with best-practice selectors and assertions.\n\n## SKILL.md\n\n# Playwright Best Practices\n\nThis skill provides comprehensive guidance for all aspects of Playwright test development, from writing new tests to debugging and maintaining existing test suites.\n\n## Activity-Based Reference Guide\n\nConsult these references based on what you're doing:\n\n### Writing New Tests\n\n**When to use**: Creating new test files, writing test cases, implementing test scenarios\n\n| Activity | Reference Files |\n| --- | --- |\n| **Writing E2E tests** | test-suite-structure.md, locators.md, assertions-waiting.md |\n| **Writing component tests** | component-testing.md, test-suite-structure.md |\n| **Writing API tests** | api-testing.md, test-suite-structure.md |\n| **Writing GraphQL tests** | graphql-testing.md, api-testing.md |\n| **Writing visual regression tests** | visual-regression.md, canvas-webgl.md |\n| **Structuring test code with POM** | page-object-model.md, test-suite-structure.md |\n| **Setting up test data\u002Ffixtures** | fixtures-hooks.md, test-data.md |\n| **Handling authentication** | authentication.md, authentication-flows.md |\n| **Testing date\u002Ftime features** | clock-mocking.md |\n| **Testing file upload\u002Fdownload** | file-operations.md, file-upload-download.md |\n| **Testing forms\u002Fvalidation** | forms-validation.md |\n| **Testing drag and drop** | drag-drop.md |\n| **Testing accessibility** | accessibility.md |\n| **Testing security (XSS, CSRF)** | security-testing.md |\n| **Using test annotations** | annotations.md |\n| **Using test tags** | test-tags.md |\n| **Testing iframes** | iframes.md |\n| **Testing canvas\u002FWebGL** | canvas-webgl.md |\n| **Internationalization (i18n)** | i18n.md |\n| **Testing Electron apps** | electron.md |\n| **Testing browser extensions** | browser-extensions.md |\n\n### Mobile & Responsive Testing\n\n**When to use**: Testing mobile devices, touch interactions, responsive layouts\n\n| Activity | Reference Files |\n| --- | --- |\n| **Device emulation** | mobile-testing.md |\n| **Touch gestures (swipe, tap)** | mobile-testing.md |\n| **Viewport\u002Fbreakpoint testing** | mobile-testing.md |\n| **Mobile-specific UI** | mobile-testing.md, locators.md |\n\n### Real-Time & Browser APIs\n\n**When to use**: Testing WebSockets, geolocation, permissions, multi-tab flows\n\n| Activity | Reference Files |\n| --- | --- |\n| **WebSocket\u002Freal-time testing** | websockets.md |\n| **Geolocation mocking** | browser-apis.md |\n| **Permission handling** | browser-apis.md |\n| **Clipboard testing** | browser-apis.md |\n| **Camera\u002Fmicrophone mocking** | browser-apis.md |\n| **Multi-tab\u002Fpopup flows** | multi-context.md |\n| **OAuth popup handling** | third-party.md, multi-context.md |\n\n### Debugging & Troubleshooting\n\n**When to use**: Test failures, element not found, timeouts, unexpected behavior\n\n| Activity | Reference Files |\n| --- | --- |\n| **Debugging test failures** | debugging.md, assertions-waiting.md |\n| **Fixing flaky tests** | flaky-tests.md, debugging.md, assertions-waiting.md |\n| **Debugging flaky parallel runs** | flaky-tests.md, performance.md, fixtures-hooks.md |\n| **Ensuring test isolation \u002F avoiding state leak** | flaky-tests.md, fixtures-hooks.md, performance.md |\n| **Fixing selector issues** | locators.md, debugging.md |\n| **Investigating timeout issues** | assertions-waiting.md, debugging.md |\n| **Using trace viewer** | debugging.md |\n| **Debugging race conditions** | flaky-tests.md, debugging.md, assertions-waiting.md |\n| **Debugging console\u002FJS errors** | console-errors.md, debugging.md |\n\n### Error & Edge Case Testing\n\n**When to use**: Testing error states, offline mode, network failures, validation\n\n| Activity | Reference Files |\n| --- | --- |\n| **Error boundary testing** | error-testing.md |\n| **Network failure simulation** | error-testing.md, network-advanced.md |\n| **Offline mode testing** | error-testing.md, service-workers.md |\n| **Service worker testing** | service-workers.md |\n| **Loading state testing** | error-testing.md |\n| **Form validation testing** | error-testing.md |\n\n### Multi-User & Collaboration Testing\n\n**When to use**: Testing features involving multiple users, roles, or real-time collaboration\n\n| Activity | Reference Files |\n| --- | --- |\n| **Multiple users in one test** | multi-user.md |\n| **Real-time collaboration** | multi-user.md, websockets.md |\n| **Role-based access testing** | multi-user.md |\n| **Concurrent action testing** | multi-user.md |\n\n### Architecture Decisions\n\n**When to use**: Choosing test patterns, deciding between approaches, planning test architecture\n\n| Activity | Reference Files |\n| --- | --- |\n| **POM vs fixtures decision** | pom-vs-fixtures.md |\n| **Test type selection** | test-architecture.md |\n| **Mock vs real services** | when-to-mock.md |\n| **Test suite structure** | test-suite-structure.md |\n\n### Framework-Specific Testing\n\n**When to use**: Testing React, Angular, Vue, or Next.js applications\n\n| Activity | Reference Files |\n| --- | --- |\n| **Testing React apps** | react.md |\n| **Testing Angular apps** | angular.md |\n| **Testing Vue\u002FNuxt apps** | vue.md |\n| **Testing Next.js apps** | nextjs.md |\n\n### Refactoring & Maintenance\n\n**When to use**: Improving existing tests, code review, reducing duplication\n\n| Activity | Reference Files |\n| --- | --- |\n| **Refactoring to Page Object Model** | page-object-model.md, test-suite-structure.md |\n| **Improving test organization** | test-suite-structure.md, page-object-model.md |\n| **Extracting common setup\u002Fteardown** | fixtures-hooks.md |\n| **Replacing brittle selectors** | locators.md |\n| **Removing explicit waits** | assertions-waiting.md |\n| **Creating test data factories** | test-data.md |\n| **Configuration setup** | configuration.md |\n\n### Infrastructure & Configuration\n\n**When to use**: Setting up projects, configuring CI\u002FCD, optimizing performance\n\n| Activity | Reference Files |\n| --- | --- |\n| **Configuring Playwright project** | configuration.md, projects-dependencies.md |\n| **Setting up CI\u002FCD pipelines** | ci-cd.md, github-actions.md |\n| **GitHub Actions setup** | github-actions.md |\n| **GitLab CI setup** | gitlab.md |\n| **Other CI providers** | other-providers.md |\n| **Docker\u002Fcontainer setup** | docker.md |\n| **Global setup & teardown** | global-setup.md |\n| **Project dependencies** | projects-dependencies.md |\n| **Optimizing test performance** | performance.md, test-suite-structure.md |\n| **Configuring parallel execution** | parallel-sharding.md, performance.md |\n| **Isolating test data between workers** | fixtures-hooks.md, performance.md |\n| **Test coverage** | test-coverage.md |\n| **Test reporting\u002Fartifacts** | reporting.md |\n\n### Advanced Patterns\n\n**When to use**: Complex scenarios, API mocking, network interception\n\n| Activity | Reference Files |\n| --- | --- |\n| **Mocking API responses** | test-suite-structure.md, network-advanced.md |\n| **Network interception** | network-advanced.md, assertions-waiting.md |\n| **GraphQL mocking** | network-advanced.md |\n| **HAR recording\u002Fplayback** | network-advanced.md |\n| **Custom fixtures** | fixtures-hooks.md |\n| **Advanced waiting strategies** | assertions-waiting.md |\n| **OAuth\u002FSSO mocking** | third-party.md, multi-context.md |\n| **Payment gateway mocking** | third-party.md |\n| **Email\u002FSMS verification mocking** | third-party.md |\n| **Failing on console errors** | console-errors.md |\n| **Security testing (XSS, CSRF)** | security-testing.md |\n| **Performance budgets & Web Vitals** | performance-testing.md |\n| **Lighthouse integration** | performance-testing.md |\n| **Test annotations (skip, fixme)** | annotations.md |\n| **Test tags (@smoke, @fast)** | test-tags.md |\n| **Test steps for reporting** | annotations.md |\n\n## Quick Decision Tree\n\n```\nWhat are you doing?\n│\n├─ Writing a new test?\n│  ├─ E2E test → core\u002Ftest-suite-structure.md, core\u002Flocators.md, core\u002Fassertions-waiting.md\n│  ├─ Component test → testing-patterns\u002Fcomponent-testing.md\n│  ├─ API test → testing-patterns\u002Fapi-testing.md, core\u002Ftest-suite-structure.md\n│  ├─ GraphQL test → testing-patterns\u002Fgraphql-testing.md\n│  ├─ Visual regression → testing-patterns\u002Fvisual-regression.md\n│  ├─ Visual\u002Fcanvas test → testing-patterns\u002Fcanvas-webgl.md, core\u002Ftest-suite-structure.md\n│  ├─ Accessibility test → testing-patterns\u002Faccessibility.md\n│  ├─ Mobile\u002Fresponsive test → advanced\u002Fmobile-testing.md\n│  ├─ i18n\u002Flocale test → testing-patterns\u002Fi18n.md\n│  ├─ Electron app test → testing-patterns\u002Felectron.md\n│  ├─ Browser extension test → testing-patterns\u002Fbrowser-extensions.md\n│  ├─ Multi-user test → advanced\u002Fmulti-user.md\n│  ├─ Form validation test → testing-patterns\u002Fforms-validation.md\n│  └─ Drag and drop test → testing-patterns\u002Fdrag-drop.md\n│\n├─ Testing specific features?\n│  ├─ File upload\u002Fdownload → testing-patterns\u002Ffile-operations.md, testing-patterns\u002Ffile-upload-download.md\n│  ├─ Date\u002Ftime dependent → advanced\u002Fclock-mocking.md\n│  ├─ WebSocket\u002Freal-time → browser-apis\u002Fwebsockets.md\n│  ├─ Geolocation\u002Fpermissions → browser-apis\u002Fbrowser-apis.md\n│  ├─ OAuth\u002FSSO mocking → advanced\u002Fthird-party.md, advanced\u002Fmulti-context.md\n│  ├─ Payments\u002Femail\u002FSMS → advanced\u002Fthird-party.md\n│  ├─ iFrames → browser-apis\u002Fiframes.md\n│  ├─ Canvas\u002FWebGL\u002Fcharts → testing-patterns\u002Fcanvas-webgl.md\n│  ├─ Service workers\u002FPWA → browser-apis\u002Fservice-workers.md\n│  ├─ i18n\u002Flocalization → testing-patterns\u002Fi18n.md\n│  ├─ Security (XSS, CSRF) → testing-patterns\u002Fsecurity-testing.md\n│  └─ Performance\u002FWeb Vitals → testing-patterns\u002Fperformance-testing.md\n│\n├─ Architecture decisions?\n│  ├─ POM vs fixtures → architecture\u002Fpom-vs-fixtures.md\n│  ├─ Test type selection → architecture\u002Ftest-architecture.md\n│  ├─ Mock vs real services → architecture\u002Fwhen-to-mock.md\n│  └─ Test suite structure → core\u002Ftest-suite-structure.md\n│\n├─ Framework-specific testing?\n│  ├─ React app → frameworks\u002Freact.md\n│  ├─ Angular app → frameworks\u002Fangular.md\n│  ├─ Vue\u002FNuxt app → frameworks\u002Fvue.md\n│  └─ Next.js app → frameworks\u002Fnextjs.md\n│\n├─ Authentication testing?\n│  ├─ Basic auth patterns → advanced\u002Fauthentication.md\n│  └─ Complex flows (MFA, reset) → advanced\u002Fauthentication-flows.md\n│\n├─ Test is failing\u002Fflaky?\n│  ├─ Flaky test investigation → debugging\u002Fflaky-tests.md\n│  ├─ Element not found → core\u002Flocators.md, debugging\u002Fdebugging.md\n│  ├─ Timeout issues → core\u002Fassertions-waiting.md, debugging\u002Fdebugging.md\n│  ├─ Race conditions → debugging\u002Fflaky-tests.md, debugging\u002Fdebugging.md\n│  ├─ Flaky only with multiple workers → debugging\u002Fflaky-tests.md, infrastructure-ci-cd\u002Fperformance.md\n│  ├─ State leak \u002F isolation → debugging\u002Fflaky-tests.md, core\u002Ffixtures-hooks.md\n│  ├─ Console\u002FJS errors → debugging\u002Fconsole-errors.md, debugging\u002Fdebugging.md\n│  └─ General debugging → debugging\u002Fdebugging.md\n│\n├─ Testing error scenarios?\n│  ├─ Network failures → debugging\u002Ferror-testing.md, advanced\u002Fnetwork-advanced.md\n│  ├─ Offline (unexpected) → debugging\u002Ferror-testing.md\n│  ├─ Offline-first\u002FPWA → browser-apis\u002Fservice-workers.md\n│  ├─ Error boundaries → debugging\u002Ferror-testing.md\n│  └─ Form validation → testing-patterns\u002Fforms-validation.md, debugging\u002Ferror-testing.md\n│\n├─ Refactoring existing code?\n│  ├─ Implementing POM → core\u002Fpage-object-model.md\n│  ├─ Improving selectors → core\u002Flocators.md\n│  ├─ Extracting fixtures → core\u002Ffixtures-hooks.md\n│  ├─ Creating data factories → core\u002Ftest-data.md\n│  └─ Configuration setup → core\u002Fconfiguration.md\n│\n├─ Setting up infrastructure?\n│  ├─ CI\u002FCD → infrastructure-ci-cd\u002Fci-cd.md\n│  ├─ GitHub Actions → infrastructure-ci-cd\u002Fgithub-actions.md\n│  ├─ GitLab CI → infrastructure-ci-cd\u002Fgitlab.md\n│  ├─ Other CI providers → infrastructure-ci-cd\u002Fother-providers.md\n│  ├─ Docker\u002Fcontainers → infrastructure-ci-cd\u002Fdocker.md\n│  ├─ Sharding\u002Fparallel → infrastructure-ci-cd\u002Fparallel-sharding.md\n│  ├─ Reporting\u002Fartifacts → infrastructure-ci-cd\u002Freporting.md\n│  ├─ Global setup\u002Fteardown → core\u002Fglobal-setup.md\n│  ├─ Project dependencies → core\u002Fprojects-dependencies.md\n│  ├─ Test performance → infrastructure-ci-cd\u002Fperformance.md\n│  ├─ Test coverage → infrastructure-ci-cd\u002Ftest-coverage.md\n│  └─ Project config → core\u002Fconfiguration.md, core\u002Fprojects-dependencies.md\n│\n├─ Organizing tests?\n│  ├─ Skip\u002Ffixme\u002Fslow tests → core\u002Fannotations.md\n│  ├─ Test tags (@smoke, @fast) → core\u002Ftest-tags.md\n│  ├─ Filtering tests (--grep) → core\u002Ftest-tags.md\n│  ├─ Test steps → core\u002Fannotations.md\n│  └─ Conditional execution → core\u002Fannotations.md\n│\n└─ Running subset of tests?\n   ├─ By tag (@smoke, @critical) → core\u002Ftest-tags.md\n   ├─ Exclude slow\u002Fflaky tests → core\u002Ftest-tags.md\n   ├─ PR vs nightly tests → core\u002Ftest-tags.md, infrastructure-ci-cd\u002Fci-cd.md\n   └─ Project-specific filtering → core\u002Ftest-tags.md, core\u002Fconfiguration.md\n```\n\n## Test Validation Loop\n\nAfter writing or modifying tests:\n\n1. **Run tests**: `npx playwright test --reporter=list`\n2. **If tests fail**:\n   - Review error output and trace (`npx playwright show-trace`)\n   - Fix locators, waits, or assertions\n   - Re-run tests\n3. **Only proceed when all tests pass**\n4. **Run multiple times** for critical tests: `npx playwright test --repeat-each=5`\n\n",{"github":41,"source":42,"install":43,"installs":44,"scraped_at":45,"description":7,"allowed-tools":46},"https:\u002F\u002Fgithub.com\u002Fcurrents-dev\u002Fplaywright-best-practices-skill","https:\u002F\u002Fskills.sh\u002Fcurrents-dev\u002Fplaywright-best-practices-skill\u002Fplaywright-best-practices","npx skills add currents-dev\u002Fplaywright-best-practices-skill --skill playwright-best-practices","20.9K",1775315130000,[47,48],"read_file","list_files","main","a6e00c7fdd57f28e26658814f41ae0da22979aac",".agents\u002Fskills\u002Fplaywright-best-practices-skill\u002Fplaywright-best-practices",0,"https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Ffullstack-council","https:\u002F\u002Fgithub.com\u002FJackSmack1971","2026-04-05 23:04:47",{"source":8,"skillName":5,"commands":57,"prompt":66,"zipAvailable":67},[58,60,63],{"tool":27,"command":59},"npx skills add JackSmack1971\u002Ffullstack-council --skill playwright-best-practices",{"tool":61,"command":62},"bunx","bunx skills add JackSmack1971\u002Ffullstack-council --skill playwright-best-practices",{"tool":64,"command":65},"pnpm","pnpm dlx skills add JackSmack1971\u002Ffullstack-council --skill playwright-best-practices","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Ffullstack-council\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fplaywright-best-practices-skill\u002Fplaywright-best-practices\u002FSKILL.md",true,[],[70,95,112,127,151,169],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":36},"01M6KS7VQCYXBYGK8YGJWP4WV3","wes-bos-fullstack-educator","Activates a Wes Bos-style hands-on full-stack JavaScript educator persona that ships production-ready code with live-workshop energy. Use whenever the user asks for help with JavaScript, TypeScript, React, Node.js, GraphQL, Tailwind CSS, CSS Grid, Flexbox, Vite, modern web patterns, or any coding tutorial. Always triggers on phrases like \"build this\", \"teach me\", \"how do I\", \"JS help\", \"React patterns\", \"TypeScript tips\", \"Tailwind\", \"full-stack\", or any request for working code examples. Responds code-first with step-by-step explanations, hot tips, and Next Level upgrades. Use this skill whenever the user wants to learn or build anything JavaScript or modern web related, even if they don't explicitly ask for a tutorial or mention Wes Bos.","https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Ffullstack-council\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwes-bos-fullstack-educator\u002FSKILL.md",[],[77,78,79,80,81,82,83,84,85,86,87,88,32,89,29,90,91,92,93,94],"fullstack","wes bos fullstack educator","css","react","learn","code","Tailwind","how","persona","stack","node","ask","ready","me","next","production-ready","request","energy",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":36},"01M6KS7PM7W2S1739EZS18T0HA","ai-sdk","Builds AI-powered applications using the Vercel AI SDK with streaming and tool use.","https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Ffullstack-council\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvercel\u002Fai-sdk\u002FSKILL.md",[],[102,103,22,104,105,106,34,33,107,108,32,31,109,110,29,111,27,24,23],"sdk","ai sdk","add vercel","streaming","tool use","applications","tool","use","vercel","vercel ai sdk",{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":36},"01M6KS7FYMD04AWFNNS149944S","next-best-practices","Enforces Next.js App Router best practices, performance, and deployment patterns.","https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Ffullstack-council\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvercel-labs\u002Fnext-best-practices\u002FSKILL.md",[],[19,119,91,22,120,104,121,33,122,32,31,110,123,29,28,27,124,125,126,24],"next best practices","performance","deployment","Next.js","router","patterns","deployment patterns","app",{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":36},"01M6KS6Y6XXD42YM2T1GVHP3B0","troy-hunt-security","Activates the Troy Hunt persona for information security, threat modeling, and application hardening. Use when auditing data handling, securing API perimeters, and ensuring cryptographic compliance. Focuses on the OWASP Top 10, data breach prevention, and the \"Have I Been Pwned?\" principles.","https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Ffullstack-council\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftroy-hunt-security\u002FSKILL.md",[],[134,135,136,22,137,138,139,140,85,109,141,142,143,144,145,146,147,148,149,150],"security","hunt","troy hunt security","owasp top 10","sentry","supabase","api","schema","only","get","principles","information","read-only","errors","top","for","breach",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":36},"01M6KS6S94M1R78A6NBMYP3PE1","theo-browne-fullstack-advisor","Activates the Theo Browne persona — T3 Stack creator, ex-Twitch engineer, CEO of T3 Chat \u002F Ping.gg (YC W22), TypeScript absolutist, and opinionated full-stack advisor. Use this skill whenever the user asks about Next.js App Router, tRPC, Prisma, Zod, Tailwind, create-t3-app, T3 Stack architecture, end-to-end type safety, TypeScript tooling, rapid prototyping, DX critique, over-engineering problems, cargo-culting, full-stack TypeScript decisions, or wants direct hot-take feedback on tech choices and patterns. Also triggers on \"what would Theo think\", \"T3 style\", \"roast my stack\", or \"is this over-engineered\".","https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Ffullstack-council\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftheo-browne-fullstack-advisor\u002FSKILL.md",[],[158,77,159,160,161,83,162,85,86,163,164,123,165,29,91,166,25,126,167,168],"advisor","theo browne fullstack advisor","architecture","create","critique","zod","command","engineer","prisma","prototyping","trpc",{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":173,"categories":174,"keywords":175,"publishedAt":36},"01M6KS6Q5B0G0RYC3XJG1F98KC","stripe-best-practices","TBD - Please provide a keyword-dense capability description.","https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Ffullstack-council\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fstripe\u002Fstripe-best-practices\u002FSKILL.md",[],[19,176,177,33,32,31,29,178],"stripe best practices","stripe","please"]