[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M792T7NZECDRM9DRVW8XK7K2":3,"skill-same:01M792T7NZECDRM9DRVW8XK7K2":56},{"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":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M792T7NZECDRM9DRVW8XK7K2","linktree-ci-integration",null,"Ci Integration for Linktree.\nTrigger: \"linktree ci integration\".","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--linktree-pack--linktree-ci-integration\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: linktree-ci-integration\ndescription: |\n  Ci Integration for Linktree.\n  Trigger: \"linktree ci integration\".\nallowed-tools: Read, Write, Edit, Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ntags: [saas, linktree, social]\ncompatible-with: claude-code\n---\n\n# Linktree CI Integration\n\n## Overview\n\nConfigure CI pipelines that validate Linktree link-in-bio API integrations using a two-tier testing approach. Unit tests mock the Linktree REST API to verify profile retrieval, link CRUD operations, and click analytics aggregation without needing an API key. Integration tests authenticate with a real Bearer token on main-branch merges to confirm link ordering, analytics endpoints, and rate limit handling against the live Linktree API. This ensures every PR gets instant feedback while production-critical flows are verified before deploy.\n\n## GitHub Actions Workflow\n\n```yaml\n# .github\u002Fworkflows\u002Flinktree-tests.yml\nname: Linktree API Tests\non: [push, pull_request]\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: { node-version: '20' }\n      - run: npm ci\n      - run: npm run lint && npm run typecheck\n      - run: npm test -- --testPathPattern=unit  # No Bearer token needed\n\n  integration-tests:\n    runs-on: ubuntu-latest\n    if: github.ref == 'refs\u002Fheads\u002Fmain'\n    needs: unit-tests\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: actions\u002Fsetup-node@v4\n        with: { node-version: '20' }\n      - run: npm ci\n      - run: npm test -- --testPathPattern=integration\n        env:\n          LINKTREE_API_KEY: ${{ secrets.LINKTREE_API_KEY }}\n```\n\n## Mock-Based Unit Tests\n\n```typescript\n\u002F\u002F tests\u002Funit\u002Flink-service.test.ts\nimport { describe, it, expect, vi } from 'vitest';\nimport { reorderLinks } from '..\u002F..\u002Fsrc\u002Fservices\u002Flink-service';\nimport * as linktreeApi from '..\u002F..\u002Fsrc\u002Flib\u002Flinktree-api';\n\nvi.mock('..\u002F..\u002Fsrc\u002Flib\u002Flinktree-api');\n\ndescribe('LinkService', () => {\n  it('reorders links and returns updated positions', async () => {\n    vi.mocked(linktreeApi.patch).mockResolvedValue({\n      links: [\n        { id: 'lnk-1', title: 'Portfolio', position: 0 },\n        { id: 'lnk-2', title: 'GitHub', position: 1 },\n      ],\n    });\n\n    const result = await reorderLinks(['lnk-1', 'lnk-2']);\n    expect(result.links[0].position).toBe(0);\n    expect(linktreeApi.patch).toHaveBeenCalledWith('\u002Flinks\u002Freorder', {\n      link_ids: ['lnk-1', 'lnk-2'],\n    });\n  });\n});\n```\n\n## Integration Tests\n\n```typescript\n\u002F\u002F tests\u002Fintegration\u002Fprofile-analytics.test.ts\nimport { describe, it, expect } from 'vitest';\nimport { LinktreeClient } from '..\u002F..\u002Fsrc\u002Flib\u002Flinktree-api';\n\nconst canRun = !!process.env.LINKTREE_API_KEY;\n\ndescribe.skipIf(!canRun)('Linktree Analytics (live API)', () => {\n  const client = new LinktreeClient({\n    apiKey: process.env.LINKTREE_API_KEY!,\n  });\n\n  it('fetches click analytics for the authenticated profile', async () => {\n    const analytics = await client.get('\u002Fanalytics', {\n      period: 'last_7_days',\n    });\n    expect(analytics).toHaveProperty('total_clicks');\n    expect(typeof analytics.total_clicks).toBe('number');\n  });\n});\n```\n\n## CI Cost Management\n\n```typescript\n\u002F\u002F tests\u002Fhelpers\u002Fapi-budget.ts\nlet callCount = 0;\nconst MAX_CALLS_PER_RUN = 30; \u002F\u002F Linktree API: 60 req\u002Fmin for standard tier\n\nexport function trackApiCall(): void {\n  callCount++;\n  if (callCount > MAX_CALLS_PER_RUN) {\n    throw new Error(\n      `CI API budget exceeded: ${callCount}\u002F${MAX_CALLS_PER_RUN} calls. ` +\n      'Linktree standard tier allows 60 req\u002Fmin — reduce test scope or add delays.'\n    );\n  }\n}\n\nexport function getCallCount(): number { return callCount; }\n```\n\n## Error Handling\n\n| CI Issue | Cause | Fix |\n|----------|-------|-----|\n| 401 Unauthorized | Expired or revoked Bearer token | Regenerate `LINKTREE_API_KEY` in Linktree admin and update GitHub Secrets |\n| 429 Rate Limited | Exceeded 60 req\u002Fmin on standard tier | Add `--maxWorkers=1` and insert small delays between integration tests |\n| Empty analytics response | Profile has zero traffic in test period | Use a longer `period` param or seed test clicks via the Links API |\n| Link creation returns 409 | Duplicate URL already exists on profile | Add cleanup in `afterEach` to delete test links by ID |\n| Integration job never runs | Branch name mismatch in workflow `if` | Confirm default branch is `main`, not `master` |\n\n## Resources\n\n- [Linktree Developer Documentation](https:\u002F\u002Flinktr.ee\u002Fmarketplace\u002Fdeveloper)\n- [GitHub Actions Encrypted Secrets](https:\u002F\u002Fdocs.github.com\u002Fen\u002Factions\u002Fsecurity-guides\u002Fencrypted-secrets)\n\n## Next Steps\n\nSee `linktree-deploy-integration`.\n","# Linktree CI Integration\n\n## Overview\n\nConfigure CI pipelines that validate Linktree link-in-bio API integrations using a two-tier testing approach. Unit tests mock the Linktree REST API to verify profile retrieval, link CRUD operations, and click analytics aggregation without needing an API key. Integration tests authenticate with a real Bearer token on main-branch merges to confirm link ordering, analytics endpoints, and rate limit handling against the live Linktree API. This ensures every PR gets instant feedback while production-critical flows are verified before deploy.\n\n## GitHub Actions Workflow\n\n```yaml\n# .github\u002Fworkflows\u002Flinktree-tests.yml\nname: Linktree API Tests\non: [push, pull_request]\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: { node-version: '20' }\n      - run: npm ci\n      - run: npm run lint && npm run typecheck\n      - run: npm test -- --testPathPattern=unit  # No Bearer token needed\n\n  integration-tests:\n    runs-on: ubuntu-latest\n    if: github.ref == 'refs\u002Fheads\u002Fmain'\n    needs: unit-tests\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: actions\u002Fsetup-node@v4\n        with: { node-version: '20' }\n      - run: npm ci\n      - run: npm test -- --testPathPattern=integration\n        env:\n          LINKTREE_API_KEY: ${{ secrets.LINKTREE_API_KEY }}\n```\n\n## Mock-Based Unit Tests\n\n```typescript\n\u002F\u002F tests\u002Funit\u002Flink-service.test.ts\nimport { describe, it, expect, vi } from 'vitest';\nimport { reorderLinks } from '..\u002F..\u002Fsrc\u002Fservices\u002Flink-service';\nimport * as linktreeApi from '..\u002F..\u002Fsrc\u002Flib\u002Flinktree-api';\n\nvi.mock('..\u002F..\u002Fsrc\u002Flib\u002Flinktree-api');\n\ndescribe('LinkService', () => {\n  it('reorders links and returns updated positions', async () => {\n    vi.mocked(linktreeApi.patch).mockResolvedValue({\n      links: [\n        { id: 'lnk-1', title: 'Portfolio', position: 0 },\n        { id: 'lnk-2', title: 'GitHub', position: 1 },\n      ],\n    });\n\n    const result = await reorderLinks(['lnk-1', 'lnk-2']);\n    expect(result.links[0].position).toBe(0);\n    expect(linktreeApi.patch).toHaveBeenCalledWith('\u002Flinks\u002Freorder', {\n      link_ids: ['lnk-1', 'lnk-2'],\n    });\n  });\n});\n```\n\n## Integration Tests\n\n```typescript\n\u002F\u002F tests\u002Fintegration\u002Fprofile-analytics.test.ts\nimport { describe, it, expect } from 'vitest';\nimport { LinktreeClient } from '..\u002F..\u002Fsrc\u002Flib\u002Flinktree-api';\n\nconst canRun = !!process.env.LINKTREE_API_KEY;\n\ndescribe.skipIf(!canRun)('Linktree Analytics (live API)', () => {\n  const client = new LinktreeClient({\n    apiKey: process.env.LINKTREE_API_KEY!,\n  });\n\n  it('fetches click analytics for the authenticated profile', async () => {\n    const analytics = await client.get('\u002Fanalytics', {\n      period: 'last_7_days',\n    });\n    expect(analytics).toHaveProperty('total_clicks');\n    expect(typeof analytics.total_clicks).toBe('number');\n  });\n});\n```\n\n## CI Cost Management\n\n```typescript\n\u002F\u002F tests\u002Fhelpers\u002Fapi-budget.ts\nlet callCount = 0;\nconst MAX_CALLS_PER_RUN = 30; \u002F\u002F Linktree API: 60 req\u002Fmin for standard tier\n\nexport function trackApiCall(): void {\n  callCount++;\n  if (callCount > MAX_CALLS_PER_RUN) {\n    throw new Error(\n      `CI API budget exceeded: ${callCount}\u002F${MAX_CALLS_PER_RUN} calls. ` +\n      'Linktree standard tier allows 60 req\u002Fmin — reduce test scope or add delays.'\n    );\n  }\n}\n\nexport function getCallCount(): number { return callCount; }\n```\n\n## Error Handling\n\n| CI Issue | Cause | Fix |\n|----------|-------|-----|\n| 401 Unauthorized | Expired or revoked Bearer token | Regenerate `LINKTREE_API_KEY` in Linktree admin and update GitHub Secrets |\n| 429 Rate Limited | Exceeded 60 req\u002Fmin on standard tier | Add `--maxWorkers=1` and insert small delays between integration tests |\n| Empty analytics response | Profile has zero traffic in test period | Use a longer `period` param or seed test clicks via the Links API |\n| Link creation returns 409 | Duplicate URL already exists on profile | Add cleanup in `afterEach` to delete test links by ID |\n| Integration job never runs | Branch name mismatch in workflow `if` | Confirm default branch is `main`, not `master` |\n\n## Resources\n\n- [Linktree Developer Documentation](https:\u002F\u002Flinktr.ee\u002Fmarketplace\u002Fdeveloper)\n- [GitHub Actions Encrypted Secrets](https:\u002F\u002Fdocs.github.com\u002Fen\u002Factions\u002Fsecurity-guides\u002Fencrypted-secrets)\n\n## Next Steps\n\nSee `linktree-deploy-integration`.\n",{"name":5,"tags":24,"author":28,"license":15,"version":29,"description":30,"allowed-tools":31,"compatible-with":32},[25,26,27],"saas","linktree","social","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Ci Integration for Linktree.\nTrigger: \"linktree ci integration\".\n","Read, Write, Edit, Grep","claude-code","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--linktree-pack--linktree-ci-integration",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill linktree-ci-integration",{"tool":48,"command":49},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill linktree-ci-integration",{"tool":51,"command":52},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill linktree-ci-integration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--linktree-pack--linktree-ci-integration\u002FSKILL.md",true,[],[57,64,71,78,85,93],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]