[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73AJD0P9EDHV4WJCMCK7A0S":3,"skill-same:01M73AJD0P9EDHV4WJCMCK7A0S":46},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M73AJD0P9EDHV4WJCMCK7A0S","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\".","kalash33\u002Fkstack","kalash33","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F90259149?v=4","01M7365X8Q0B73NYHA730SMZWN","Kalash Poddar","01M7365X9D0JK47C3Q0YCCK9Z2",0,"MIT","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fnginity-playwright-pro\u002Fskills\u002Finit\u002FSKILL.md",[],[],"2026-11-11 15:11:14",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","b30820b3248f6676d5389f0ccabd4e5250c9c536","skills\u002Fnginity-playwright-pro\u002Fskills\u002Finit","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack","https:\u002F\u002Fgithub.com\u002Fkalash33","kalashpoddar.me","Tech-savvy Full Stack Developer 🚀 | Cybersecurity enthusiast 🔒 | Passionate about innovation and securing the digital world 🌐 | Let's code securely! 💻🔐","2026-05-20 04:11:22",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add kalash33\u002Fkstack --skill init",{"tool":38,"command":39},"bunx","bunx skills add kalash33\u002Fkstack --skill init",{"tool":41,"command":42},"pnpm","pnpm dlx skills add kalash33\u002Fkstack --skill init","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fnginity-playwright-pro\u002Fskills\u002Finit\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M73CFERCR43JCAP606E41EFB","zustand-store-ts","Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state\u002Faction separation. Use when building React state management, creating global stores, or implementing reacti...","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-ts\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M73CFCMFVTAQEMTZ5HR10X8V","zoom-automation","Automate Zoom meeting creation, management, recordings, webinars, and participant tracking via Rube MCP (Composio). Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-automation\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M73CFAA7EBWXJVXDQ1X555MB","zoho-crm-automation","Automate Zoho CRM tasks via Rube MCP (Composio): create\u002Fupdate records, search contacts, manage leads, and convert leads. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzoho-crm-automation\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M73CF80XCM9K81567MJ8QZFW","zod-validation-expert","Expert in Zod — TypeScript-first schema validation. Covers parsing, custom errors, refinements, type inference, and integration with React Hook Form, Next.js, and tRPC.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzod-validation-expert\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M73CF4YPMF3RA8ZJDXZSMD93","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[],{"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":19},"01M73CF2S25EN3XNAMKY47XHPS","zendesk-automation","Automate Zendesk tasks via Rube MCP (Composio): tickets, users, organizations, replies. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzendesk-automation\u002FSKILL.md",[],[]]