[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75MP4D1A3SE6BB09NDHDC9M":3,"skill-same:01M75MP4D1A3SE6BB09NDHDC9M":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M75MP4D1A3SE6BB09NDHDC9M","merge-conflict-discipline",null,"Resolve merge conflicts by intent (never blind accept-ours\u002Ftheirs) AND prevent them structurally — integrate, never clobber.","selamy-labs\u002Fagent-skills","selamy-labs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F287832944?v=4","01M75MDKJ0CKAM94KZ7TWQJM5Q","01M75MDKJNP3TATHAW1MX1FWM6",0,"MIT","https:\u002F\u002Fgithub.com\u002Fselamy-labs\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmerge-conflict-discipline\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: merge-conflict-discipline\ndescription: Resolve merge conflicts by intent (never blind accept-ours\u002Ftheirs) AND prevent them structurally — integrate, never clobber.\n---\n\n# merge-conflict-discipline\n\nThe core rule: **respect every change up to this point WHILE contributing your own — integrate, never clobber.** Blind `accept-ours`\u002F`accept-theirs` is almost always wrong; it silently discards someone's intent. Deep thought is required only on LEGIT overlap (both sides touched the same thing for incompatible reasons).\n\nThis skill has two halves: **resolution** (a conflict is here now) and **prevention** (stop them recurring).\n\n## PART A — RESOLUTION (semantic, intent-first)\n\n1. **Understand the intent of BOTH sides first.** Hardest when you authored neither. Use the 3-way view — *ours \u002F theirs \u002F common ANCESTOR* (`git config merge.conflictstyle zdiff3`). Get the *why*: read the commit message, PR, issue, and author for the other side. \"Get more context into why they deleted it\" before you re-add it.\n\n2. **Clean text merge ≠ correct merge.** Git cannot detect a SEMANTIC conflict — when one branch's intent isn't applied to lines the other branch added. A textually clean merge can be logically broken. **Resolution always ends by re-running build + the full test suite.** \"It merged cleanly\" is not done.\n\n3. **Decision frameworks for legit overlap:**\n   - **They deleted what you meant to change** (it's gone in latest): find out WHY it was deleted; confirm retaining it isn't at odds with the platform\u002Fnorth-star direction; then re-add, adapt, or drop your change. **Default to the platform direction over local intent.**\n   - **They updated it differently from you:** ask the same *why*; reconcile by INTENT — combine both where compatible; if truly mutually exclusive, pick the one serving the north-star. Then ask the prevention question: *why did we collide here at all?*\n   - **Both added independent edits** (the classic third case): standard 3-way integrate-both.\n\n4. **Feed conflicts back into prevention.** A conflict CLASS that recurs is a signal, not bad luck — add a prevention control (below) so it can't recur (regression-ratchet discipline).\n\n## PART B — PREVENTION (legit overlap is usually a design\u002Fhygiene smell)\n\nIf you keep hitting real overlap, ask: are we not using best practices — a consistent formatter? canonical sorting? leaning on open source enough?\n\n- **Deterministic formatters, fleet-wide** (prettier \u002F gofmt \u002F ruff \u002F black \u002F buildifier \u002F …): canonical layout → minimal diffs → fewer collisions. Enforce as a REQUIRED CI check so every PR arrives pre-canonicalized.\n- **Canonical \u002F alphabetical sorting** of imports, deps, enums, lists, config keys. Combine with **one-item-per-line + a magic trailing comma** so additions are *appends*, not line-edits two people fight over.\n- **Custom merge drivers** via `.gitattributes` for trivial\u002Fgenerated classes (lockfiles: pnpm\u002Fpoetry\u002Fcomposer, generated code) → auto-resolve the busywork.\n- **Modular design** (SRP, small focused files, \"things that change together live together\") → fewer same-section edits. Repeated overlap in one file is a structural signal to split it.\n- **Short-lived branches:** small frequent PRs + frequent rebase off main → conflicts stay small and incremental.\n\n## DONE means\nBuild + tests green after resolution (not just \"merged clean\"); the resolution preserved both intents (or chose the north-star one deliberately, with the why recorded); and if the conflict class recurred, a prevention control was added.\n\nSources: git-scm gitattributes; semantic-conflict awareness (Fowler); standard merge-prevention practice.\n","# merge-conflict-discipline\n\nThe core rule: **respect every change up to this point WHILE contributing your own — integrate, never clobber.** Blind `accept-ours`\u002F`accept-theirs` is almost always wrong; it silently discards someone's intent. Deep thought is required only on LEGIT overlap (both sides touched the same thing for incompatible reasons).\n\nThis skill has two halves: **resolution** (a conflict is here now) and **prevention** (stop them recurring).\n\n## PART A — RESOLUTION (semantic, intent-first)\n\n1. **Understand the intent of BOTH sides first.** Hardest when you authored neither. Use the 3-way view — *ours \u002F theirs \u002F common ANCESTOR* (`git config merge.conflictstyle zdiff3`). Get the *why*: read the commit message, PR, issue, and author for the other side. \"Get more context into why they deleted it\" before you re-add it.\n\n2. **Clean text merge ≠ correct merge.** Git cannot detect a SEMANTIC conflict — when one branch's intent isn't applied to lines the other branch added. A textually clean merge can be logically broken. **Resolution always ends by re-running build + the full test suite.** \"It merged cleanly\" is not done.\n\n3. **Decision frameworks for legit overlap:**\n   - **They deleted what you meant to change** (it's gone in latest): find out WHY it was deleted; confirm retaining it isn't at odds with the platform\u002Fnorth-star direction; then re-add, adapt, or drop your change. **Default to the platform direction over local intent.**\n   - **They updated it differently from you:** ask the same *why*; reconcile by INTENT — combine both where compatible; if truly mutually exclusive, pick the one serving the north-star. Then ask the prevention question: *why did we collide here at all?*\n   - **Both added independent edits** (the classic third case): standard 3-way integrate-both.\n\n4. **Feed conflicts back into prevention.** A conflict CLASS that recurs is a signal, not bad luck — add a prevention control (below) so it can't recur (regression-ratchet discipline).\n\n## PART B — PREVENTION (legit overlap is usually a design\u002Fhygiene smell)\n\nIf you keep hitting real overlap, ask: are we not using best practices — a consistent formatter? canonical sorting? leaning on open source enough?\n\n- **Deterministic formatters, fleet-wide** (prettier \u002F gofmt \u002F ruff \u002F black \u002F buildifier \u002F …): canonical layout → minimal diffs → fewer collisions. Enforce as a REQUIRED CI check so every PR arrives pre-canonicalized.\n- **Canonical \u002F alphabetical sorting** of imports, deps, enums, lists, config keys. Combine with **one-item-per-line + a magic trailing comma** so additions are *appends*, not line-edits two people fight over.\n- **Custom merge drivers** via `.gitattributes` for trivial\u002Fgenerated classes (lockfiles: pnpm\u002Fpoetry\u002Fcomposer, generated code) → auto-resolve the busywork.\n- **Modular design** (SRP, small focused files, \"things that change together live together\") → fewer same-section edits. Repeated overlap in one file is a structural signal to split it.\n- **Short-lived branches:** small frequent PRs + frequent rebase off main → conflicts stay small and incremental.\n\n## DONE means\nBuild + tests green after resolution (not just \"merged clean\"); the resolution preserved both intents (or chose the north-star one deliberately, with the why recorded); and if the conflict class recurred, a prevention control was added.\n\nSources: git-scm gitattributes; semantic-conflict awareness (Fowler); standard merge-prevention practice.\n",{"name":5,"description":7},"main","54007b08157feb09e5bb9d7ff5ce4ddd21625dbf","skills\u002Fmerge-conflict-discipline",3,"https:\u002F\u002Fgithub.com\u002Fselamy-labs\u002Fagent-skills","https:\u002F\u002Fselamy.dev","https:\u002F\u002Fgithub.com\u002Fselamy-labs","2026-11-15 03:50:58",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add selamy-labs\u002Fagent-skills --skill merge-conflict-discipline",{"tool":37,"command":38},"bunx","bunx skills add selamy-labs\u002Fagent-skills --skill merge-conflict-discipline",{"tool":40,"command":41},"pnpm","pnpm dlx skills add selamy-labs\u002Fagent-skills --skill merge-conflict-discipline","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fselamy-labs\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmerge-conflict-discipline\u002FSKILL.md",true,[],[46,53,60,67,73,80],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M75MY70JMSNFHQX63G90SKZ7","silence-phrase","A seemingly normal skill.","https:\u002F\u002Fgithub.com\u002Fselamy-labs\u002Fagent-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsilence-phrase\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"01M75MY5PKVKY60M8H2DFTW58C","selamy-bad-skill","This skill has a vendor prefix that should be rejected.","https:\u002F\u002Fgithub.com\u002Fselamy-labs\u002Fagent-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fprefixed-name\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M75MY1TKXCH6WYN9ET0W4T02","oversized-description","This is a very long description that contains way too many words and should be rejected by the validator because it exceeds the forty five word limit that is enforced by the naming lint checker which ensures skill descriptions stay concise and readable for humans and machines alike without unnecessary verbosity or padding","https:\u002F\u002Fgithub.com\u002Fselamy-labs\u002Fagent-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Foversized-description\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M75MY0SZ7EKT99NWJEJ8HKS2","missing-frontmatter","https:\u002F\u002Fgithub.com\u002Fselamy-labs\u002Fagent-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fmissing-frontmatter\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M75MXYMBREE6D7KRR87YM4DH","malicious-skill","A poisoned skill used only as a negative fixture for the security gate.","https:\u002F\u002Fgithub.com\u002Fselamy-labs\u002Fagent-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fmalicious-skill\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M75MXX2B7AC2QSSRRQQXTA0N","leaking-org-name","A skill about something.","https:\u002F\u002Fgithub.com\u002Fselamy-labs\u002Fagent-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fleaking-org-name\u002FSKILL.md",[],[]]