[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M790TGS2XP79HM8X9ECB4090":3,"skill-same:01M790TGS2XP79HM8X9ECB4090":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},"01M790TGS2XP79HM8X9ECB4090","glean-upgrade-migration",null,"Check Glean developer changelog for API changes.\nTrigger: \"glean upgrade migration\", \"upgrade-migration\".","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--glean-pack--glean-upgrade-migration\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: glean-upgrade-migration\ndescription: |\n  Check Glean developer changelog for API changes.\n  Trigger: \"glean upgrade migration\", \"upgrade-migration\".\nallowed-tools: Read, Write, Edit, Bash(npm:*), Bash(curl:*), Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ntags: [saas, enterprise-search, glean]\ncompatible-with: claude-code\n---\n\n# Glean Upgrade & Migration\n\n## Overview\n\nGlean is an enterprise search platform that indexes documents across SaaS tools via connectors and exposes Search and Indexing APIs. Migrations involve connector schema changes, search API response format updates, and document permission model upgrades. Tracking API versions is critical because Glean's Indexing API enforces document schema validation — adding required fields or changing permission structures in a new version will cause bulk indexing failures and stale search results if connectors are not updated in lockstep.\n\n## Version Detection\n\n```typescript\nconst GLEAN_BASE = \"https:\u002F\u002Fyour-domain-be.glean.com\u002Fapi\";\n\nasync function detectGleanApiVersion(apiToken: string): Promise\u003Cvoid> {\n  \u002F\u002F Check indexing API health and version\n  const indexRes = await fetch(`${GLEAN_BASE}\u002Findex\u002Fv1\u002Fstatus`, {\n    headers: { Authorization: `Bearer ${apiToken}`, \"Content-Type\": \"application\u002Fjson\" },\n  });\n  const indexStatus = await indexRes.json();\n  console.log(`Indexing API version: ${indexRes.headers.get(\"x-glean-api-version\") ?? \"v1\"}`);\n  console.log(`Connector status: ${JSON.stringify(indexStatus.connectors)}`);\n\n  \u002F\u002F Check search API for deprecated query parameters\n  const searchRes = await fetch(`${GLEAN_BASE}\u002Fclient\u002Fv1\u002Fsearch`, {\n    method: \"POST\",\n    headers: { Authorization: `Bearer ${apiToken}`, \"Content-Type\": \"application\u002Fjson\" },\n    body: JSON.stringify({ query: \"test\", pageSize: 1 }),\n  });\n  const deprecationHeader = searchRes.headers.get(\"x-glean-deprecated-params\");\n  if (deprecationHeader) console.warn(`Deprecated parameters: ${deprecationHeader}`);\n}\n```\n\n## Migration Checklist\n\n- [ ] Review Glean developer changelog for Indexing API schema changes\n- [ ] Audit custom connectors for deprecated document fields\n- [ ] Verify `objectType` definitions match current Glean schema requirements\n- [ ] Check if new required fields were added to document permission model\n- [ ] Test search API response parsing — `results[].snippets` format may change\n- [ ] Update datasource configuration if connector authentication method changed\n- [ ] Validate bulk indexing with a small document batch before full re-index\n- [ ] Check `people` API for identity resolution field changes\n- [ ] Update search query syntax if faceted search operators were modified\n- [ ] Monitor indexing error dashboard for 48 hours post-migration\n\n## Schema Migration\n\n```typescript\n\u002F\u002F Glean document schema evolved: flat permissions → structured ACL model\ninterface OldGleanDocument {\n  id: string;\n  datasource: string;\n  title: string;\n  body: { mimeType: string; textContent: string };\n  permissions: { allowedUsers: string[] };\n  updatedAt: string;\n}\n\ninterface NewGleanDocument {\n  id: string;\n  datasource: string;\n  title: string;\n  body: { mimeType: string; textContent: string };\n  permissions: {\n    allowedUsers: Array\u003C{ email: string; datasourceUserId?: string }>;\n    allowedGroups: Array\u003C{ name: string; datasourceGroupId?: string }>;\n    allowAnonymousAccess: boolean;\n  };\n  viewURL: string;\n  updatedAt: string;\n}\n\nfunction migrateDocument(old: OldGleanDocument): NewGleanDocument {\n  return {\n    ...old,\n    permissions: {\n      allowedUsers: old.permissions.allowedUsers.map((email) => ({ email })),\n      allowedGroups: [],\n      allowAnonymousAccess: false,\n    },\n    viewURL: `https:\u002F\u002Fapp.example.com\u002Fdoc\u002F${old.id}`,\n  };\n}\n```\n\n## Rollback Strategy\n\n```typescript\nclass GleanIndexClient {\n  constructor(\n    private token: string,\n    private baseUrl: string,\n    private apiVersion: \"v1\" | \"v2\" = \"v2\"\n  ) {}\n\n  async indexDocuments(docs: any[]): Promise\u003Cany> {\n    try {\n      const res = await fetch(`${this.baseUrl}\u002Findex\u002F${this.apiVersion}\u002Findexdocuments`, {\n        method: \"POST\",\n        headers: { Authorization: `Bearer ${this.token}`, \"Content-Type\": \"application\u002Fjson\" },\n        body: JSON.stringify({ documents: docs }),\n      });\n      if (!res.ok) throw new Error(`Glean indexing ${res.status}: ${await res.text()}`);\n      return await res.json();\n    } catch (err) {\n      if (this.apiVersion === \"v2\") {\n        console.warn(\"Falling back to Glean Indexing API v1\");\n        this.apiVersion = \"v1\";\n        return this.indexDocuments(docs);\n      }\n      throw err;\n    }\n  }\n}\n```\n\n## Error Handling\n\n| Migration Issue | Symptom | Fix |\n|----------------|---------|-----|\n| Document schema validation failure | `400` with `missing required field: viewURL` | Add `viewURL` to all documents before re-indexing |\n| Permission model mismatch | Documents indexed but not searchable by expected users | Migrate flat `allowedUsers` strings to structured user objects |\n| Connector auth expired | `401 Unauthorized` on bulk index | Rotate API token in Glean admin and update connector config |\n| Search response format changed | Client crashes parsing `snippets` as string instead of array | Handle both `string` and `Snippet[]` return types |\n| Datasource quota exceeded | `429` during bulk re-index | Implement rate limiting with exponential backoff per Glean docs |\n\n## Resources\n\n- [Glean Developer Portal](https:\u002F\u002Fdevelopers.glean.com\u002F)\n- [Indexing API](https:\u002F\u002Fdevelopers.glean.com\u002Fapi-info\u002Findexing\u002Fgetting-started\u002Foverview)\n- [Search API](https:\u002F\u002Fdevelopers.glean.com\u002Fapi\u002Fclient-api\u002Fsearch\u002Foverview)\n- [Glean Changelog](https:\u002F\u002Fdevelopers.glean.com\u002Fchangelog)\n\n## Next Steps\n\nFor CI pipeline integration, see `glean-ci-integration`.\n","# Glean Upgrade & Migration\n\n## Overview\n\nGlean is an enterprise search platform that indexes documents across SaaS tools via connectors and exposes Search and Indexing APIs. Migrations involve connector schema changes, search API response format updates, and document permission model upgrades. Tracking API versions is critical because Glean's Indexing API enforces document schema validation — adding required fields or changing permission structures in a new version will cause bulk indexing failures and stale search results if connectors are not updated in lockstep.\n\n## Version Detection\n\n```typescript\nconst GLEAN_BASE = \"https:\u002F\u002Fyour-domain-be.glean.com\u002Fapi\";\n\nasync function detectGleanApiVersion(apiToken: string): Promise\u003Cvoid> {\n  \u002F\u002F Check indexing API health and version\n  const indexRes = await fetch(`${GLEAN_BASE}\u002Findex\u002Fv1\u002Fstatus`, {\n    headers: { Authorization: `Bearer ${apiToken}`, \"Content-Type\": \"application\u002Fjson\" },\n  });\n  const indexStatus = await indexRes.json();\n  console.log(`Indexing API version: ${indexRes.headers.get(\"x-glean-api-version\") ?? \"v1\"}`);\n  console.log(`Connector status: ${JSON.stringify(indexStatus.connectors)}`);\n\n  \u002F\u002F Check search API for deprecated query parameters\n  const searchRes = await fetch(`${GLEAN_BASE}\u002Fclient\u002Fv1\u002Fsearch`, {\n    method: \"POST\",\n    headers: { Authorization: `Bearer ${apiToken}`, \"Content-Type\": \"application\u002Fjson\" },\n    body: JSON.stringify({ query: \"test\", pageSize: 1 }),\n  });\n  const deprecationHeader = searchRes.headers.get(\"x-glean-deprecated-params\");\n  if (deprecationHeader) console.warn(`Deprecated parameters: ${deprecationHeader}`);\n}\n```\n\n## Migration Checklist\n\n- [ ] Review Glean developer changelog for Indexing API schema changes\n- [ ] Audit custom connectors for deprecated document fields\n- [ ] Verify `objectType` definitions match current Glean schema requirements\n- [ ] Check if new required fields were added to document permission model\n- [ ] Test search API response parsing — `results[].snippets` format may change\n- [ ] Update datasource configuration if connector authentication method changed\n- [ ] Validate bulk indexing with a small document batch before full re-index\n- [ ] Check `people` API for identity resolution field changes\n- [ ] Update search query syntax if faceted search operators were modified\n- [ ] Monitor indexing error dashboard for 48 hours post-migration\n\n## Schema Migration\n\n```typescript\n\u002F\u002F Glean document schema evolved: flat permissions → structured ACL model\ninterface OldGleanDocument {\n  id: string;\n  datasource: string;\n  title: string;\n  body: { mimeType: string; textContent: string };\n  permissions: { allowedUsers: string[] };\n  updatedAt: string;\n}\n\ninterface NewGleanDocument {\n  id: string;\n  datasource: string;\n  title: string;\n  body: { mimeType: string; textContent: string };\n  permissions: {\n    allowedUsers: Array\u003C{ email: string; datasourceUserId?: string }>;\n    allowedGroups: Array\u003C{ name: string; datasourceGroupId?: string }>;\n    allowAnonymousAccess: boolean;\n  };\n  viewURL: string;\n  updatedAt: string;\n}\n\nfunction migrateDocument(old: OldGleanDocument): NewGleanDocument {\n  return {\n    ...old,\n    permissions: {\n      allowedUsers: old.permissions.allowedUsers.map((email) => ({ email })),\n      allowedGroups: [],\n      allowAnonymousAccess: false,\n    },\n    viewURL: `https:\u002F\u002Fapp.example.com\u002Fdoc\u002F${old.id}`,\n  };\n}\n```\n\n## Rollback Strategy\n\n```typescript\nclass GleanIndexClient {\n  constructor(\n    private token: string,\n    private baseUrl: string,\n    private apiVersion: \"v1\" | \"v2\" = \"v2\"\n  ) {}\n\n  async indexDocuments(docs: any[]): Promise\u003Cany> {\n    try {\n      const res = await fetch(`${this.baseUrl}\u002Findex\u002F${this.apiVersion}\u002Findexdocuments`, {\n        method: \"POST\",\n        headers: { Authorization: `Bearer ${this.token}`, \"Content-Type\": \"application\u002Fjson\" },\n        body: JSON.stringify({ documents: docs }),\n      });\n      if (!res.ok) throw new Error(`Glean indexing ${res.status}: ${await res.text()}`);\n      return await res.json();\n    } catch (err) {\n      if (this.apiVersion === \"v2\") {\n        console.warn(\"Falling back to Glean Indexing API v1\");\n        this.apiVersion = \"v1\";\n        return this.indexDocuments(docs);\n      }\n      throw err;\n    }\n  }\n}\n```\n\n## Error Handling\n\n| Migration Issue | Symptom | Fix |\n|----------------|---------|-----|\n| Document schema validation failure | `400` with `missing required field: viewURL` | Add `viewURL` to all documents before re-indexing |\n| Permission model mismatch | Documents indexed but not searchable by expected users | Migrate flat `allowedUsers` strings to structured user objects |\n| Connector auth expired | `401 Unauthorized` on bulk index | Rotate API token in Glean admin and update connector config |\n| Search response format changed | Client crashes parsing `snippets` as string instead of array | Handle both `string` and `Snippet[]` return types |\n| Datasource quota exceeded | `429` during bulk re-index | Implement rate limiting with exponential backoff per Glean docs |\n\n## Resources\n\n- [Glean Developer Portal](https:\u002F\u002Fdevelopers.glean.com\u002F)\n- [Indexing API](https:\u002F\u002Fdevelopers.glean.com\u002Fapi-info\u002Findexing\u002Fgetting-started\u002Foverview)\n- [Search API](https:\u002F\u002Fdevelopers.glean.com\u002Fapi\u002Fclient-api\u002Fsearch\u002Foverview)\n- [Glean Changelog](https:\u002F\u002Fdevelopers.glean.com\u002Fchangelog)\n\n## Next Steps\n\nFor CI pipeline integration, see `glean-ci-integration`.\n",{"name":5,"tags":24,"author":28,"license":15,"version":29,"description":30,"allowed-tools":31,"compatible-with":32},[25,26,27],"saas","enterprise-search","glean","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Check Glean developer changelog for API changes.\nTrigger: \"glean upgrade migration\", \"upgrade-migration\".\n","Read, Write, Edit, Bash(npm:*), Bash(curl:*), Grep","claude-code","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--glean-pack--glean-upgrade-migration",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 glean-upgrade-migration",{"tool":48,"command":49},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill glean-upgrade-migration",{"tool":51,"command":52},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill glean-upgrade-migration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--glean-pack--glean-upgrade-migration\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",[],[]]