[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6XGP0CBNGK1BPVR947ARW5M":3,"skill-same:01M6XGP0CBNGK1BPVR947ARW5M":64},{"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":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":14,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":49,"install":50,"resources":63},"01M6XGP0CBNGK1BPVR947ARW5M","fp-option-ref",null,"Quick reference for Option type. Use when user needs to handle nullable values, optional data, or wants to avoid null checks.","sapsapshen\u002Fai-memory-router","sapsapshen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20347959?v=4","01M6XDQEF1DP50DKF37H81J3J5","shenmian","01M6XDQEJPE41Y3DT2763X8ZJN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcopilot\u002Ffp-option-ref\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"option","fp option ref","nullable","when","unknown","for","values","quick","type","maybe","quick reference","quick-reference","fp-ts","community","reference","use","user","data","2026-11-10 10:12:30",false,"---\nname: fp-option-ref\ndescription: Quick reference for Option type. Use when user needs to handle nullable values, optional data, or wants to avoid null checks.\nrisk: unknown\nsource: community\nversion: 1.0.0\ntags: [fp-ts, option, nullable, maybe, quick-reference]\n---\n\n# Option Quick Reference\n\nOption = value that might not exist. `Some(value)` or `None`.\n\n## Create\n\n```typescript\nimport * as O from 'fp-ts\u002FOption'\n\nO.some(5)              \u002F\u002F Some(5)\nO.none                 \u002F\u002F None\nO.fromNullable(x)      \u002F\u002F null\u002Fundefined → None, else Some(x)\nO.fromPredicate(x > 0)(x) \u002F\u002F false → None, true → Some(x)\n```\n\n## Transform\n\n```typescript\nO.map(fn)              \u002F\u002F Transform inner value\nO.flatMap(fn)          \u002F\u002F Chain Options (fn returns Option)\nO.filter(predicate)    \u002F\u002F None if predicate false\n```\n\n## Extract\n\n```typescript\nO.getOrElse(() => default)  \u002F\u002F Get value or default\nO.toNullable(opt)           \u002F\u002F Back to T | null\nO.toUndefined(opt)          \u002F\u002F Back to T | undefined\nO.match(onNone, onSome)     \u002F\u002F Pattern match\n```\n\n## Common Patterns\n\n```typescript\nimport { pipe } from 'fp-ts\u002Ffunction'\nimport * as O from 'fp-ts\u002FOption'\n\n\u002F\u002F Safe property access\npipe(\n  O.fromNullable(user),\n  O.map(u => u.profile),\n  O.flatMap(p => O.fromNullable(p.avatar)),\n  O.getOrElse(() => '\u002Fdefault-avatar.png')\n)\n\n\u002F\u002F Array first element\nimport * as A from 'fp-ts\u002FArray'\npipe(\n  users,\n  A.head,  \u002F\u002F Option\u003CUser>\n  O.map(u => u.name),\n  O.getOrElse(() => 'No users')\n)\n```\n\n## vs Nullable\n\n```typescript\n\u002F\u002F ❌ Nullable - easy to forget checks\nconst name = user?.profile?.name ?? 'Guest'\n\n\u002F\u002F ✅ Option - explicit, composable\npipe(\n  O.fromNullable(user),\n  O.flatMap(u => O.fromNullable(u.profile)),\n  O.map(p => p.name),\n  O.getOrElse(() => 'Guest')\n)\n```\n\nUse Option when you need to **chain** operations on optional values.\n","# Option Quick Reference\n\nOption = value that might not exist. `Some(value)` or `None`.\n\n## Create\n\n```typescript\nimport * as O from 'fp-ts\u002FOption'\n\nO.some(5)              \u002F\u002F Some(5)\nO.none                 \u002F\u002F None\nO.fromNullable(x)      \u002F\u002F null\u002Fundefined → None, else Some(x)\nO.fromPredicate(x > 0)(x) \u002F\u002F false → None, true → Some(x)\n```\n\n## Transform\n\n```typescript\nO.map(fn)              \u002F\u002F Transform inner value\nO.flatMap(fn)          \u002F\u002F Chain Options (fn returns Option)\nO.filter(predicate)    \u002F\u002F None if predicate false\n```\n\n## Extract\n\n```typescript\nO.getOrElse(() => default)  \u002F\u002F Get value or default\nO.toNullable(opt)           \u002F\u002F Back to T | null\nO.toUndefined(opt)          \u002F\u002F Back to T | undefined\nO.match(onNone, onSome)     \u002F\u002F Pattern match\n```\n\n## Common Patterns\n\n```typescript\nimport { pipe } from 'fp-ts\u002Ffunction'\nimport * as O from 'fp-ts\u002FOption'\n\n\u002F\u002F Safe property access\npipe(\n  O.fromNullable(user),\n  O.map(u => u.profile),\n  O.flatMap(p => O.fromNullable(p.avatar)),\n  O.getOrElse(() => '\u002Fdefault-avatar.png')\n)\n\n\u002F\u002F Array first element\nimport * as A from 'fp-ts\u002FArray'\npipe(\n  users,\n  A.head,  \u002F\u002F Option\u003CUser>\n  O.map(u => u.name),\n  O.getOrElse(() => 'No users')\n)\n```\n\n## vs Nullable\n\n```typescript\n\u002F\u002F ❌ Nullable - easy to forget checks\nconst name = user?.profile?.name ?? 'Guest'\n\n\u002F\u002F ✅ Option - explicit, composable\npipe(\n  O.fromNullable(user),\n  O.flatMap(u => O.fromNullable(u.profile)),\n  O.map(p => p.name),\n  O.getOrElse(() => 'Guest')\n)\n```\n\nUse Option when you need to **chain** operations on optional values.\n",{"name":5,"risk":23,"tags":42,"source":32,"version":43,"description":7},[31,19,21,28,30],"1.0.0","main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fcopilot\u002Ffp-option-ref","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router","https:\u002F\u002Fgithub.com\u002Fsapsapshen","2026-04-14 21:12:12",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill fp-option-ref",{"tool":56,"command":57},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill fp-option-ref",{"tool":59,"command":60},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill fp-option-ref","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcopilot\u002Ffp-option-ref\u002FSKILL.md",true,[],[65,89,113,123,136,155],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":76,"publishedAt":37},"01M71ATQRKG48SH06FQ697T5G9","wechat-search","Search WeChat Official Account articles using OpenClaw's web search and fetch capabilities with compliance-focused design.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Fwechat-search-release\u002FSKILL.md",[71],{"categoryNo":72,"categoryName":73,"taxonomyType":74,"taxonomyTypeDesc":75},"01JBSEEDCAT000000000000037","律师与法务","PROFESSION","适用职业",[77,78,79,80,81,82,83,84,85,86,87,88],"wechat search","wechat","search","capabilities","openclaw","design","web search","compliance","web","official","fetch","with",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":37},"01M71ATNAVGZB35PFYM2GC5N00","trend-tap","Real-time trending topics aggregator across 7 platforms (X\u002FTwitter, Reddit, Google Trends, Hacker News, Zhihu, Bilibili, Weibo). Trigger: when user says 'trend', 'trends', 'trend tap', '热点', '热搜', or asks what is trending\u002Fhot. Do NOT use web_search — this skill already fetches live data from all platforms with zero API keys.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Ftrend-tap\u002FSKILL.md",[],[96,97,98,99,100,101,79,102,103,104,105,22,106,107,36,108,109,110,111,112],"trend","trend tap","tap","api keys","Bash","time","trending","hacker","aggregator","do","brew","live","google","install","read","across","api",{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":37},"01M71ATJ9AM5KM15AA8PS302EB","trend-radar","Real-time trending topics aggregator across 7 platforms (X\u002FTwitter, Reddit, Google Trends, Hacker News, Zhihu, Bilibili, Weibo). Trigger: when user says 'trend', 'trends', 'trend pulse', '热点', '热搜', or asks what is trending\u002Fhot. Do NOT use web_search — this skill already fetches live data from all platforms with zero API keys.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Ftrend-radar\u002FSKILL.md",[],[120,121,96,106,107,36,108,100,79,110,122,111,112,22,104,103,102,109,101,99],"trend radar","radar","pulse",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":37},"01M71ATGF095N3EJM9G8SD0BB5","tech-news-daily","每日科技新闻汇——从全球多个 RSS 源抓取最新科技新闻，翻译（英→中）、去重、排版成每日简报。当用户询问科技新闻、科技新鲜事、每日科技、技术动态、Daily Tech News 或类似表达时触发此技能。","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Ftech-news-daily\u002FSKILL.md",[],[130,131,132,133,134,135],"news","tech","tech news daily","daily","rss","翻译",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":147,"publishedAt":37},"01M71ATFAEAMQ17M70NQNY7SR8","summarize","Summarize URLs or files with the summarize CLI (web, PDFs, images, audio, YouTube).","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Fsummarize\u002FSKILL.md",[142],{"categoryNo":143,"categoryName":144,"taxonomyType":145,"taxonomyTypeDesc":146},"01JBSEEDCAT000000000000021","资料检索与研究","SCENARIO","使用场景",[138,85,148,149,150,88,106,151,152,153,98,154,109],"Audio","cli","youtube","images","https","files","pdfs",{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":37},"01M71ATDNS3R0M4H936PACQAWZ","sonoscli","Control Sonos speakers (discover\u002Fstatus\u002Fplay\u002Fvolume\u002Fgroup).","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Fsonoscli\u002FSKILL.md",[],[157,162,163,164,109,165,152,166,167,168,169,170],"status","play","go","latest","github","discover","control","cmd","volume"]