[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F68TAHE3SAP3S39E1J0EN3":3,"skill-same:01M6F68TAHE3SAP3S39E1J0EN3":80},{"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":26,"publishedAt":48,"linkOnly":49,"markdownContent":50,"markdownBody":51,"frontMatter":52,"refName":57,"commitSha":58,"skillDirectory":59,"forksCount":60,"repositoryHtmlUrl":61,"repositoryHomepageUrl":6,"ownerHtmlUrl":62,"ownerBlogUrl":63,"ownerDescription":64,"updatedAt":65,"install":66,"resources":79},"01M6F68TAHE3SAP3S39E1J0EN3","deepgram-ci-integration",null,"Configure Deepgram CI\u002FCD integration for automated testing and deployment.\nUse when setting up continuous integration pipelines, automated testing,\nor deployment workflows for Deepgram integrations.\nTrigger with phrases like \"deepgram CI\", \"deepgram CD\", \"deepgram pipeline\",\n\"deepgram github actions\", \"deepgram automated testing\".","Dicklesworthstone\u002Fpi_agent_rust","Dicklesworthstone","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F35050222?v=4","01M6CG26AR942CSVMN1M5E3DSE","Jeff Emanuel","01M6CG26EPP71PSHW1VDS71121",1992,"MIT","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fdeepgram-pack\u002Fskills\u002Fdeepgram-ci-integration\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000011","运维与部署",[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47],"deepgram ci integration","integration","ci","deepgram","integrations","when","CI\u002FCD","io","continuous integration","up","edit","write","read","testing","configure","Bash","pipeline","github actions","actions","deployment","workflows","2026-11-10 10:12:30",false,"---\nname: deepgram-ci-integration\ndescription: |\n  Configure Deepgram CI\u002FCD integration for automated testing and deployment.\n  Use when setting up continuous integration pipelines, automated testing,\n  or deployment workflows for Deepgram integrations.\n  Trigger with phrases like \"deepgram CI\", \"deepgram CD\", \"deepgram pipeline\",\n  \"deepgram github actions\", \"deepgram automated testing\".\nallowed-tools: Read, Write, Edit, Bash(gh:*), Bash(curl:*)\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\n---\n\n# Deepgram CI Integration\n\n## Overview\nSet up continuous integration and deployment pipelines for Deepgram integrations.\n\n## Prerequisites\n- CI\u002FCD platform access (GitHub Actions, GitLab CI, etc.)\n- Deepgram API key for testing\n- Secret management configured\n- Test fixtures prepared\n\n## Instructions\n\n### Step 1: Configure Secrets\nStore API keys securely in CI\u002FCD environment.\n\n### Step 2: Create Test Workflow\nSet up automated testing on push\u002FPR.\n\n### Step 3: Add Integration Tests\nImplement Deepgram-specific integration tests.\n\n### Step 4: Configure Deployment\nSet up automated deployment pipeline.\n\n## Output\n- CI workflow configuration\n- Automated test suite\n- Deployment pipeline\n- Secret management\n\n## Examples\n\n### GitHub Actions Workflow\n```yaml\n# .github\u002Fworkflows\u002Fdeepgram-ci.yml\nname: Deepgram CI\n\non:\n  push:\n    branches: [main, develop]\n  pull_request:\n    branches: [main]\n\nenv:\n  NODE_VERSION: '20'\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Setup Node.js\n        uses: actions\u002Fsetup-node@v4\n        with:\n          node-version: ${{ env.NODE_VERSION }}\n          cache: 'npm'\n\n      - name: Install dependencies\n        run: npm ci\n\n      - name: Run unit tests\n        run: npm test\n\n      - name: Run integration tests\n        env:\n          DEEPGRAM_API_KEY: ${{ secrets.DEEPGRAM_API_KEY }}\n        run: npm run test:integration\n\n      - name: Upload coverage\n        uses: codecov\u002Fcodecov-action@v3\n        with:\n          files: .\u002Fcoverage\u002Flcov.info\n\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Setup Node.js\n        uses: actions\u002Fsetup-node@v4\n        with:\n          node-version: ${{ env.NODE_VERSION }}\n          cache: 'npm'\n\n      - name: Install dependencies\n        run: npm ci\n\n      - name: Run linter\n        run: npm run lint\n\n      - name: Type check\n        run: npm run typecheck\n\n  integration:\n    runs-on: ubuntu-latest\n    needs: [test, lint]\n    if: github.event_name == 'push' && github.ref == 'refs\u002Fheads\u002Fmain'\n\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Setup Node.js\n        uses: actions\u002Fsetup-node@v4\n        with:\n          node-version: ${{ env.NODE_VERSION }}\n          cache: 'npm'\n\n      - name: Install dependencies\n        run: npm ci\n\n      - name: Run Deepgram integration tests\n        env:\n          DEEPGRAM_API_KEY: ${{ secrets.DEEPGRAM_API_KEY }}\n          DEEPGRAM_PROJECT_ID: ${{ secrets.DEEPGRAM_PROJECT_ID }}\n        run: npm run test:deepgram\n\n      - name: Smoke test\n        env:\n          DEEPGRAM_API_KEY: ${{ secrets.DEEPGRAM_API_KEY }}\n        run: |\n          npm run build\n          npm run smoke-test\n\n  deploy:\n    runs-on: ubuntu-latest\n    needs: [integration]\n    if: github.event_name == 'push' && github.ref == 'refs\u002Fheads\u002Fmain'\n\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Deploy to staging\n        env:\n          DEEPGRAM_API_KEY: ${{ secrets.DEEPGRAM_API_KEY_STAGING }}\n        run: npm run deploy:staging\n\n      - name: Run post-deploy tests\n        env:\n          DEEPGRAM_API_KEY: ${{ secrets.DEEPGRAM_API_KEY_STAGING }}\n        run: npm run test:staging\n```\n\n### GitLab CI Configuration\n```yaml\n# .gitlab-ci.yml\nstages:\n  - test\n  - build\n  - deploy\n\nvariables:\n  NODE_VERSION: \"20\"\n\n.node-template:\n  image: node:${NODE_VERSION}\n  cache:\n    key: ${CI_COMMIT_REF_SLUG}\n    paths:\n      - node_modules\u002F\n\nunit-tests:\n  extends: .node-template\n  stage: test\n  script:\n    - npm ci\n    - npm test\n  coverage: '\u002FAll files[^|]*\\|[^|]*\\s+([\\d\\.]+)\u002F'\n  artifacts:\n    reports:\n      coverage_report:\n        coverage_format: cobertura\n        path: coverage\u002Fcobertura-coverage.xml\n\nintegration-tests:\n  extends: .node-template\n  stage: test\n  variables:\n    DEEPGRAM_API_KEY: ${DEEPGRAM_API_KEY}\n  script:\n    - npm ci\n    - npm run test:integration\n  only:\n    - main\n    - develop\n\nbuild:\n  extends: .node-template\n  stage: build\n  script:\n    - npm ci\n    - npm run build\n  artifacts:\n    paths:\n      - dist\u002F\n\ndeploy-staging:\n  extends: .node-template\n  stage: deploy\n  variables:\n    DEEPGRAM_API_KEY: ${DEEPGRAM_API_KEY_STAGING}\n  script:\n    - npm ci\n    - npm run deploy:staging\n  environment:\n    name: staging\n  only:\n    - main\n\ndeploy-production:\n  extends: .node-template\n  stage: deploy\n  variables:\n    DEEPGRAM_API_KEY: ${DEEPGRAM_API_KEY_PRODUCTION}\n  script:\n    - npm ci\n    - npm run deploy:production\n  environment:\n    name: production\n  when: manual\n  only:\n    - main\n```\n\n### Integration Test Suite\n```typescript\n\u002F\u002F tests\u002Fintegration\u002Fdeepgram.test.ts\nimport { describe, it, expect, beforeAll, afterAll } from 'vitest';\nimport { createClient, DeepgramClient } from '@deepgram\u002Fsdk';\n\ndescribe('Deepgram Integration Tests', () => {\n  let client: DeepgramClient;\n\n  beforeAll(() => {\n    const apiKey = process.env.DEEPGRAM_API_KEY;\n    if (!apiKey) {\n      throw new Error('DEEPGRAM_API_KEY not set');\n    }\n    client = createClient(apiKey);\n  });\n\n  describe('API Connectivity', () => {\n    it('should connect to Deepgram API', async () => {\n      const { result, error } = await client.manage.getProjects();\n      expect(error).toBeNull();\n      expect(result).toBeDefined();\n    });\n  });\n\n  describe('Pre-recorded Transcription', () => {\n    it('should transcribe audio from URL', async () => {\n      const { result, error } = await client.listen.prerecorded.transcribeUrl(\n        { url: 'https:\u002F\u002Fstatic.deepgram.com\u002Fexamples\u002Fnasa-podcast.wav' },\n        { model: 'nova-2', smart_format: true }\n      );\n\n      expect(error).toBeNull();\n      expect(result).toBeDefined();\n      expect(result.results.channels[0].alternatives[0].transcript).toBeTruthy();\n    }, 30000);\n\n    it('should handle multiple languages', async () => {\n      const { result, error } = await client.listen.prerecorded.transcribeUrl(\n        { url: 'https:\u002F\u002Fstatic.deepgram.com\u002Fexamples\u002Fnasa-podcast.wav' },\n        { model: 'nova-2', detect_language: true }\n      );\n\n      expect(error).toBeNull();\n      expect(result.results.channels[0].detected_language).toBeDefined();\n    }, 30000);\n  });\n\n  describe('Error Handling', () => {\n    it('should handle invalid URLs gracefully', async () => {\n      const { error } = await client.listen.prerecorded.transcribeUrl(\n        { url: 'https:\u002F\u002Finvalid.example.com\u002Faudio.wav' },\n        { model: 'nova-2' }\n      );\n\n      expect(error).toBeDefined();\n    });\n  });\n});\n```\n\n### Smoke Test Script\n```typescript\n\u002F\u002F scripts\u002Fsmoke-test.ts\nimport { createClient } from '@deepgram\u002Fsdk';\n\nasync function smokeTest(): Promise\u003Cvoid> {\n  console.log('Running Deepgram smoke test...');\n\n  const apiKey = process.env.DEEPGRAM_API_KEY;\n  if (!apiKey) {\n    throw new Error('DEEPGRAM_API_KEY not set');\n  }\n\n  const client = createClient(apiKey);\n\n  \u002F\u002F Test 1: API connectivity\n  console.log('Testing API connectivity...');\n  const { error: connectError } = await client.manage.getProjects();\n  if (connectError) {\n    throw new Error(`API connectivity failed: ${connectError.message}`);\n  }\n  console.log('  API connectivity OK');\n\n  \u002F\u002F Test 2: Transcription\n  console.log('Testing transcription...');\n  const { result, error: transcribeError } = await client.listen.prerecorded.transcribeUrl(\n    { url: 'https:\u002F\u002Fstatic.deepgram.com\u002Fexamples\u002Fnasa-podcast.wav' },\n    { model: 'nova-2', smart_format: true }\n  );\n\n  if (transcribeError) {\n    throw new Error(`Transcription failed: ${transcribeError.message}`);\n  }\n\n  const transcript = result.results.channels[0].alternatives[0].transcript;\n  if (!transcript || transcript.length \u003C 10) {\n    throw new Error('Transcription result too short');\n  }\n  console.log('  Transcription OK');\n\n  console.log('\\nSmoke test passed!');\n}\n\nsmokeTest()\n  .then(() => process.exit(0))\n  .catch((error) => {\n    console.error('Smoke test failed:', error.message);\n    process.exit(1);\n  });\n```\n\n### Package.json Scripts\n```json\n{\n  \"scripts\": {\n    \"test\": \"vitest run\",\n    \"test:watch\": \"vitest\",\n    \"test:integration\": \"vitest run --config vitest.integration.config.ts\",\n    \"test:deepgram\": \"vitest run tests\u002Fintegration\u002Fdeepgram.test.ts\",\n    \"smoke-test\": \"tsx scripts\u002Fsmoke-test.ts\",\n    \"lint\": \"eslint src --ext .ts\",\n    \"typecheck\": \"tsc --noEmit\",\n    \"build\": \"tsc\",\n    \"deploy:staging\": \"npm run build && .\u002Fscripts\u002Fdeploy.sh staging\",\n    \"deploy:production\": \"npm run build && .\u002Fscripts\u002Fdeploy.sh production\"\n  }\n}\n```\n\n### Secret Rotation in CI\n```yaml\n# .github\u002Fworkflows\u002Frotate-keys.yml\nname: Rotate Deepgram Keys\n\non:\n  schedule:\n    - cron: '0 0 1 * *'  # First day of each month\n  workflow_dispatch:\n\njobs:\n  rotate:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Rotate API key\n        env:\n          DEEPGRAM_ADMIN_KEY: ${{ secrets.DEEPGRAM_ADMIN_KEY }}\n          DEEPGRAM_PROJECT_ID: ${{ secrets.DEEPGRAM_PROJECT_ID }}\n          GH_TOKEN: ${{ secrets.GH_PAT }}\n        run: |\n          # Create new key\n          NEW_KEY=$(curl -s -X POST \\\n            \"https:\u002F\u002Fapi.deepgram.com\u002Fv1\u002Fprojects\u002F$DEEPGRAM_PROJECT_ID\u002Fkeys\" \\\n            -H \"Authorization: Token $DEEPGRAM_ADMIN_KEY\" \\\n            -H \"Content-Type: application\u002Fjson\" \\\n            -d '{\"comment\": \"CI Key - rotated\", \"scopes\": [\"usage:write\"]}' \\\n            | jq -r '.key')\n\n          # Update GitHub secret\n          gh secret set DEEPGRAM_API_KEY --body \"$NEW_KEY\"\n\n          echo \"Key rotated successfully\"\n```\n\n## Resources\n- [GitHub Actions Documentation](https:\u002F\u002Fdocs.github.com\u002Fen\u002Factions)\n- [GitLab CI Documentation](https:\u002F\u002Fdocs.gitlab.com\u002Fee\u002Fci\u002F)\n- [Deepgram SDK Testing](https:\u002F\u002Fdevelopers.deepgram.com\u002Fdocs\u002Ftesting)\n\n## Next Steps\nProceed to `deepgram-deploy-integration` for deployment configuration.\n","# Deepgram CI Integration\n\n## Overview\nSet up continuous integration and deployment pipelines for Deepgram integrations.\n\n## Prerequisites\n- CI\u002FCD platform access (GitHub Actions, GitLab CI, etc.)\n- Deepgram API key for testing\n- Secret management configured\n- Test fixtures prepared\n\n## Instructions\n\n### Step 1: Configure Secrets\nStore API keys securely in CI\u002FCD environment.\n\n### Step 2: Create Test Workflow\nSet up automated testing on push\u002FPR.\n\n### Step 3: Add Integration Tests\nImplement Deepgram-specific integration tests.\n\n### Step 4: Configure Deployment\nSet up automated deployment pipeline.\n\n## Output\n- CI workflow configuration\n- Automated test suite\n- Deployment pipeline\n- Secret management\n\n## Examples\n\n### GitHub Actions Workflow\n```yaml\n# .github\u002Fworkflows\u002Fdeepgram-ci.yml\nname: Deepgram CI\n\non:\n  push:\n    branches: [main, develop]\n  pull_request:\n    branches: [main]\n\nenv:\n  NODE_VERSION: '20'\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Setup Node.js\n        uses: actions\u002Fsetup-node@v4\n        with:\n          node-version: ${{ env.NODE_VERSION }}\n          cache: 'npm'\n\n      - name: Install dependencies\n        run: npm ci\n\n      - name: Run unit tests\n        run: npm test\n\n      - name: Run integration tests\n        env:\n          DEEPGRAM_API_KEY: ${{ secrets.DEEPGRAM_API_KEY }}\n        run: npm run test:integration\n\n      - name: Upload coverage\n        uses: codecov\u002Fcodecov-action@v3\n        with:\n          files: .\u002Fcoverage\u002Flcov.info\n\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Setup Node.js\n        uses: actions\u002Fsetup-node@v4\n        with:\n          node-version: ${{ env.NODE_VERSION }}\n          cache: 'npm'\n\n      - name: Install dependencies\n        run: npm ci\n\n      - name: Run linter\n        run: npm run lint\n\n      - name: Type check\n        run: npm run typecheck\n\n  integration:\n    runs-on: ubuntu-latest\n    needs: [test, lint]\n    if: github.event_name == 'push' && github.ref == 'refs\u002Fheads\u002Fmain'\n\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Setup Node.js\n        uses: actions\u002Fsetup-node@v4\n        with:\n          node-version: ${{ env.NODE_VERSION }}\n          cache: 'npm'\n\n      - name: Install dependencies\n        run: npm ci\n\n      - name: Run Deepgram integration tests\n        env:\n          DEEPGRAM_API_KEY: ${{ secrets.DEEPGRAM_API_KEY }}\n          DEEPGRAM_PROJECT_ID: ${{ secrets.DEEPGRAM_PROJECT_ID }}\n        run: npm run test:deepgram\n\n      - name: Smoke test\n        env:\n          DEEPGRAM_API_KEY: ${{ secrets.DEEPGRAM_API_KEY }}\n        run: |\n          npm run build\n          npm run smoke-test\n\n  deploy:\n    runs-on: ubuntu-latest\n    needs: [integration]\n    if: github.event_name == 'push' && github.ref == 'refs\u002Fheads\u002Fmain'\n\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Deploy to staging\n        env:\n          DEEPGRAM_API_KEY: ${{ secrets.DEEPGRAM_API_KEY_STAGING }}\n        run: npm run deploy:staging\n\n      - name: Run post-deploy tests\n        env:\n          DEEPGRAM_API_KEY: ${{ secrets.DEEPGRAM_API_KEY_STAGING }}\n        run: npm run test:staging\n```\n\n### GitLab CI Configuration\n```yaml\n# .gitlab-ci.yml\nstages:\n  - test\n  - build\n  - deploy\n\nvariables:\n  NODE_VERSION: \"20\"\n\n.node-template:\n  image: node:${NODE_VERSION}\n  cache:\n    key: ${CI_COMMIT_REF_SLUG}\n    paths:\n      - node_modules\u002F\n\nunit-tests:\n  extends: .node-template\n  stage: test\n  script:\n    - npm ci\n    - npm test\n  coverage: '\u002FAll files[^|]*\\|[^|]*\\s+([\\d\\.]+)\u002F'\n  artifacts:\n    reports:\n      coverage_report:\n        coverage_format: cobertura\n        path: coverage\u002Fcobertura-coverage.xml\n\nintegration-tests:\n  extends: .node-template\n  stage: test\n  variables:\n    DEEPGRAM_API_KEY: ${DEEPGRAM_API_KEY}\n  script:\n    - npm ci\n    - npm run test:integration\n  only:\n    - main\n    - develop\n\nbuild:\n  extends: .node-template\n  stage: build\n  script:\n    - npm ci\n    - npm run build\n  artifacts:\n    paths:\n      - dist\u002F\n\ndeploy-staging:\n  extends: .node-template\n  stage: deploy\n  variables:\n    DEEPGRAM_API_KEY: ${DEEPGRAM_API_KEY_STAGING}\n  script:\n    - npm ci\n    - npm run deploy:staging\n  environment:\n    name: staging\n  only:\n    - main\n\ndeploy-production:\n  extends: .node-template\n  stage: deploy\n  variables:\n    DEEPGRAM_API_KEY: ${DEEPGRAM_API_KEY_PRODUCTION}\n  script:\n    - npm ci\n    - npm run deploy:production\n  environment:\n    name: production\n  when: manual\n  only:\n    - main\n```\n\n### Integration Test Suite\n```typescript\n\u002F\u002F tests\u002Fintegration\u002Fdeepgram.test.ts\nimport { describe, it, expect, beforeAll, afterAll } from 'vitest';\nimport { createClient, DeepgramClient } from '@deepgram\u002Fsdk';\n\ndescribe('Deepgram Integration Tests', () => {\n  let client: DeepgramClient;\n\n  beforeAll(() => {\n    const apiKey = process.env.DEEPGRAM_API_KEY;\n    if (!apiKey) {\n      throw new Error('DEEPGRAM_API_KEY not set');\n    }\n    client = createClient(apiKey);\n  });\n\n  describe('API Connectivity', () => {\n    it('should connect to Deepgram API', async () => {\n      const { result, error } = await client.manage.getProjects();\n      expect(error).toBeNull();\n      expect(result).toBeDefined();\n    });\n  });\n\n  describe('Pre-recorded Transcription', () => {\n    it('should transcribe audio from URL', async () => {\n      const { result, error } = await client.listen.prerecorded.transcribeUrl(\n        { url: 'https:\u002F\u002Fstatic.deepgram.com\u002Fexamples\u002Fnasa-podcast.wav' },\n        { model: 'nova-2', smart_format: true }\n      );\n\n      expect(error).toBeNull();\n      expect(result).toBeDefined();\n      expect(result.results.channels[0].alternatives[0].transcript).toBeTruthy();\n    }, 30000);\n\n    it('should handle multiple languages', async () => {\n      const { result, error } = await client.listen.prerecorded.transcribeUrl(\n        { url: 'https:\u002F\u002Fstatic.deepgram.com\u002Fexamples\u002Fnasa-podcast.wav' },\n        { model: 'nova-2', detect_language: true }\n      );\n\n      expect(error).toBeNull();\n      expect(result.results.channels[0].detected_language).toBeDefined();\n    }, 30000);\n  });\n\n  describe('Error Handling', () => {\n    it('should handle invalid URLs gracefully', async () => {\n      const { error } = await client.listen.prerecorded.transcribeUrl(\n        { url: 'https:\u002F\u002Finvalid.example.com\u002Faudio.wav' },\n        { model: 'nova-2' }\n      );\n\n      expect(error).toBeDefined();\n    });\n  });\n});\n```\n\n### Smoke Test Script\n```typescript\n\u002F\u002F scripts\u002Fsmoke-test.ts\nimport { createClient } from '@deepgram\u002Fsdk';\n\nasync function smokeTest(): Promise\u003Cvoid> {\n  console.log('Running Deepgram smoke test...');\n\n  const apiKey = process.env.DEEPGRAM_API_KEY;\n  if (!apiKey) {\n    throw new Error('DEEPGRAM_API_KEY not set');\n  }\n\n  const client = createClient(apiKey);\n\n  \u002F\u002F Test 1: API connectivity\n  console.log('Testing API connectivity...');\n  const { error: connectError } = await client.manage.getProjects();\n  if (connectError) {\n    throw new Error(`API connectivity failed: ${connectError.message}`);\n  }\n  console.log('  API connectivity OK');\n\n  \u002F\u002F Test 2: Transcription\n  console.log('Testing transcription...');\n  const { result, error: transcribeError } = await client.listen.prerecorded.transcribeUrl(\n    { url: 'https:\u002F\u002Fstatic.deepgram.com\u002Fexamples\u002Fnasa-podcast.wav' },\n    { model: 'nova-2', smart_format: true }\n  );\n\n  if (transcribeError) {\n    throw new Error(`Transcription failed: ${transcribeError.message}`);\n  }\n\n  const transcript = result.results.channels[0].alternatives[0].transcript;\n  if (!transcript || transcript.length \u003C 10) {\n    throw new Error('Transcription result too short');\n  }\n  console.log('  Transcription OK');\n\n  console.log('\\nSmoke test passed!');\n}\n\nsmokeTest()\n  .then(() => process.exit(0))\n  .catch((error) => {\n    console.error('Smoke test failed:', error.message);\n    process.exit(1);\n  });\n```\n\n### Package.json Scripts\n```json\n{\n  \"scripts\": {\n    \"test\": \"vitest run\",\n    \"test:watch\": \"vitest\",\n    \"test:integration\": \"vitest run --config vitest.integration.config.ts\",\n    \"test:deepgram\": \"vitest run tests\u002Fintegration\u002Fdeepgram.test.ts\",\n    \"smoke-test\": \"tsx scripts\u002Fsmoke-test.ts\",\n    \"lint\": \"eslint src --ext .ts\",\n    \"typecheck\": \"tsc --noEmit\",\n    \"build\": \"tsc\",\n    \"deploy:staging\": \"npm run build && .\u002Fscripts\u002Fdeploy.sh staging\",\n    \"deploy:production\": \"npm run build && .\u002Fscripts\u002Fdeploy.sh production\"\n  }\n}\n```\n\n### Secret Rotation in CI\n```yaml\n# .github\u002Fworkflows\u002Frotate-keys.yml\nname: Rotate Deepgram Keys\n\non:\n  schedule:\n    - cron: '0 0 1 * *'  # First day of each month\n  workflow_dispatch:\n\njobs:\n  rotate:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Rotate API key\n        env:\n          DEEPGRAM_ADMIN_KEY: ${{ secrets.DEEPGRAM_ADMIN_KEY }}\n          DEEPGRAM_PROJECT_ID: ${{ secrets.DEEPGRAM_PROJECT_ID }}\n          GH_TOKEN: ${{ secrets.GH_PAT }}\n        run: |\n          # Create new key\n          NEW_KEY=$(curl -s -X POST \\\n            \"https:\u002F\u002Fapi.deepgram.com\u002Fv1\u002Fprojects\u002F$DEEPGRAM_PROJECT_ID\u002Fkeys\" \\\n            -H \"Authorization: Token $DEEPGRAM_ADMIN_KEY\" \\\n            -H \"Content-Type: application\u002Fjson\" \\\n            -d '{\"comment\": \"CI Key - rotated\", \"scopes\": [\"usage:write\"]}' \\\n            | jq -r '.key')\n\n          # Update GitHub secret\n          gh secret set DEEPGRAM_API_KEY --body \"$NEW_KEY\"\n\n          echo \"Key rotated successfully\"\n```\n\n## Resources\n- [GitHub Actions Documentation](https:\u002F\u002Fdocs.github.com\u002Fen\u002Factions)\n- [GitLab CI Documentation](https:\u002F\u002Fdocs.gitlab.com\u002Fee\u002Fci\u002F)\n- [Deepgram SDK Testing](https:\u002F\u002Fdevelopers.deepgram.com\u002Fdocs\u002Ftesting)\n\n## Next Steps\nProceed to `deepgram-deploy-integration` for deployment configuration.\n",{"name":5,"author":53,"license":15,"version":54,"description":55,"allowed-tools":56},"Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Configure Deepgram CI\u002FCD integration for automated testing and deployment.\nUse when setting up continuous integration pipelines, automated testing,\nor deployment workflows for Deepgram integrations.\nTrigger with phrases like \"deepgram CI\", \"deepgram CD\", \"deepgram pipeline\",\n\"deepgram github actions\", \"deepgram automated testing\".\n","Read, Write, Edit, Bash(gh:*), Bash(curl:*)","main","90b50ed0778745a80fd5bfb13b1843d45b9e82f7","tests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fdeepgram-pack\u002Fskills\u002Fdeepgram-ci-integration",233,"https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust","https:\u002F\u002Fgithub.com\u002FDicklesworthstone","https:\u002F\u002Fwww.jeffreyemanuel.com\u002F","Building in NY","2026-11-15 01:54:15",{"source":8,"skillName":5,"commands":67,"prompt":77,"zipAvailable":78},[68,71,74],{"tool":69,"command":70},"npx","npx skills add Dicklesworthstone\u002Fpi_agent_rust --skill deepgram-ci-integration",{"tool":72,"command":73},"bunx","bunx skills add Dicklesworthstone\u002Fpi_agent_rust --skill deepgram-ci-integration",{"tool":75,"command":76},"pnpm","pnpm dlx skills add Dicklesworthstone\u002Fpi_agent_rust --skill deepgram-ci-integration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fdeepgram-pack\u002Fskills\u002Fdeepgram-ci-integration\u002FSKILL.md",true,[],[81,113,149,169,195,220],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":85,"licenseFileUrl":86,"sourceHtmlUrl":87,"categories":88,"keywords":92,"publishedAt":112},"01M6FCR7G5A005P364Z6ZWCJDP","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fcreative-design\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fcreative-design\u002Ftheme-factory\u002FSKILL.md",[89],{"categoryNo":90,"categoryName":91,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计",[93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111],"theme factory","factory","theme","docs","toolkit","generate","artifacts","SET","fly","slides","landing","html","styling","artifact","pages","themes","with","you","fonts","2026-11-11 15:11:14",{"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":85,"licenseFileUrl":117,"sourceHtmlUrl":118,"categories":119,"keywords":123,"publishedAt":48},"01M6FEGPPK0ZTKCCM0R3E3KS33","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FSKILL.md",[120],{"categoryNo":121,"categoryName":122,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发",[124,125,99,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,104,142,143,144,145,146,147,148],"web artifacts builder","web","artifacts builder","builder","frontend","css","components","react","component","routing","state management","state","shadcn","file","ui","Tools","Tailwind","use","single-file","simple","ui components","multi","for","jsx","suite",{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":85,"licenseFileUrl":153,"sourceHtmlUrl":154,"categories":155,"keywords":158,"publishedAt":48},"01M6FEE9VTK1W4GY21AKREJXRG","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FSKILL.md",[156,157],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":121,"categoryName":122,"taxonomyType":21,"taxonomyTypeDesc":22},[40,159,160,128,161,162,125,163,97,164,138,165,166,167,168,109,146],"webapp testing","webapp","screenshots","playwright","debugging","browser","logs","applications","behavior","local",{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":173,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":48},"01M6FE20F7ZTQBFWKF4MPJ2SBX","neuropixels-analysis","Neuropixels neural recording analysis. Load SpikeGLX\u002FOpenEphys data, preprocess, motion correction, Kilosort4 spike sorting, quality metrics, Allen\u002FIBL curation, AI-assisted visual analysis, for Neuropixels 1.0\u002F2.0 extracellular electrophysiology. Use when working with neural recordings, spike sorting, extracellular electrophysiology, or when the user mentions Neuropixels, SpikeGLX, Open Ephys, Kilosort, quality metrics, or unit curation.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fneuropixels-analysis\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fneuropixels-analysis\u002FSKILL.md",[],[177,178,179,180,181,182,183,184,141,185,186,187,188,189,190,191,109,192,193,194,146,32],"analysis","neuropixels analysis","spike","metrics","data","open","quality","user","recordings","Neural","motion","visual","quality metrics","unit","sorting","curation","recording","load",{"skillNo":196,"name":197,"nameZh":6,"description":198,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":85,"licenseFileUrl":199,"sourceHtmlUrl":200,"categories":201,"keywords":205,"publishedAt":48},"01M6FDP0PDK6F1GGX395C7625Z","skill-creator","Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fskill-creator\u002FSKILL.md",[202],{"categoryNo":203,"categoryName":204,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[206,207,47,208,209,210,211,212,31,213,214,215,216,217,109,146,218,32,219],"skill creator","creator","create","update","capabilities","knowledge","tool","specialized","guide","new skill","existing skill","users","Existing","new",{"skillNo":221,"name":222,"nameZh":6,"description":223,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":224,"sourceHtmlUrl":225,"categories":226,"keywords":228,"publishedAt":48},"01M6FDM8Y7VK7NYG9SM7QPA3PW","notebooklm","Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fnotebooklm\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fnotebooklm\u002FSKILL.md",[227],{"categoryNo":203,"categoryName":204,"taxonomyType":21,"taxonomyTypeDesc":22},[222,229,230,231,232,233,234,164,235,236,141,237,238,239,240,146,241],"google","browser automation","gemini","automation","auth","code","library","management","only","document","query","Citation","source"]