[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78WS08E3HREGDHRPBBGNPYH":3,"skill-same:01M78WS08E3HREGDHRPBBGNPYH":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},"01M78WS08E3HREGDHRPBBGNPYH","algolia-core-workflow-a",null,"Implement Algolia search with filters, facets, highlighting, and pagination.\nThe primary money-path workflow: search records, apply filters, display results.\nTrigger: \"algolia search\", \"search with algolia\", \"algolia filters\",\n\"algolia facets\", \"algolia search implementation\".","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--algolia-pack--algolia-core-workflow-a\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: algolia-core-workflow-a\ndescription: |\n  Implement Algolia search with filters, facets, highlighting, and pagination.\n  The primary money-path workflow: search records, apply filters, display results.\n  Trigger: \"algolia search\", \"search with algolia\", \"algolia filters\",\n  \"algolia facets\", \"algolia search implementation\".\nallowed-tools: Read, Write, Edit, Bash(npm:*), Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ntags: [saas, search, algolia]\ncompatible-with: claude-code\n---\n\n# Algolia Core Workflow A — Search & Filtering\n\n## Overview\n\nPrimary Algolia workflow: full-text search with filters, faceted navigation, hit highlighting, and pagination. Uses `searchSingleIndex` (v5) with real Algolia search parameters.\n\n## Prerequisites\n\n- Completed `algolia-install-auth` and `algolia-hello-world` setup\n- Index populated with records (see `algolia-hello-world`)\n- Index settings configured with `searchableAttributes` and `attributesForFaceting`\n\n## Instructions\n\n### Step 1: Configure Index for Filtering\n\n```typescript\nimport { algoliasearch } from 'algoliasearch';\n\nconst client = algoliasearch(process.env.ALGOLIA_APP_ID!, process.env.ALGOLIA_ADMIN_KEY!);\n\nawait client.setSettings({\n  indexName: 'products',\n  indexSettings: {\n    \u002F\u002F What to search (ordered = priority matters)\n    searchableAttributes: ['name', 'description', 'brand', 'category'],\n\n    \u002F\u002F What to filter\u002Ffacet on — prefix with filterOnly() if no facet counts needed\n    attributesForFaceting: [\n      'searchable(brand)',           \u002F\u002F Searchable facet: users can search within brand values\n      'category',                     \u002F\u002F Regular facet: shown in facet panels\n      'filterOnly(price)',           \u002F\u002F Filter only: no counts computed, saves CPU\n      'filterOnly(in_stock)',\n    ],\n\n    \u002F\u002F Custom ranking: tie-breaker after Algolia's relevance ranking\n    customRanking: ['desc(sales_count)', 'desc(rating)'],\n\n    \u002F\u002F What comes back in hits\n    attributesToRetrieve: ['name', 'brand', 'price', 'image_url', 'category'],\n    attributesToHighlight: ['name', 'description'],\n    attributesToSnippet: ['description:30'],  \u002F\u002F 30-word snippet\n  },\n});\n```\n\n### Step 2: Search with Filters\n\n```typescript\n\u002F\u002F Algolia filter syntax uses SQL-like expressions\nconst { hits, nbHits, facets } = await client.searchSingleIndex({\n  indexName: 'products',\n  searchParams: {\n    query: 'running shoes',\n\n    \u002F\u002F Numeric\u002Fboolean\u002Fstring filters\n    filters: 'price \u003C 150 AND in_stock = true',\n\n    \u002F\u002F OR: facetFilters for UI-driven filtering (array = OR, nested = AND)\n    \u002F\u002F facetFilters: [['category:shoes', 'category:sneakers'], ['brand:Nike']],\n    \u002F\u002F   ^ shoes OR sneakers, AND brand is Nike\n\n    \u002F\u002F Numeric range filters\n    numericFilters: ['price >= 50', 'price \u003C= 150'],\n\n    \u002F\u002F Request facet counts for these attributes\n    facets: ['category', 'brand'],\n\n    \u002F\u002F Pagination\n    hitsPerPage: 20,\n    page: 0,\n\n    \u002F\u002F Highlighting\n    highlightPreTag: '\u003Cmark>',\n    highlightPostTag: '\u003C\u002Fmark>',\n  },\n});\n\nconsole.log(`${nbHits} results found`);\n\n\u002F\u002F Access facet counts for building filter UI\n\u002F\u002F facets = { category: { shoes: 42, sneakers: 18 }, brand: { Nike: 30, Adidas: 25 } }\nfor (const [facetName, values] of Object.entries(facets || {})) {\n  console.log(`${facetName}:`);\n  for (const [value, count] of Object.entries(values)) {\n    console.log(`  ${value}: ${count}`);\n  }\n}\n```\n\n### Step 3: Display Highlighted Results\n\n```typescript\nhits.forEach(hit => {\n  \u002F\u002F _highlightResult contains highlighted versions of each field\n  const highlighted = hit._highlightResult;\n  const name = highlighted?.name?.value || hit.name;\n  const snippet = hit._snippetResult?.description?.value || '';\n\n  console.log(`${name} — $${hit.price}`);\n  if (snippet) console.log(`  ${snippet}`);\n});\n```\n\n### Step 4: Implement Pagination\n\n```typescript\nasync function paginatedSearch(query: string, page: number = 0) {\n  const { hits, nbHits, nbPages, hitsPerPage } = await client.searchSingleIndex({\n    indexName: 'products',\n    searchParams: {\n      query,\n      hitsPerPage: 20,\n      page,\n    },\n  });\n\n  return {\n    hits,\n    totalHits: nbHits,\n    totalPages: nbPages,\n    currentPage: page,\n    hasMore: page \u003C nbPages - 1,\n  };\n}\n```\n\n## Error Handling\n\n| Error | Cause | Solution |\n|-------|-------|----------|\n| `Invalid filter syntax` | Malformed `filters` string | Check filter syntax: `field:value`, `field \u003C N`, use AND\u002FOR\u002FNOT |\n| `Attribute not valid for filtering` | Field not in `attributesForFaceting` | Add field to `attributesForFaceting` in settings |\n| `0 results` unexpectedly | Typo tolerance may be disabled | Check `typoTolerance` setting; verify data is indexed |\n| Stale results after update | Didn't wait for task | Use `await client.waitForTask()` after indexing |\n\n## Examples\n\n### Multi-Index Search (Federated)\n\n```typescript\nconst { results } = await client.search({\n  requests: [\n    { indexName: 'products', query: 'laptop', hitsPerPage: 5 },\n    { indexName: 'articles', query: 'laptop', hitsPerPage: 3 },\n  ],\n});\n\n\u002F\u002F results[0].hits = product hits, results[1].hits = article hits\n```\n\n### Search with Optional Filters (boost, not require)\n\n```typescript\nconst { hits } = await client.searchSingleIndex({\n  indexName: 'products',\n  searchParams: {\n    query: 'shoes',\n    optionalFilters: ['brand:Nike'],  \u002F\u002F Nike products ranked higher but not required\n  },\n});\n```\n\n## Resources\n\n- [Filtering Guide](https:\u002F\u002Fwww.algolia.com\u002Fdoc\u002Fguides\u002Fmanaging-results\u002Frefine-results\u002Ffiltering\u002F)\n- [Faceting Guide](https:\u002F\u002Fwww.algolia.com\u002Fdoc\u002Fguides\u002Fmanaging-results\u002Frefine-results\u002Ffaceting\u002F)\n- [Search Parameters](https:\u002F\u002Fwww.algolia.com\u002Fdoc\u002Fapi-reference\u002Fsearch-api-parameters\u002F)\n\n## Next Steps\n\nFor indexing and data sync workflows, see `algolia-core-workflow-b`.\n","# Algolia Core Workflow A — Search & Filtering\n\n## Overview\n\nPrimary Algolia workflow: full-text search with filters, faceted navigation, hit highlighting, and pagination. Uses `searchSingleIndex` (v5) with real Algolia search parameters.\n\n## Prerequisites\n\n- Completed `algolia-install-auth` and `algolia-hello-world` setup\n- Index populated with records (see `algolia-hello-world`)\n- Index settings configured with `searchableAttributes` and `attributesForFaceting`\n\n## Instructions\n\n### Step 1: Configure Index for Filtering\n\n```typescript\nimport { algoliasearch } from 'algoliasearch';\n\nconst client = algoliasearch(process.env.ALGOLIA_APP_ID!, process.env.ALGOLIA_ADMIN_KEY!);\n\nawait client.setSettings({\n  indexName: 'products',\n  indexSettings: {\n    \u002F\u002F What to search (ordered = priority matters)\n    searchableAttributes: ['name', 'description', 'brand', 'category'],\n\n    \u002F\u002F What to filter\u002Ffacet on — prefix with filterOnly() if no facet counts needed\n    attributesForFaceting: [\n      'searchable(brand)',           \u002F\u002F Searchable facet: users can search within brand values\n      'category',                     \u002F\u002F Regular facet: shown in facet panels\n      'filterOnly(price)',           \u002F\u002F Filter only: no counts computed, saves CPU\n      'filterOnly(in_stock)',\n    ],\n\n    \u002F\u002F Custom ranking: tie-breaker after Algolia's relevance ranking\n    customRanking: ['desc(sales_count)', 'desc(rating)'],\n\n    \u002F\u002F What comes back in hits\n    attributesToRetrieve: ['name', 'brand', 'price', 'image_url', 'category'],\n    attributesToHighlight: ['name', 'description'],\n    attributesToSnippet: ['description:30'],  \u002F\u002F 30-word snippet\n  },\n});\n```\n\n### Step 2: Search with Filters\n\n```typescript\n\u002F\u002F Algolia filter syntax uses SQL-like expressions\nconst { hits, nbHits, facets } = await client.searchSingleIndex({\n  indexName: 'products',\n  searchParams: {\n    query: 'running shoes',\n\n    \u002F\u002F Numeric\u002Fboolean\u002Fstring filters\n    filters: 'price \u003C 150 AND in_stock = true',\n\n    \u002F\u002F OR: facetFilters for UI-driven filtering (array = OR, nested = AND)\n    \u002F\u002F facetFilters: [['category:shoes', 'category:sneakers'], ['brand:Nike']],\n    \u002F\u002F   ^ shoes OR sneakers, AND brand is Nike\n\n    \u002F\u002F Numeric range filters\n    numericFilters: ['price >= 50', 'price \u003C= 150'],\n\n    \u002F\u002F Request facet counts for these attributes\n    facets: ['category', 'brand'],\n\n    \u002F\u002F Pagination\n    hitsPerPage: 20,\n    page: 0,\n\n    \u002F\u002F Highlighting\n    highlightPreTag: '\u003Cmark>',\n    highlightPostTag: '\u003C\u002Fmark>',\n  },\n});\n\nconsole.log(`${nbHits} results found`);\n\n\u002F\u002F Access facet counts for building filter UI\n\u002F\u002F facets = { category: { shoes: 42, sneakers: 18 }, brand: { Nike: 30, Adidas: 25 } }\nfor (const [facetName, values] of Object.entries(facets || {})) {\n  console.log(`${facetName}:`);\n  for (const [value, count] of Object.entries(values)) {\n    console.log(`  ${value}: ${count}`);\n  }\n}\n```\n\n### Step 3: Display Highlighted Results\n\n```typescript\nhits.forEach(hit => {\n  \u002F\u002F _highlightResult contains highlighted versions of each field\n  const highlighted = hit._highlightResult;\n  const name = highlighted?.name?.value || hit.name;\n  const snippet = hit._snippetResult?.description?.value || '';\n\n  console.log(`${name} — $${hit.price}`);\n  if (snippet) console.log(`  ${snippet}`);\n});\n```\n\n### Step 4: Implement Pagination\n\n```typescript\nasync function paginatedSearch(query: string, page: number = 0) {\n  const { hits, nbHits, nbPages, hitsPerPage } = await client.searchSingleIndex({\n    indexName: 'products',\n    searchParams: {\n      query,\n      hitsPerPage: 20,\n      page,\n    },\n  });\n\n  return {\n    hits,\n    totalHits: nbHits,\n    totalPages: nbPages,\n    currentPage: page,\n    hasMore: page \u003C nbPages - 1,\n  };\n}\n```\n\n## Error Handling\n\n| Error | Cause | Solution |\n|-------|-------|----------|\n| `Invalid filter syntax` | Malformed `filters` string | Check filter syntax: `field:value`, `field \u003C N`, use AND\u002FOR\u002FNOT |\n| `Attribute not valid for filtering` | Field not in `attributesForFaceting` | Add field to `attributesForFaceting` in settings |\n| `0 results` unexpectedly | Typo tolerance may be disabled | Check `typoTolerance` setting; verify data is indexed |\n| Stale results after update | Didn't wait for task | Use `await client.waitForTask()` after indexing |\n\n## Examples\n\n### Multi-Index Search (Federated)\n\n```typescript\nconst { results } = await client.search({\n  requests: [\n    { indexName: 'products', query: 'laptop', hitsPerPage: 5 },\n    { indexName: 'articles', query: 'laptop', hitsPerPage: 3 },\n  ],\n});\n\n\u002F\u002F results[0].hits = product hits, results[1].hits = article hits\n```\n\n### Search with Optional Filters (boost, not require)\n\n```typescript\nconst { hits } = await client.searchSingleIndex({\n  indexName: 'products',\n  searchParams: {\n    query: 'shoes',\n    optionalFilters: ['brand:Nike'],  \u002F\u002F Nike products ranked higher but not required\n  },\n});\n```\n\n## Resources\n\n- [Filtering Guide](https:\u002F\u002Fwww.algolia.com\u002Fdoc\u002Fguides\u002Fmanaging-results\u002Frefine-results\u002Ffiltering\u002F)\n- [Faceting Guide](https:\u002F\u002Fwww.algolia.com\u002Fdoc\u002Fguides\u002Fmanaging-results\u002Frefine-results\u002Ffaceting\u002F)\n- [Search Parameters](https:\u002F\u002Fwww.algolia.com\u002Fdoc\u002Fapi-reference\u002Fsearch-api-parameters\u002F)\n\n## Next Steps\n\nFor indexing and data sync workflows, see `algolia-core-workflow-b`.\n",{"name":5,"tags":24,"author":28,"license":15,"version":29,"description":30,"allowed-tools":31,"compatible-with":32},[25,26,27],"saas","search","algolia","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Implement Algolia search with filters, facets, highlighting, and pagination.\nThe primary money-path workflow: search records, apply filters, display results.\nTrigger: \"algolia search\", \"search with algolia\", \"algolia filters\",\n\"algolia facets\", \"algolia search implementation\".\n","Read, Write, Edit, Bash(npm:*), Grep","claude-code","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--algolia-pack--algolia-core-workflow-a",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 algolia-core-workflow-a",{"tool":48,"command":49},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill algolia-core-workflow-a",{"tool":51,"command":52},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill algolia-core-workflow-a","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--algolia-pack--algolia-core-workflow-a\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",[],[]]