[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7865G5ZE5RK24VCM8BXDMRH":3,"skill-same:01M7865G5ZE5RK24VCM8BXDMRH":50},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M7865G5ZE5RK24VCM8BXDMRH","create-adaptable-composable",null,"Create a library-grade Vue composable that accepts maybe-reactive inputs (MaybeRef \u002F MaybeRefOrGetter) so callers can pass a plain value, ref, or getter. Normalize inputs with toValue()\u002FtoRef() inside reactive effects (watch\u002FwatchEffect) to keep behavior predictable and reactive. Use this skill when user asks for creating adaptable or reusable composables.","Tenon-Net\u002FTenonAdmin","Tenon-Net","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F301772982?v=4","01M7865ABCRD19RRSN8D1HAH72","Tenon.Net","01M7865ACHBZC7NJ54M5S7MCDV",45,"MIT","https:\u002F\u002Fgithub.com\u002FTenon-Net\u002FTenonAdmin\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcreate-adaptable-composable\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: create-adaptable-composable\ndescription: Create a library-grade Vue composable that accepts maybe-reactive inputs (MaybeRef \u002F MaybeRefOrGetter) so callers can pass a plain value, ref, or getter. Normalize inputs with toValue()\u002FtoRef() inside reactive effects (watch\u002FwatchEffect) to keep behavior predictable and reactive. Use this skill when user asks for creating adaptable or reusable composables.\nlicense: MIT\nmetadata:\n  author: github.com\u002Fvuejs-ai\n  version: \"17.0.0\"\ncompatibility: Requires Vue 3 (or above) or Nuxt 3 (or above) project\n---\n\n# Create Adaptable Composable\n\nAdaptable composables are reusable functions that can accept both reactive and non-reactive inputs. This allows developers to use the composable in a variety of contexts without worrying about the reactivity of the inputs.\n\nSteps to design an adaptable composable in Vue.js:\n1. Confirm the composable's purpose and API design and expected inputs\u002Foutputs.\n2. Identify inputs params that should be reactive (MaybeRef \u002F MaybeRefOrGetter).\n3. Use `toValue()` or `toRef()` to normalize inputs inside reactive effects.\n4. Implement the core logic of the composable using Vue's reactivity APIs.\n\n## Core Type Concepts\n\n### Type Utilities\n\n```ts\n\u002F**\n * value or writable ref (value\u002Fref\u002FshallowRef\u002Fwritable computed)\n *\u002F\nexport type MaybeRef\u003CT = any> = T | Ref\u003CT> | ShallowRef\u003CT> | WritableComputedRef\u003CT>;\n\n\u002F**\n * MaybeRef\u003CT> + ComputedRef\u003CT> + () => T\n *\u002F\nexport type MaybeRefOrGetter\u003CT = any> = MaybeRef\u003CT> | ComputedRef\u003CT> | (() => T);\n```\n\n### Policy and Rules\n\n- Read-only, computed-friendly input: use `MaybeRefOrGetter`\n- Needs to be writable \u002F two-way input: use `MaybeRef`\n- Parameter might be a function value (callback\u002Fpredicate\u002Fcomparator): do not use `MaybeRefOrGetter`, or you may accidentally invoke it as a getter.\n- DOM\u002FElement targets: if you want computed\u002Fderived targets, use `MaybeRefOrGetter`.\n\nWhen `MaybeRefOrGetter` or `MaybeRef` is used: \n- resolve reactive value using `toRef()` (e.g. watcher source)\n- resolve non-reactive value using `toValue()`\n\n### Examples\n\nAdaptable `useDocumentTitle` Composable: read-only title parameter\n\n```ts\nimport { watch, toRef } from 'vue'\nimport type { MaybeRefOrGetter } from 'vue'\n\nexport function useDocumentTitle(title: MaybeRefOrGetter\u003Cstring>) {\n  watch(toRef(title), (t) => {\n    document.title = t\n  }, { immediate: true })\n}\n```\n\nAdaptable `useCounter` Composable: two-way writable count parameter\n\n```ts\nimport { watch, toRef } from 'vue'\nimport type { MaybeRef } from 'vue'\n\nfunction useCounter(count: MaybeRef\u003Cnumber>) {\n  const countRef = toRef(count)\n  function add() {\n    countRef.value++\n  }\n  return { add }\n}\n```\n","# Create Adaptable Composable\n\nAdaptable composables are reusable functions that can accept both reactive and non-reactive inputs. This allows developers to use the composable in a variety of contexts without worrying about the reactivity of the inputs.\n\nSteps to design an adaptable composable in Vue.js:\n1. Confirm the composable's purpose and API design and expected inputs\u002Foutputs.\n2. Identify inputs params that should be reactive (MaybeRef \u002F MaybeRefOrGetter).\n3. Use `toValue()` or `toRef()` to normalize inputs inside reactive effects.\n4. Implement the core logic of the composable using Vue's reactivity APIs.\n\n## Core Type Concepts\n\n### Type Utilities\n\n```ts\n\u002F**\n * value or writable ref (value\u002Fref\u002FshallowRef\u002Fwritable computed)\n *\u002F\nexport type MaybeRef\u003CT = any> = T | Ref\u003CT> | ShallowRef\u003CT> | WritableComputedRef\u003CT>;\n\n\u002F**\n * MaybeRef\u003CT> + ComputedRef\u003CT> + () => T\n *\u002F\nexport type MaybeRefOrGetter\u003CT = any> = MaybeRef\u003CT> | ComputedRef\u003CT> | (() => T);\n```\n\n### Policy and Rules\n\n- Read-only, computed-friendly input: use `MaybeRefOrGetter`\n- Needs to be writable \u002F two-way input: use `MaybeRef`\n- Parameter might be a function value (callback\u002Fpredicate\u002Fcomparator): do not use `MaybeRefOrGetter`, or you may accidentally invoke it as a getter.\n- DOM\u002FElement targets: if you want computed\u002Fderived targets, use `MaybeRefOrGetter`.\n\nWhen `MaybeRefOrGetter` or `MaybeRef` is used: \n- resolve reactive value using `toRef()` (e.g. watcher source)\n- resolve non-reactive value using `toValue()`\n\n### Examples\n\nAdaptable `useDocumentTitle` Composable: read-only title parameter\n\n```ts\nimport { watch, toRef } from 'vue'\nimport type { MaybeRefOrGetter } from 'vue'\n\nexport function useDocumentTitle(title: MaybeRefOrGetter\u003Cstring>) {\n  watch(toRef(title), (t) => {\n    document.title = t\n  }, { immediate: true })\n}\n```\n\nAdaptable `useCounter` Composable: two-way writable count parameter\n\n```ts\nimport { watch, toRef } from 'vue'\nimport type { MaybeRef } from 'vue'\n\nfunction useCounter(count: MaybeRef\u003Cnumber>) {\n  const countRef = toRef(count)\n  function add() {\n    countRef.value++\n  }\n  return { add }\n}\n```\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":27},{"author":25,"version":26},"github.com\u002Fvuejs-ai","17.0.0","Requires Vue 3 (or above) or Nuxt 3 (or above) project","main","8b5d641d390d190c08d259be0020dbd054165620",".agents\u002Fskills\u002Fcreate-adaptable-composable",12,"https:\u002F\u002Fgithub.com\u002FTenon-Net\u002FTenonAdmin","https:\u002F\u002Ftenon.52moyu.net","https:\u002F\u002Fgithub.com\u002FTenon-Net","2026-10-23 20:22:32",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add Tenon-Net\u002FTenonAdmin --skill create-adaptable-composable",{"tool":42,"command":43},"bunx","bunx skills add Tenon-Net\u002FTenonAdmin --skill create-adaptable-composable",{"tool":45,"command":46},"pnpm","pnpm dlx skills add Tenon-Net\u002FTenonAdmin --skill create-adaptable-composable","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTenon-Net\u002FTenonAdmin\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcreate-adaptable-composable\u002FSKILL.md",true,[],[51,59,66,73,80,87],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":55,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M786B2SWRDH5STXY78PY11GP","worker","[OMX] Team worker protocol (ACK, mailbox, task lifecycle) for tmux-based OMX teams","Apache-2.0","https:\u002F\u002Fgithub.com\u002FTenon-Net\u002FTenonAdmin\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fworker\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":55,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M786AZ5RN9PM7DYVNEHR2F35","wiki","[OMX] Persistent markdown project wiki stored under repository omx_wiki with keyword search and lifecycle capture","https:\u002F\u002Fgithub.com\u002FTenon-Net\u002FTenonAdmin\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fwiki\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":55,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M786AX120YXVKVS1C45EMJV7","visual-ralph","[OMX] Implement or restyle frontend UI against a generated image, static reference, or live URL through measured capture-and-compare iteration.","https:\u002F\u002Fgithub.com\u002FTenon-Net\u002FTenonAdmin\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fvisual-ralph\u002FSKILL.md",[],[],{"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":55,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M786ASC8R32D99RMEQM4E0J4","ultraqa","[OMX] Adversarial dynamic e2e QA workflow - generate hostile scenarios, test, verify, fix, report, and clean up","https:\u002F\u002Fgithub.com\u002FTenon-Net\u002FTenonAdmin\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fultraqa\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":55,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M786AQ39T8WD85J8BSCCN646","ultragoal","[OMX] Create and execute durable repo-native multi-goal plans over Codex goal mode artifacts.","https:\u002F\u002Fgithub.com\u002FTenon-Net\u002FTenonAdmin\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fultragoal\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":55,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M786AMVDKJEKND0BAQY74WZJ","team","[OMX] N coordinated agents on shared task list using tmux-based orchestration","https:\u002F\u002Fgithub.com\u002FTenon-Net\u002FTenonAdmin\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fteam\u002FSKILL.md",[],[]]