{"record":{"id":"74674263f9457f10","repo":"diegosouzapw/OmniRoute","slug":"unknown-install-target-target","errorCode":null,"errorMessage":"Unknown install target: ${target}","messagePattern":"Unknown install target: (.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/lib/skills/githubCollector.ts","lineNumber":283,"sourceCode":"    media: [\"youtube\", \"transcript\", \"gif\", \"video\", \"audio\"],\n  };\n  for (const [cat, keywords] of Object.entries(mapping)) {\n    if (keywords.some((k) => text.includes(k))) return cat;\n  }\n  return \"imported-github\";\n}\n\n/**\n * Resolve install path for a target + skill name.\n */\nexport function resolveInstallPath(\n  target: InstallTarget,\n  skillName: string,\n  description: string\n): string {\n  const category = inferCategory(skillName, description);\n  let template = INSTALL_PATHS[target];\n  if (!template) throw new Error(`Unknown install target: ${target}`);\n  template = template.replace(\"{category}\", category);\n  const home =\n    typeof process !== \"undefined\" && process.env?.HOME\n      ? process.env.HOME\n      : typeof process !== \"undefined\" && process.env?.USERPROFILE\n        ? process.env.USERPROFILE\n        : \"\";\n  return template.replace(\"~\", home).replace(\"{name}\", skillName);\n}\n\n// ── GitHub API Search ────────────────────────────────────────────────────────\n\nexport const QUERY_STRATEGIES = {\n  file: [\n    \"filename:SKILL.md stars:>=1\",\n    \"filename:CLAUDE.md stars:>=1\",\n    \"filename:CODEX.md stars:>=1\",\n    \"filename:CURSOR.md stars:>=1\",","sourceCodeStart":265,"sourceCodeEnd":301,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/lib/skills/githubCollector.ts#L265-L301","documentation":"Error \"Unknown install target: ${target}\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at src/lib/skills/githubCollector.ts:283 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","schemaVersion":2},"datasetVersion":"2026-08-25T21:54:21.419Z"}