[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D9ENAC7NWD83DCK74XFY4V":3,"skill-same:01M6D9ENAC7NWD83DCK74XFY4V":62},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":42,"repositoryHtmlUrl":43,"repositoryHomepageUrl":6,"ownerHtmlUrl":44,"ownerBlogUrl":45,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M6D9ENAC7NWD83DCK74XFY4V","init",null,"Set up Playwright in a project. Use when user says \"set up playwright\", \"add e2e tests\", \"configure playwright\", \"testing setup\", \"init playwright\", or \"add test infrastructure\".","oabdelmaksoud\u002FAgention","oabdelmaksoud","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F50699149?v=4","01M6D5CVVN778ZCDP1WHS816SP","Omar Abdelmaksoud","01M6D8A4TE76V3DCSH3D94VG1V",2,"MIT","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FAgention\u002Fblob\u002Fmain\u002Fupstream-import\u002Fclaude-skills\u002Freferences\u002Fengineering-team\u002Fplaywright-pro\u002Fskills\u002Finit\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],"testing","playwright","test","setup","add test","e2e tests","infrastructure","SET","e2e","configure","user","use","up","project","tests","2026-11-10 10:12:30",false,"---\nname: init\ndescription: >-\n  Set up Playwright in a project. Use when user says \"set up playwright\",\n  \"add e2e tests\", \"configure playwright\", \"testing setup\", \"init playwright\",\n  or \"add test infrastructure\".\n---\n\n# Initialize Playwright Project\n\nSet up a production-ready Playwright testing environment. Detect the framework, generate config, folder structure, example test, and CI workflow.\n\n## Steps\n\n### 1. Analyze the Project\n\nUse the `Explore` subagent to scan the project:\n\n- Check `package.json` for framework (React, Next.js, Vue, Angular, Svelte)\n- Check for `tsconfig.json` → use TypeScript; otherwise JavaScript\n- Check if Playwright is already installed (`@playwright\u002Ftest` in dependencies)\n- Check for existing test directories (`tests\u002F`, `e2e\u002F`, `__tests__\u002F`)\n- Check for existing CI config (`.github\u002Fworkflows\u002F`, `.gitlab-ci.yml`)\n\n### 2. Install Playwright\n\nIf not already installed:\n\n```bash\nnpm init playwright@latest -- --quiet\n```\n\nOr if the user prefers manual setup:\n\n```bash\nnpm install -D @playwright\u002Ftest\nnpx playwright install --with-deps chromium\n```\n\n### 3. Generate `playwright.config.ts`\n\nAdapt to the detected framework:\n\n**Next.js:**\n```typescript\nimport { defineConfig, devices } from '@playwright\u002Ftest';\n\nexport default defineConfig({\n  testDir: '.\u002Fe2e',\n  fullyParallel: true,\n  forbidOnly: !!process.env.CI,\n  retries: process.env.CI ? 2 : 0,\n  workers: process.env.CI ? 1 : undefined,\n  reporter: [\n    ['html', { open: 'never' }],\n    ['list'],\n  ],\n  use: {\n    baseURL: 'http:\u002F\u002Flocalhost:3000',\n    trace: 'on-first-retry',\n    screenshot: 'only-on-failure',\n  },\n  projects: [\n    { name: 'chromium', use: { ...devices['Desktop Chrome'] } },\n    { name: 'firefox', use: { ...devices['Desktop Firefox'] } },\n    { name: 'webkit', use: { ...devices['Desktop Safari'] } },\n  ],\n  webServer: {\n    command: 'npm run dev',\n    url: 'http:\u002F\u002Flocalhost:3000',\n    reuseExistingServer: !process.env.CI,\n  },\n});\n```\n\n**React (Vite):**\n- Change `baseURL` to `http:\u002F\u002Flocalhost:5173`\n- Change `webServer.command` to `npm run dev`\n\n**Vue\u002FNuxt:**\n- Change `baseURL` to `http:\u002F\u002Flocalhost:3000`\n- Change `webServer.command` to `npm run dev`\n\n**Angular:**\n- Change `baseURL` to `http:\u002F\u002Flocalhost:4200`\n- Change `webServer.command` to `npm run start`\n\n**No framework detected:**\n- Omit `webServer` block\n- Set `baseURL` from user input or leave as placeholder\n\n### 4. Create Folder Structure\n\n```\ne2e\u002F\n├── fixtures\u002F\n│   └── index.ts          # Custom fixtures\n├── pages\u002F\n│   └── .gitkeep          # Page object models\n├── test-data\u002F\n│   └── .gitkeep          # Test data files\n└── example.spec.ts       # First example test\n```\n\n### 5. Generate Example Test\n\n```typescript\nimport { test, expect } from '@playwright\u002Ftest';\n\ntest.describe('Homepage', () => {\n  test('should load successfully', async ({ page }) => {\n    await page.goto('\u002F');\n    await expect(page).toHaveTitle(\u002F.+\u002F);\n  });\n\n  test('should have visible navigation', async ({ page }) => {\n    await page.goto('\u002F');\n    await expect(page.getByRole('navigation')).toBeVisible();\n  });\n});\n```\n\n### 6. Generate CI Workflow\n\nIf `.github\u002Fworkflows\u002F` exists, create `playwright.yml`:\n\n```yaml\nname: Playwright Tests\n\non:\n  push:\n    branches: [main, dev]\n  pull_request:\n    branches: [main, dev]\n\njobs:\n  test:\n    timeout-minutes: 60\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: actions\u002Fsetup-node@v4\n        with:\n          node-version: lts\u002F*\n      - name: Install dependencies\n        run: npm ci\n      - name: Install Playwright Browsers\n        run: npx playwright install --with-deps\n      - name: Run Playwright tests\n        run: npx playwright test\n      - uses: actions\u002Fupload-artifact@v4\n        if: ${{ !cancelled() }}\n        with:\n          name: playwright-report\n          path: playwright-report\u002F\n          retention-days: 30\n```\n\nIf `.gitlab-ci.yml` exists, add a Playwright stage instead.\n\n### 7. Update `.gitignore`\n\nAppend if not already present:\n\n```\n\u002Ftest-results\u002F\n\u002Fplaywright-report\u002F\n\u002Fblob-report\u002F\n\u002Fplaywright\u002F.cache\u002F\n```\n\n### 8. Add npm Scripts\n\nAdd to `package.json` scripts:\n\n```json\n{\n  \"test:e2e\": \"playwright test\",\n  \"test:e2e:ui\": \"playwright test --ui\",\n  \"test:e2e:debug\": \"playwright test --debug\"\n}\n```\n\n### 9. Verify Setup\n\nRun the example test:\n\n```bash\nnpx playwright test\n```\n\nReport the result. If it fails, diagnose and fix before completing.\n\n## Output\n\nConfirm what was created:\n- Config file path and key settings\n- Test directory and example test\n- CI workflow (if applicable)\n- npm scripts added\n- How to run: `npx playwright test` or `npm run test:e2e`\n","# Initialize Playwright Project\n\nSet up a production-ready Playwright testing environment. Detect the framework, generate config, folder structure, example test, and CI workflow.\n\n## Steps\n\n### 1. Analyze the Project\n\nUse the `Explore` subagent to scan the project:\n\n- Check `package.json` for framework (React, Next.js, Vue, Angular, Svelte)\n- Check for `tsconfig.json` → use TypeScript; otherwise JavaScript\n- Check if Playwright is already installed (`@playwright\u002Ftest` in dependencies)\n- Check for existing test directories (`tests\u002F`, `e2e\u002F`, `__tests__\u002F`)\n- Check for existing CI config (`.github\u002Fworkflows\u002F`, `.gitlab-ci.yml`)\n\n### 2. Install Playwright\n\nIf not already installed:\n\n```bash\nnpm init playwright@latest -- --quiet\n```\n\nOr if the user prefers manual setup:\n\n```bash\nnpm install -D @playwright\u002Ftest\nnpx playwright install --with-deps chromium\n```\n\n### 3. Generate `playwright.config.ts`\n\nAdapt to the detected framework:\n\n**Next.js:**\n```typescript\nimport { defineConfig, devices } from '@playwright\u002Ftest';\n\nexport default defineConfig({\n  testDir: '.\u002Fe2e',\n  fullyParallel: true,\n  forbidOnly: !!process.env.CI,\n  retries: process.env.CI ? 2 : 0,\n  workers: process.env.CI ? 1 : undefined,\n  reporter: [\n    ['html', { open: 'never' }],\n    ['list'],\n  ],\n  use: {\n    baseURL: 'http:\u002F\u002Flocalhost:3000',\n    trace: 'on-first-retry',\n    screenshot: 'only-on-failure',\n  },\n  projects: [\n    { name: 'chromium', use: { ...devices['Desktop Chrome'] } },\n    { name: 'firefox', use: { ...devices['Desktop Firefox'] } },\n    { name: 'webkit', use: { ...devices['Desktop Safari'] } },\n  ],\n  webServer: {\n    command: 'npm run dev',\n    url: 'http:\u002F\u002Flocalhost:3000',\n    reuseExistingServer: !process.env.CI,\n  },\n});\n```\n\n**React (Vite):**\n- Change `baseURL` to `http:\u002F\u002Flocalhost:5173`\n- Change `webServer.command` to `npm run dev`\n\n**Vue\u002FNuxt:**\n- Change `baseURL` to `http:\u002F\u002Flocalhost:3000`\n- Change `webServer.command` to `npm run dev`\n\n**Angular:**\n- Change `baseURL` to `http:\u002F\u002Flocalhost:4200`\n- Change `webServer.command` to `npm run start`\n\n**No framework detected:**\n- Omit `webServer` block\n- Set `baseURL` from user input or leave as placeholder\n\n### 4. Create Folder Structure\n\n```\ne2e\u002F\n├── fixtures\u002F\n│   └── index.ts          # Custom fixtures\n├── pages\u002F\n│   └── .gitkeep          # Page object models\n├── test-data\u002F\n│   └── .gitkeep          # Test data files\n└── example.spec.ts       # First example test\n```\n\n### 5. Generate Example Test\n\n```typescript\nimport { test, expect } from '@playwright\u002Ftest';\n\ntest.describe('Homepage', () => {\n  test('should load successfully', async ({ page }) => {\n    await page.goto('\u002F');\n    await expect(page).toHaveTitle(\u002F.+\u002F);\n  });\n\n  test('should have visible navigation', async ({ page }) => {\n    await page.goto('\u002F');\n    await expect(page.getByRole('navigation')).toBeVisible();\n  });\n});\n```\n\n### 6. Generate CI Workflow\n\nIf `.github\u002Fworkflows\u002F` exists, create `playwright.yml`:\n\n```yaml\nname: Playwright Tests\n\non:\n  push:\n    branches: [main, dev]\n  pull_request:\n    branches: [main, dev]\n\njobs:\n  test:\n    timeout-minutes: 60\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: actions\u002Fsetup-node@v4\n        with:\n          node-version: lts\u002F*\n      - name: Install dependencies\n        run: npm ci\n      - name: Install Playwright Browsers\n        run: npx playwright install --with-deps\n      - name: Run Playwright tests\n        run: npx playwright test\n      - uses: actions\u002Fupload-artifact@v4\n        if: ${{ !cancelled() }}\n        with:\n          name: playwright-report\n          path: playwright-report\u002F\n          retention-days: 30\n```\n\nIf `.gitlab-ci.yml` exists, add a Playwright stage instead.\n\n### 7. Update `.gitignore`\n\nAppend if not already present:\n\n```\n\u002Ftest-results\u002F\n\u002Fplaywright-report\u002F\n\u002Fblob-report\u002F\n\u002Fplaywright\u002F.cache\u002F\n```\n\n### 8. Add npm Scripts\n\nAdd to `package.json` scripts:\n\n```json\n{\n  \"test:e2e\": \"playwright test\",\n  \"test:e2e:ui\": \"playwright test --ui\",\n  \"test:e2e:debug\": \"playwright test --debug\"\n}\n```\n\n### 9. Verify Setup\n\nRun the example test:\n\n```bash\nnpx playwright test\n```\n\nReport the result. If it fails, diagnose and fix before completing.\n\n## Output\n\nConfirm what was created:\n- Config file path and key settings\n- Test directory and example test\n- CI workflow (if applicable)\n- npm scripts added\n- How to run: `npx playwright test` or `npm run test:e2e`\n",{"name":5,"description":7},"main","a318f48de3c5718e8ea2e9f6fae7790e8a759e85","upstream-import\u002Fclaude-skills\u002Freferences\u002Fengineering-team\u002Fplaywright-pro\u002Fskills\u002Finit",0,"https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FAgention","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud","https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Fo-abdelmaksoud\u002F","Full-Stack Engineer | AI Systems Architect | Building autonomous multi-agent systems","2026-03-08 21:23:03",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add oabdelmaksoud\u002FAgention --skill init",{"tool":54,"command":55},"bunx","bunx skills add oabdelmaksoud\u002FAgention --skill init",{"tool":57,"command":58},"pnpm","pnpm dlx skills add oabdelmaksoud\u002FAgention --skill init","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FAgention\u002Fblob\u002Fmain\u002Fupstream-import\u002Fclaude-skills\u002Freferences\u002Fengineering-team\u002Fplaywright-pro\u002Fskills\u002Finit\u002FSKILL.md",true,[],[63,82,96,113,139,157],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":34},"01M6G2QFCBNBYAJF2KTK85G9A6","visa-doc-translate","Translate visa application documents (images) to English and create a bilingual PDF with original and translation","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FAgention\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fvisa-doc-translate\u002FSKILL.md",[],[70,71,72,73,74,75,76,77,78,79,80,81],"translate","doc","visa doc translate","bilingual","with","english","application","PDF","translation","documents","create","images",{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":34},"01M6G2QB09TSK6BY4ME5X20EVQ","verification-loop","A comprehensive verification system for Claude Code sessions.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FAgention\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[89,90,91,92,93,94,95],"verification","loop","verification loop","sessions","code","claude code sessions","system",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":34},"01M6G2Q6V2F7G03VAAF27FXPJR","tdd-workflow","Use this skill when writing new features, fixing bugs, or refactoring code. Enforces test-driven development with 80%+ coverage including unit, integration, and E2E tests.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FAgention\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Ftdd-workflow\u002FSKILL.md",[],[103,104,105,30,106,107,108,27,109,93,110,24,33,111,74,21,112],"workflow","tdd","tdd workflow","unit","coverage","refactoring","integration","development","driven","writing",{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":34},"01M6G2Q359YJRWAR2PFCEQAXF3","swiftui-patterns","SwiftUI architecture patterns, state management with @Observable, view composition, navigation, performance optimization, and modern iOS\u002FmacOS UI best practices.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FAgention\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fswiftui-patterns\u002FSKILL.md",[],[120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,74],"patterns","swiftui","swiftui patterns","architecture","macos","performance","state management","best practices","state","ui","Optimization","ios","architecture patterns","Composition","performance optimization","view","management","swiftui architecture","navigation",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":34},"01M6G2PY8B2FWZTWPZ84H83Y7C","swift-protocol-di-testing","Protocol-based dependency injection for testable Swift code — mock file system, network, and external APIs using focused protocols and Swift Testing.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FAgention\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fswift-protocol-di-testing\u002FSKILL.md",[],[146,147,148,19,93,149,150,151,152,95,153,154,155,156],"swift protocol di testing","protocol","swift","protocols","file","network","injection","dependency","swift testing","dependency injection","mock",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":34},"01M6G2PSCN2GXV9FFZDRRRWVB6","swift-concurrency-6-2","Swift 6.2 Approachable Concurrency — single-threaded by default, @concurrent for explicit background offloading, isolated conformances for main actor types.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FAgention\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fswift-concurrency-6-2\u002FSKILL.md",[],[164,165,166,148,167,39,168],"concurrency","swift concurrency","swift concurrency 6 2","default","types"]