[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B361JCGWHS7V2MADGJSRB1":3,"skill-same:01M7B361JCGWHS7V2MADGJSRB1":48},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7B361JCGWHS7V2MADGJSRB1","share-dont-pair",null,"Search-first DRY and consistency for any code unit. Use when about to write something that resembles existing code, duplicate a component \u002F function \u002F type \u002F schema \u002F style \u002F config \u002F query \u002F client, or make one place match another ('match it to X', 'same as Y', 'keep them consistent', 'looks inconsistent'). Enforces: find the existing definition before writing, and merge things that must change together into one source of truth instead of maintaining look-alike copies.","gethamster\u002Fskills","gethamster","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F215697643?v=4","01M7B2R6PGB3SDZZ71E0WE2S74","Hamster","01M7B2R6Q21HWJRXZZWB78BNDG",4,"MIT","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F.experimental\u002Fshare-dont-pair\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: share-dont-pair\ndescription: \"Search-first DRY and consistency for any code unit. Use when about to write something that resembles existing code, duplicate a component \u002F function \u002F type \u002F schema \u002F style \u002F config \u002F query \u002F client, or make one place match another ('match it to X', 'same as Y', 'keep them consistent', 'looks inconsistent'). Enforces: find the existing definition before writing, and merge things that must change together into one source of truth instead of maintaining look-alike copies.\"\nversion: \"1.0.0\"\n---\n\n# Share, Don't Pair\n\n**Pairing** is keeping two copies of one truth and maintaining them in parallel so they stay alike. It is the bug this skill kills: paired copies agree today and drift on the next edit, because nothing forces them to move together. The cure is a **single source of truth** — one definition every site reuses.\n\nThis is about *any* unit that can be duplicated: a component, a function, a type or schema, a style token, a constant or enum, a query, a client wrapper, an error path. If two places must agree, they should *be the same thing*, not two things a human keeps in sync. Syntax is the agent's problem; the discipline below is language- and framework-neutral.\n\nTwo ways drift ships, one fix for both:\n\n- **Reinvention** — you write what already exists, because you didn't look.\n- **Pairing** — you copy A and hand-tune B to match.\n\nFix: converge on one definition.\n\n---\n\n## Gate 1 — Search before you write\n\nAssume the thing already exists; you lack the context to know it. Before authoring, search the shared\u002Fcommon modules and by the concept's name (and any shared token\u002Fconstant for it).\n\n**Done when** you have named the existing definition to reuse, or confirmed across the search that none exists. Never re-encode by hand a value or rule a shared definition already owns.\n\n## Gate 2 — The co-change test\n\nYou are about to make B match A. Whether they are one thing is a judgment about *role*, not resemblance — and it cuts both ways. Ask the one question:\n\n> **Would a change to one always have to apply to the other?**\n\n- **Yes** — same truth. Separate copies are drift. Extract one definition; both use it; delete the copies.\n- **No** — they merely resemble. Forcing them into one (mode flags, branches to serve both) is its *own* drift, an over-coupling that satisfies neither. Keep them apart; share only a genuinely-common primitive underneath, if any.\n\n\"Copy A and adjust\" is the tell that you skipped this gate.\n\n## Gate 3 — Extract at copy #2; fold, don't fork\n\nA second site needing the thing: extract the shared definition *now*, before the second copy lands. When a site needs a capability the shared definition lacks, **extend it with a parameter** — never fork. A fork to gain one capability silently abandons everything else the shared definition carried (a state, a guard, an edge case), until the copy quietly drifts.\n\n---\n\n## Where pairing hides\n\nRecognize the recurring shapes; each almost always has, or deserves, one home. Detection is the same move everywhere: search for the shared definition, and if a site hand-builds the behavior instead of calling it, that is drift.\n\n- presentation \u002F style tokens\n- formatting & parsing\n- validation & schemas\n- domain derivation (labels, status, permission, money)\n- data access & external clients\n- config, constants, enums\n- error \u002F result handling\n- repeated scaffolds & control-flow boilerplate\n\n## Example\n\nTwo screens each render a table. Built separately, they look almost the same — but one has tighter row padding and a narrower column gap than the other, because each screen owns its own copy of the layout:\n\n```\nscreen-a    table → padding: tight,  column gap: small\nscreen-b    table → padding: looser, column gap: wide     \u002F\u002F drifted, because built apart\n```\n\nCo-change test: should a change to table padding always land on both? Yes — it is the same table on two screens. So the mismatch is drift, not design. Converge on one table that owns the padding and spacing:\n\n```\nshared      one table component holds the layout\na + b       both render that component\n```\n\nNow a spacing tweak is one edit and the two cannot diverge. (If `screen-b` were a genuinely different layout — a dense admin grid with its own rules — the role differs → keep them apart.)\n\n## Sweep after a shared change\n\nOne definition feeds every caller, so a change touches all of them. Re-list the callers, check each surface, and gate any site that must differ behind a parameter. **Done when** every caller is accounted for, not when the first one looks right.\n\n---\n\n## Honest exits\n\nDefault is share. Take an exit only by naming which one applies:\n\n- **Superficial resemblance, different role.** Same shape, unrelated meaning; merging couples two things that should move independently.\n- **A capability that would warp the shared API.** One variant needs behavior the shared definition cannot express without a flag tangle. Try one parameter first; if it truly cannot stretch, fork deliberately and leave a one-line note saying why, so the next agent does not re-merge it.\n- **One caller, no second in sight.** Share at the second use, not the first — no speculative shared layer.\n","# Share, Don't Pair\n\n**Pairing** is keeping two copies of one truth and maintaining them in parallel so they stay alike. It is the bug this skill kills: paired copies agree today and drift on the next edit, because nothing forces them to move together. The cure is a **single source of truth** — one definition every site reuses.\n\nThis is about *any* unit that can be duplicated: a component, a function, a type or schema, a style token, a constant or enum, a query, a client wrapper, an error path. If two places must agree, they should *be the same thing*, not two things a human keeps in sync. Syntax is the agent's problem; the discipline below is language- and framework-neutral.\n\nTwo ways drift ships, one fix for both:\n\n- **Reinvention** — you write what already exists, because you didn't look.\n- **Pairing** — you copy A and hand-tune B to match.\n\nFix: converge on one definition.\n\n---\n\n## Gate 1 — Search before you write\n\nAssume the thing already exists; you lack the context to know it. Before authoring, search the shared\u002Fcommon modules and by the concept's name (and any shared token\u002Fconstant for it).\n\n**Done when** you have named the existing definition to reuse, or confirmed across the search that none exists. Never re-encode by hand a value or rule a shared definition already owns.\n\n## Gate 2 — The co-change test\n\nYou are about to make B match A. Whether they are one thing is a judgment about *role*, not resemblance — and it cuts both ways. Ask the one question:\n\n> **Would a change to one always have to apply to the other?**\n\n- **Yes** — same truth. Separate copies are drift. Extract one definition; both use it; delete the copies.\n- **No** — they merely resemble. Forcing them into one (mode flags, branches to serve both) is its *own* drift, an over-coupling that satisfies neither. Keep them apart; share only a genuinely-common primitive underneath, if any.\n\n\"Copy A and adjust\" is the tell that you skipped this gate.\n\n## Gate 3 — Extract at copy #2; fold, don't fork\n\nA second site needing the thing: extract the shared definition *now*, before the second copy lands. When a site needs a capability the shared definition lacks, **extend it with a parameter** — never fork. A fork to gain one capability silently abandons everything else the shared definition carried (a state, a guard, an edge case), until the copy quietly drifts.\n\n---\n\n## Where pairing hides\n\nRecognize the recurring shapes; each almost always has, or deserves, one home. Detection is the same move everywhere: search for the shared definition, and if a site hand-builds the behavior instead of calling it, that is drift.\n\n- presentation \u002F style tokens\n- formatting & parsing\n- validation & schemas\n- domain derivation (labels, status, permission, money)\n- data access & external clients\n- config, constants, enums\n- error \u002F result handling\n- repeated scaffolds & control-flow boilerplate\n\n## Example\n\nTwo screens each render a table. Built separately, they look almost the same — but one has tighter row padding and a narrower column gap than the other, because each screen owns its own copy of the layout:\n\n```\nscreen-a    table → padding: tight,  column gap: small\nscreen-b    table → padding: looser, column gap: wide     \u002F\u002F drifted, because built apart\n```\n\nCo-change test: should a change to table padding always land on both? Yes — it is the same table on two screens. So the mismatch is drift, not design. Converge on one table that owns the padding and spacing:\n\n```\nshared      one table component holds the layout\na + b       both render that component\n```\n\nNow a spacing tweak is one edit and the two cannot diverge. (If `screen-b` were a genuinely different layout — a dense admin grid with its own rules — the role differs → keep them apart.)\n\n## Sweep after a shared change\n\nOne definition feeds every caller, so a change touches all of them. Re-list the callers, check each surface, and gate any site that must differ behind a parameter. **Done when** every caller is accounted for, not when the first one looks right.\n\n---\n\n## Honest exits\n\nDefault is share. Take an exit only by naming which one applies:\n\n- **Superficial resemblance, different role.** Same shape, unrelated meaning; merging couples two things that should move independently.\n- **A capability that would warp the shared API.** One variant needs behavior the shared definition cannot express without a flag tangle. Try one parameter first; if it truly cannot stretch, fork deliberately and leave a one-line note saying why, so the next agent does not re-merge it.\n- **One caller, no second in sight.** Share at the second use, not the first — no speculative shared layer.\n",{"name":5,"version":24,"description":7},"1.0.0","main","fe3bb1476c3ec23d8a366eac0fa8cd9f0852360a","skills\u002F.experimental\u002Fshare-dont-pair",0,"https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills","https:\u002F\u002Fgithub.com\u002Fgethamster","https:\u002F\u002Ftryhamster.com","We're building the AI-native future of work, unlocking the promised acceleration for your whole team, from idea to impact.","2026-11-05 11:33:33",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add gethamster\u002Fskills --skill share-dont-pair",{"tool":40,"command":41},"bunx","bunx skills add gethamster\u002Fskills --skill share-dont-pair",{"tool":43,"command":44},"pnpm","pnpm dlx skills add gethamster\u002Fskills --skill share-dont-pair","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F.experimental\u002Fshare-dont-pair\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7B5MWYW0KE251276S56KQDZ","writing-waterfall-requirements-documents","Write a waterfall requirements document: elicit, structure and review testable, traceable requirements, then baseline the specification before design.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-waterfall-requirements-documents\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7B5MRCXWWPKREPB1CHQ7H90","writing-vision-and-values-statements","Write a V2MOM vision a reader can test and a ranked list of values that settles real tradeoffs, so the rest of the document has a clear anchor.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-vision-and-values-statements\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7B5MKH2CH22YZAHQW3080VQ","writing-system-prompts-for-claude","Write Claude prompts and CLAUDE.md files that supply exact inputs, scope the task, and define done so the first attempt can be checked.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-system-prompts-for-claude\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7B5ME1Y3X9RNRKP5HKHKACZ","writing-page-specific-website-copy","Website copywriting by page type: write homepage, landing page, pricing page and feature page copy that fits each page's visitor and single job.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-page-specific-website-copy\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7B5M8MQNM8MN8PYH6BVWJ2B","writing-internal-press-releases","How to write an internal press release: the one-page working backwards press release that opens a PR\u002FFAQ document before anything is built.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-internal-press-releases\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7B5M3P3YH1XF37R8PWXXSBK","writing-email-sequences-that-sell","Email sequence copywriting for nurture and sales: give each email one job, write clear subject lines, and close with one specific call to action.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-email-sequences-that-sell\u002FSKILL.md",[],[]]