[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6NTXYK689K8XHE6ZVC7X0F9":3,"skill-same:01M6NTXYK689K8XHE6ZVC7X0F9":51},{"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":24,"linkOnly":25,"markdownContent":26,"markdownBody":27,"frontMatter":28,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":14,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M6NTXYK689K8XHE6ZVC7X0F9","graceful-degradation",null,"Graceful Degradation with Helpful Messages","rubicanjr\u002FFinCognis","rubicanjr","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F234912519?v=4","01M6NT156NND8J474G34SB3923","Rubi","01M6NT15B70RWXE1N3YV0BZY8A",0,"MIT","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fgraceful-degradation\u002FSKILL.md",[],[19,20,21,22,23],"degradation","graceful degradation","messages","false","with","2026-11-10 10:12:30",false,"---\nname: graceful-degradation\ndescription: Graceful Degradation with Helpful Messages\nuser-invocable: false\n---\n\n# Graceful Degradation with Helpful Messages\n\nWhen optional services are unavailable, degrade gracefully with actionable fallback messages.\n\n## Pattern\n\nCheck availability at the start, cache the result, and provide helpful messages that explain what's missing and how to fix it.\n\n## DO\n\n- Check service availability early (before wasting compute)\n- Cache health check results for the session (e.g., 60s TTL)\n- Provide actionable fallback messages:\n  - What service is missing\n  - What features are degraded\n  - How to enable the service\n- Continue with reduced functionality when possible\n\n## DON'T\n\n- Silently fail or return empty results\n- Check availability on every call (cache it)\n- Assume the user knows how to start missing services\n\n## Example: LMStudio Check Pattern\n\n```typescript\nlet lmstudioAvailable: boolean | null = null;\nlet lastCheck = 0;\nconst CACHE_TTL = 60000; \u002F\u002F 60 seconds\n\nasync function checkLMStudio(): Promise\u003Cboolean> {\n  const now = Date.now();\n  if (lmstudioAvailable !== null && now - lastCheck \u003C CACHE_TTL) {\n    return lmstudioAvailable;\n  }\n\n  try {\n    const response = await fetch('http:\u002F\u002Flocalhost:1234\u002Fv1\u002Fmodels', {\n      signal: AbortSignal.timeout(2000)\n    });\n    lmstudioAvailable = response.ok;\n  } catch {\n    lmstudioAvailable = false;\n  }\n  lastCheck = now;\n  return lmstudioAvailable;\n}\n\n\u002F\u002F Usage\nif (!await checkLMStudio()) {\n  return {\n    result: 'continue',\n    message: `LMStudio not available at localhost:1234.\n\nTo enable Godel-Prover tactic suggestions:\n1. Install LMStudio from https:\u002F\u002Flmstudio.ai\u002F\n2. Load \"Goedel-Prover-V2-8B\" model\n3. Start the local server on port 1234\n\nContinuing without AI-assisted tactics...`\n  };\n}\n```\n\n## Fallback Message Template\n\n```\n[Service] not available at [endpoint].\n\nTo enable [feature]:\n1. [Step to install\u002Fstart]\n2. [Configuration step if needed]\n3. [Verification step]\n\nContinuing without [degraded feature]...\n```\n\n## Source Sessions\n\n- This session: LMStudio availability check with 60s caching and helpful fallback\n- 174e0ff3: Environment variable debugging - print computed paths for troubleshooting\n","# Graceful Degradation with Helpful Messages\n\nWhen optional services are unavailable, degrade gracefully with actionable fallback messages.\n\n## Pattern\n\nCheck availability at the start, cache the result, and provide helpful messages that explain what's missing and how to fix it.\n\n## DO\n\n- Check service availability early (before wasting compute)\n- Cache health check results for the session (e.g., 60s TTL)\n- Provide actionable fallback messages:\n  - What service is missing\n  - What features are degraded\n  - How to enable the service\n- Continue with reduced functionality when possible\n\n## DON'T\n\n- Silently fail or return empty results\n- Check availability on every call (cache it)\n- Assume the user knows how to start missing services\n\n## Example: LMStudio Check Pattern\n\n```typescript\nlet lmstudioAvailable: boolean | null = null;\nlet lastCheck = 0;\nconst CACHE_TTL = 60000; \u002F\u002F 60 seconds\n\nasync function checkLMStudio(): Promise\u003Cboolean> {\n  const now = Date.now();\n  if (lmstudioAvailable !== null && now - lastCheck \u003C CACHE_TTL) {\n    return lmstudioAvailable;\n  }\n\n  try {\n    const response = await fetch('http:\u002F\u002Flocalhost:1234\u002Fv1\u002Fmodels', {\n      signal: AbortSignal.timeout(2000)\n    });\n    lmstudioAvailable = response.ok;\n  } catch {\n    lmstudioAvailable = false;\n  }\n  lastCheck = now;\n  return lmstudioAvailable;\n}\n\n\u002F\u002F Usage\nif (!await checkLMStudio()) {\n  return {\n    result: 'continue',\n    message: `LMStudio not available at localhost:1234.\n\nTo enable Godel-Prover tactic suggestions:\n1. Install LMStudio from https:\u002F\u002Flmstudio.ai\u002F\n2. Load \"Goedel-Prover-V2-8B\" model\n3. Start the local server on port 1234\n\nContinuing without AI-assisted tactics...`\n  };\n}\n```\n\n## Fallback Message Template\n\n```\n[Service] not available at [endpoint].\n\nTo enable [feature]:\n1. [Step to install\u002Fstart]\n2. [Configuration step if needed]\n3. [Verification step]\n\nContinuing without [degraded feature]...\n```\n\n## Source Sessions\n\n- This session: LMStudio availability check with 60s caching and helpful fallback\n- 174e0ff3: Environment variable debugging - print computed paths for troubleshooting\n",{"name":5,"description":7,"user-invocable":25},"main","70e1c350500ee750987420bbae48837afa906b7e","skills\u002Fgraceful-degradation","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis","https:\u002F\u002Fgithub.com\u002Frubicanjr","linktr.ee\u002Ffinanskodu","Industrial Engineer & CIO @FinansKodu. Architecting AI-driven financial agents and autonomous workflows. 🏗️ Building systems, not just prompts.","2026-06-09 13:50:15",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add rubicanjr\u002FFinCognis --skill graceful-degradation",{"tool":43,"command":44},"bunx","bunx skills add rubicanjr\u002FFinCognis --skill graceful-degradation",{"tool":46,"command":47},"pnpm","pnpm dlx skills add rubicanjr\u002FFinCognis --skill graceful-degradation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fgraceful-degradation\u002FSKILL.md",true,[],[52,73,81,101,131,150],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":63,"publishedAt":24},"01M6NWS9DAXJTADT4T5MB49X8W","workflow-router","Goal-based workflow orchestration - routes tasks to specialist agents based on user goals","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow-router\u002FSKILL.md",[58],{"categoryNo":59,"categoryName":60,"taxonomyType":61,"taxonomyTypeDesc":62},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[64,65,66,67,68,69,70,71,72],"workflow router","workflow","router","orchestration","goals","goal","user","workflow orchestration","tasks",{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":24},"01M6NWS3RETSC0SHP16HP66E14","wiring","Wiring Verification","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fwiring\u002FSKILL.md",[],[75,80,22],"verification",{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":90,"publishedAt":24},"01M6NWS0XW9CVQZBDA1EGW0TWC","websocket-patterns","Connection management, room patterns, reconnection strategies, message buffering, and binary protocol design.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fwebsocket-patterns\u002Fskill.md",[87],{"categoryNo":88,"categoryName":89,"taxonomyType":61,"taxonomyTypeDesc":62},"01JBSEEDCAT000000000000015","视觉设计",[91,92,93,94,95,96,97,98,99,100],"websocket","patterns","websocket patterns","design","protocol","management","message","strategies","binary","connection",{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":111,"publishedAt":24},"01M6NWRDQDX9ZNETAWRRMQWV52","visual-verdict","Screenshot comparison QA for frontend development. Takes a screenshot of the current implementation, scores it across multiple visual dimensions, and returns a structured PASS\u002FREVISE\u002FFAIL verdict with concrete fixes. Use when implementing UI from a design reference or verifying visual correctness.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fvisual-verdict\u002FSKILL.md",[107,110],{"categoryNo":108,"categoryName":109,"taxonomyType":61,"taxonomyTypeDesc":62},"01JBSEEDCAT000000000000009","前端开发",{"categoryNo":59,"categoryName":60,"taxonomyType":61,"taxonomyTypeDesc":62},[112,113,114,115,116,117,118,119,120,121,122,123,124,94,125,126,127,128,129,130],"visual","verdict","visual verdict","ui","across","revise","comparison","correctness","implementing","for","fixes","dimensions","frontend","development","qa","screenshot","returns","use","frontend development",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":24},"01M6NWR8HSNRS7MNDK2J02QYMN","verification-loop","Comprehensive verification system covering build, types, lint, tests, security, and diff review before a PR.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[138,139,80,140,141,142,143,144,145,146,147,148,149],"verification loop","loop","lint","review","security","pr","system","diff","build","tests","diff review","types",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":24},"01M6NWR4HHSFR0VR5EXFRWA747","vector-db-patterns","Embedding strategies, ANN algorithms, hybrid search, RAG chunking strategies, and reranking for semantic search and retrieval.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fvector-db-patterns\u002Fskill.md",[],[157,158,159,160,92,161,162,163,164,98,165,166,167,168,169,121,170,171],"vector db patterns","vector db","db","vector","semantic search","search","embedding strategies","algorithms","chunking","semantic","retrieval","embedding","Hybrid Search","hybrid","rag"]