[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F7R83T33K25TGA7QX0JT8K":3,"skill-same:01M6F7R83T33K25TGA7QX0JT8K":74},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":56,"ownerHtmlUrl":57,"ownerBlogUrl":6,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M6F7R83T33K25TGA7QX0JT8K","brightdata-ci-integration",null,"Configure Bright Data CI\u002FCD integration with GitHub Actions and testing.\nUse when setting up automated testing, configuring CI pipelines,\nor integrating Bright Data tests into your build process.\nTrigger with phrases like \"brightdata CI\", \"brightdata GitHub Actions\",\n\"brightdata automated tests\", \"CI brightdata\".","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fbrightdata-ci-integration\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"brightdata ci integration","integration","ci","brightdata","write","CI\u002FCD","trigger","io","tests","up","scraping","edit","testing","read","configure","Bash","data","github actions","actions","code","2026-11-10 10:12:30",false,"---\nname: brightdata-ci-integration\ndescription: |\n  Configure Bright Data CI\u002FCD integration with GitHub Actions and testing.\n  Use when setting up automated testing, configuring CI pipelines,\n  or integrating Bright Data tests into your build process.\n  Trigger with phrases like \"brightdata CI\", \"brightdata GitHub Actions\",\n  \"brightdata automated tests\", \"CI brightdata\".\nallowed-tools: Read, Write, Edit, Bash(gh:*)\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ntags: [saas, scraping, data, brightdata]\ncompatible-with: claude-code\n---\n\n# Bright Data CI Integration\n\n## Overview\n\nSet up CI\u002FCD pipelines for Bright Data scraping projects with GitHub Actions. Includes mocked unit tests that run without proxy access and optional live integration tests that verify actual proxy connectivity.\n\n## Prerequisites\n\n- GitHub repository with Actions enabled\n- Bright Data test zone credentials\n- npm\u002Fpnpm project configured\n\n## Instructions\n\n### Step 1: GitHub Actions Workflow\n\n```yaml\n# .github\u002Fworkflows\u002Fscraper-tests.yml\nname: Scraper Tests\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\njobs:\n  unit-tests:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: actions\u002Fsetup-node@v4\n        with:\n          node-version: '20'\n          cache: 'npm'\n      - run: npm ci\n      - run: npm test -- --coverage\n        # Unit tests use mocked proxy responses — no credentials needed\n\n  integration-tests:\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' && github.ref == 'refs\u002Fheads\u002Fmain'\n    env:\n      BRIGHTDATA_CUSTOMER_ID: ${{ secrets.BRIGHTDATA_CUSTOMER_ID }}\n      BRIGHTDATA_ZONE: ${{ secrets.BRIGHTDATA_ZONE }}\n      BRIGHTDATA_ZONE_PASSWORD: ${{ secrets.BRIGHTDATA_ZONE_PASSWORD }}\n      BRIGHTDATA_API_TOKEN: ${{ secrets.BRIGHTDATA_API_TOKEN }}\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: actions\u002Fsetup-node@v4\n        with:\n          node-version: '20'\n          cache: 'npm'\n      - run: npm ci\n      - name: Download Bright Data CA cert\n        run: curl -sO https:\u002F\u002Fbrightdata.com\u002Fssl\u002Fbrd-ca.crt\n      - name: Verify proxy connectivity\n        run: |\n          curl -x \"http:\u002F\u002Fbrd-customer-${BRIGHTDATA_CUSTOMER_ID}-zone-${BRIGHTDATA_ZONE}:${BRIGHTDATA_ZONE_PASSWORD}@brd.superproxy.io:33335\" \\\n            -s https:\u002F\u002Flumtest.com\u002Fmyip.json | python3 -m json.tool\n      - run: npm run test:integration\n```\n\n### Step 2: Configure GitHub Secrets\n\n```bash\ngh secret set BRIGHTDATA_CUSTOMER_ID --body \"c_abc123\"\ngh secret set BRIGHTDATA_ZONE --body \"web_unlocker_test\"\ngh secret set BRIGHTDATA_ZONE_PASSWORD --body \"z_test_password\"\ngh secret set BRIGHTDATA_API_TOKEN --body \"test_api_token\"\n```\n\n### Step 3: Write Mocked Unit Tests\n\n```typescript\n\u002F\u002F tests\u002Funit\u002Fscraper.test.ts — runs without Bright Data credentials\nimport { describe, it, expect, vi, beforeEach } from 'vitest';\nimport axios from 'axios';\n\nvi.mock('axios');\n\ndescribe('Scraper', () => {\n  beforeEach(() => vi.clearAllMocks());\n\n  it('should configure proxy correctly', async () => {\n    vi.mocked(axios.create).mockReturnValue({\n      get: vi.fn().mockResolvedValue({ status: 200, data: '\u003Chtml>OK\u003C\u002Fhtml>' }),\n    } as any);\n\n    const { getBrightDataClient } = await import('..\u002F..\u002Fsrc\u002Fbrightdata\u002Fclient');\n    const client = getBrightDataClient();\n\n    expect(axios.create).toHaveBeenCalledWith(\n      expect.objectContaining({\n        proxy: expect.objectContaining({ host: 'brd.superproxy.io', port: 33335 }),\n      })\n    );\n  });\n\n  it('should parse HTML response into structured data', async () => {\n    const { parseProductPage } = await import('..\u002F..\u002Fsrc\u002Fbrightdata\u002Fparser');\n    const result = parseProductPage('\u003Chtml>\u003Ch1>Product\u003C\u002Fh1>\u003Cspan class=\"price\">$29.99\u003C\u002Fspan>\u003C\u002Fhtml>');\n    expect(result.title).toBe('Product');\n    expect(result.price).toBe('$29.99');\n  });\n});\n```\n\n### Step 4: Write Live Integration Tests\n\n```typescript\n\u002F\u002F tests\u002Fintegration\u002Fproxy.test.ts\nimport { describe, it, expect } from 'vitest';\n\nconst LIVE = process.env.BRIGHTDATA_CUSTOMER_ID && process.env.BRIGHTDATA_ZONE;\n\ndescribe.skipIf(!LIVE)('Bright Data Live Integration', () => {\n  it('should connect through proxy', async () => {\n    const { getBrightDataClient } = await import('..\u002F..\u002Fsrc\u002Fbrightdata\u002Fclient');\n    const client = getBrightDataClient();\n    const res = await client.get('https:\u002F\u002Flumtest.com\u002Fmyip.json');\n    expect(res.status).toBe(200);\n    expect(res.data).toHaveProperty('ip');\n    expect(res.data).toHaveProperty('country');\n  }, 30000);\n\n  it('should scrape through Web Unlocker', async () => {\n    const { getBrightDataClient } = await import('..\u002F..\u002Fsrc\u002Fbrightdata\u002Fclient');\n    const client = getBrightDataClient();\n    const res = await client.get('https:\u002F\u002Fexample.com');\n    expect(res.status).toBe(200);\n    expect(res.data).toContain('Example Domain');\n  }, 60000);\n});\n```\n\n## Output\n\n- Unit tests run on every PR without proxy credentials\n- Integration tests run on main push with live proxy\n- GitHub secrets configured securely\n- CA certificate downloaded in CI\n\n## Error Handling\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Integration tests fail | Missing secrets | Add via `gh secret set` |\n| Proxy timeout in CI | Slow CAPTCHA | Increase test timeout to 60s |\n| Flaky tests | IP rotation variability | Use `lumtest.com` for stable verification |\n\n## Resources\n\n- [GitHub Actions Docs](https:\u002F\u002Fdocs.github.com\u002Fen\u002Factions)\n- [Bright Data Status API](https:\u002F\u002Fstatus.brightdata.com)\n\n## Next Steps\n\nFor deployment patterns, see `brightdata-deploy-integration`.\n\n","# Bright Data CI Integration\n\n## Overview\n\nSet up CI\u002FCD pipelines for Bright Data scraping projects with GitHub Actions. Includes mocked unit tests that run without proxy access and optional live integration tests that verify actual proxy connectivity.\n\n## Prerequisites\n\n- GitHub repository with Actions enabled\n- Bright Data test zone credentials\n- npm\u002Fpnpm project configured\n\n## Instructions\n\n### Step 1: GitHub Actions Workflow\n\n```yaml\n# .github\u002Fworkflows\u002Fscraper-tests.yml\nname: Scraper Tests\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\njobs:\n  unit-tests:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: actions\u002Fsetup-node@v4\n        with:\n          node-version: '20'\n          cache: 'npm'\n      - run: npm ci\n      - run: npm test -- --coverage\n        # Unit tests use mocked proxy responses — no credentials needed\n\n  integration-tests:\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' && github.ref == 'refs\u002Fheads\u002Fmain'\n    env:\n      BRIGHTDATA_CUSTOMER_ID: ${{ secrets.BRIGHTDATA_CUSTOMER_ID }}\n      BRIGHTDATA_ZONE: ${{ secrets.BRIGHTDATA_ZONE }}\n      BRIGHTDATA_ZONE_PASSWORD: ${{ secrets.BRIGHTDATA_ZONE_PASSWORD }}\n      BRIGHTDATA_API_TOKEN: ${{ secrets.BRIGHTDATA_API_TOKEN }}\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: actions\u002Fsetup-node@v4\n        with:\n          node-version: '20'\n          cache: 'npm'\n      - run: npm ci\n      - name: Download Bright Data CA cert\n        run: curl -sO https:\u002F\u002Fbrightdata.com\u002Fssl\u002Fbrd-ca.crt\n      - name: Verify proxy connectivity\n        run: |\n          curl -x \"http:\u002F\u002Fbrd-customer-${BRIGHTDATA_CUSTOMER_ID}-zone-${BRIGHTDATA_ZONE}:${BRIGHTDATA_ZONE_PASSWORD}@brd.superproxy.io:33335\" \\\n            -s https:\u002F\u002Flumtest.com\u002Fmyip.json | python3 -m json.tool\n      - run: npm run test:integration\n```\n\n### Step 2: Configure GitHub Secrets\n\n```bash\ngh secret set BRIGHTDATA_CUSTOMER_ID --body \"c_abc123\"\ngh secret set BRIGHTDATA_ZONE --body \"web_unlocker_test\"\ngh secret set BRIGHTDATA_ZONE_PASSWORD --body \"z_test_password\"\ngh secret set BRIGHTDATA_API_TOKEN --body \"test_api_token\"\n```\n\n### Step 3: Write Mocked Unit Tests\n\n```typescript\n\u002F\u002F tests\u002Funit\u002Fscraper.test.ts — runs without Bright Data credentials\nimport { describe, it, expect, vi, beforeEach } from 'vitest';\nimport axios from 'axios';\n\nvi.mock('axios');\n\ndescribe('Scraper', () => {\n  beforeEach(() => vi.clearAllMocks());\n\n  it('should configure proxy correctly', async () => {\n    vi.mocked(axios.create).mockReturnValue({\n      get: vi.fn().mockResolvedValue({ status: 200, data: '\u003Chtml>OK\u003C\u002Fhtml>' }),\n    } as any);\n\n    const { getBrightDataClient } = await import('..\u002F..\u002Fsrc\u002Fbrightdata\u002Fclient');\n    const client = getBrightDataClient();\n\n    expect(axios.create).toHaveBeenCalledWith(\n      expect.objectContaining({\n        proxy: expect.objectContaining({ host: 'brd.superproxy.io', port: 33335 }),\n      })\n    );\n  });\n\n  it('should parse HTML response into structured data', async () => {\n    const { parseProductPage } = await import('..\u002F..\u002Fsrc\u002Fbrightdata\u002Fparser');\n    const result = parseProductPage('\u003Chtml>\u003Ch1>Product\u003C\u002Fh1>\u003Cspan class=\"price\">$29.99\u003C\u002Fspan>\u003C\u002Fhtml>');\n    expect(result.title).toBe('Product');\n    expect(result.price).toBe('$29.99');\n  });\n});\n```\n\n### Step 4: Write Live Integration Tests\n\n```typescript\n\u002F\u002F tests\u002Fintegration\u002Fproxy.test.ts\nimport { describe, it, expect } from 'vitest';\n\nconst LIVE = process.env.BRIGHTDATA_CUSTOMER_ID && process.env.BRIGHTDATA_ZONE;\n\ndescribe.skipIf(!LIVE)('Bright Data Live Integration', () => {\n  it('should connect through proxy', async () => {\n    const { getBrightDataClient } = await import('..\u002F..\u002Fsrc\u002Fbrightdata\u002Fclient');\n    const client = getBrightDataClient();\n    const res = await client.get('https:\u002F\u002Flumtest.com\u002Fmyip.json');\n    expect(res.status).toBe(200);\n    expect(res.data).toHaveProperty('ip');\n    expect(res.data).toHaveProperty('country');\n  }, 30000);\n\n  it('should scrape through Web Unlocker', async () => {\n    const { getBrightDataClient } = await import('..\u002F..\u002Fsrc\u002Fbrightdata\u002Fclient');\n    const client = getBrightDataClient();\n    const res = await client.get('https:\u002F\u002Fexample.com');\n    expect(res.status).toBe(200);\n    expect(res.data).toContain('Example Domain');\n  }, 60000);\n});\n```\n\n## Output\n\n- Unit tests run on every PR without proxy credentials\n- Integration tests run on main push with live proxy\n- GitHub secrets configured securely\n- CA certificate downloaded in CI\n\n## Error Handling\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Integration tests fail | Missing secrets | Add via `gh secret set` |\n| Proxy timeout in CI | Slow CAPTCHA | Increase test timeout to 60s |\n| Flaky tests | IP rotation variability | Use `lumtest.com` for stable verification |\n\n## Resources\n\n- [GitHub Actions Docs](https:\u002F\u002Fdocs.github.com\u002Fen\u002Factions)\n- [Bright Data Status API](https:\u002F\u002Fstatus.brightdata.com)\n\n## Next Steps\n\nFor deployment patterns, see `brightdata-deploy-integration`.\n\n",{"name":5,"tags":44,"author":46,"license":15,"version":47,"description":48,"allowed-tools":49,"compatible-with":50},[45,29,35,22],"saas","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Configure Bright Data CI\u002FCD integration with GitHub Actions and testing.\nUse when setting up automated testing, configuring CI pipelines,\nor integrating Bright Data tests into your build process.\nTrigger with phrases like \"brightdata CI\", \"brightdata GitHub Actions\",\n\"brightdata automated tests\", \"CI brightdata\".\n","Read, Write, Edit, Bash(gh:*)","claude-code","main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fbrightdata-ci-integration",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill brightdata-ci-integration",{"tool":66,"command":67},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill brightdata-ci-integration",{"tool":69,"command":70},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill brightdata-ci-integration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fbrightdata-ci-integration\u002FSKILL.md",true,[],[75,84,93,102,108,114],{"skillNo":76,"name":77,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":39},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[81,82,83],"model","model hierarchy","model hierarchy skill",{"skillNo":85,"name":86,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":39},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[90,91,92],"MCP","zoom","zoom mcp",{"skillNo":94,"name":95,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":39},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[99,100,101,91],"sdk","zoom apps sdk","apps",{"skillNo":103,"name":104,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":39},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[104],{"skillNo":109,"name":110,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":39},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[110],{"skillNo":115,"name":116,"nameZh":6,"description":6,"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":39},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[116]]