[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M738867M0RDH0BBTF0FSNA7M":3,"skill-same:01M738867M0RDH0BBTF0FSNA7M":53},{"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":31,"commitSha":32,"skillDirectory":33,"forksCount":14,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":36,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M738867M0RDH0BBTF0FSNA7M","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.","kalash33\u002Fkstack","kalash33","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F90259149?v=4","01M7365X8Q0B73NYHA730SMZWN","Kalash Poddar","01M7365X9D0JK47C3Q0YCCK9Z2",0,"MIT","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Ffp-option-ref\u002FSKILL.md",[],[],"2026-11-11 15:11:14",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.\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,"tags":24,"version":30,"description":7},[25,26,27,28,29],"fp-ts","option","nullable","maybe","quick-reference","1.0.0","main","b30820b3248f6676d5389f0ccabd4e5250c9c536","skills\u002Ffp-option-ref","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack","https:\u002F\u002Fgithub.com\u002Fkalash33","kalashpoddar.me","Tech-savvy Full Stack Developer 🚀 | Cybersecurity enthusiast 🔒 | Passionate about innovation and securing the digital world 🌐 | Let's code securely! 💻🔐","2026-05-20 04:11:22",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add kalash33\u002Fkstack --skill fp-option-ref",{"tool":45,"command":46},"bunx","bunx skills add kalash33\u002Fkstack --skill fp-option-ref",{"tool":48,"command":49},"pnpm","pnpm dlx skills add kalash33\u002Fkstack --skill fp-option-ref","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Ffp-option-ref\u002FSKILL.md",true,[],[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M73CFERCR43JCAP606E41EFB","zustand-store-ts","Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state\u002Faction separation. Use when building React state management, creating global stores, or implementing reacti...","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-ts\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M73CFCMFVTAQEMTZ5HR10X8V","zoom-automation","Automate Zoom meeting creation, management, recordings, webinars, and participant tracking via Rube MCP (Composio). Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-automation\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M73CFAA7EBWXJVXDQ1X555MB","zoho-crm-automation","Automate Zoho CRM tasks via Rube MCP (Composio): create\u002Fupdate records, search contacts, manage leads, and convert leads. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzoho-crm-automation\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M73CF80XCM9K81567MJ8QZFW","zod-validation-expert","Expert in Zod — TypeScript-first schema validation. Covers parsing, custom errors, refinements, type inference, and integration with React Hook Form, Next.js, and tRPC.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzod-validation-expert\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M73CF4YPMF3RA8ZJDXZSMD93","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[],{"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":19},"01M73CF2S25EN3XNAMKY47XHPS","zendesk-automation","Automate Zendesk tasks via Rube MCP (Composio): tickets, users, organizations, replies. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzendesk-automation\u002FSKILL.md",[],[]]