[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75MVSCZ1A16B2R18SXMK7KG":3,"skill-same:01M75MVSCZ1A16B2R18SXMK7KG":44},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":14,"categories":15,"keywords":16,"publishedAt":17,"linkOnly":18,"markdownContent":19,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M75MVSCZ1A16B2R18SXMK7KG","small-focused-changes",null,"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\u002Fsmall-focused-changes\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: small-focused-changes\ndescription: Use when planning or breaking down any change: a PR, a refactor, a feature, or a delegated unit of work. Bias toward small, single-concern changes with explicit dependencies and a clear revert plan.\n---\n\n# Small, Focused Changes\n\nPrefer a **series of small, single-concern changes** over one large one. Small diffs are statistically more correct, faster to review, and easy to revert if something goes wrong. This applies to PRs **and** to delegated work — chop dispatches into small units too.\n\n## The rule\n**One concern per change.** Independent units ship and revert separately.\nDependent layers ship with their declared prerequisites; revert affected\ndependents from the top down. If reverting a change also undoes an unrelated\nimprovement, it contains more than one concern.\n\n## Why\n- **Correctness**: smaller diffs have fewer places for bugs to hide and get genuinely reviewed (large PRs get rubber-stamped).\n- **Reversibility**: a one-concern change reverts cleanly; a mega-change forces you to choose between keeping a bug and losing good work.\n- **Throughput**: small changes merge sooner and unblock dependents instead of sitting in review.\n- **Bisectability**: when something breaks, a history of small commits points at the cause; a few giant commits don't.\n\n## How to decompose\n1. **Find the seams**: separate refactor-then-change (first a behavior-preserving refactor, then the behavior change), interface-then-impl, scaffolding-then-feature.\n2. **Make each unit coherent on its declared base**: it builds and passes tests with its prerequisites, without needing a later layer. Include its behavior tests in the same layer.\n3. **Sequence by dependency**: branch dependent units from their unmerged prerequisites and review them in parallel. Use `stacked-diff-discipline` to merge a ready contiguous prefix together where native stacks are supported. Independent units stay flat; a shared tracker or ledger is not a code dependency.\n4. **Keep mechanical churn separate** from logic: a rename or formatting sweep is its own change so the logic diff stays readable.\n5. **For delegated work**: hand out one small, reversible unit per dispatch — not a big multi-part dispatch. The same correctness\u002Freversibility math applies one level down.\n\n## When to use \u002F not\n- **Use** whenever a change is more than one concern, or big enough that review would skim it.\n- **Not** an excuse to split one atomic concern into nonsense fragments (a change and the deletion it requires ship together — see adopt-and-delete), or to ship a half-feature that breaks the build. Smallest *coherent* unit, not smallest possible.\n\n## Anti-patterns\n- The mega-PR that mixes a refactor, a feature, and a formatting sweep — unreviewable, unrevertible.\n- \"I'll split it later\" — the split never happens once it's written as one blob.\n- A stack of units where unit N silently depends on unit N+1 (none stands alone).\n- A dispatch that asks for five loosely-related things at once.\n- Splitting so aggressively that no single unit builds or makes sense on its own.\n","# Small, Focused Changes\n\nPrefer a **series of small, single-concern changes** over one large one. Small diffs are statistically more correct, faster to review, and easy to revert if something goes wrong. This applies to PRs **and** to delegated work — chop dispatches into small units too.\n\n## The rule\n**One concern per change.** Independent units ship and revert separately.\nDependent layers ship with their declared prerequisites; revert affected\ndependents from the top down. If reverting a change also undoes an unrelated\nimprovement, it contains more than one concern.\n\n## Why\n- **Correctness**: smaller diffs have fewer places for bugs to hide and get genuinely reviewed (large PRs get rubber-stamped).\n- **Reversibility**: a one-concern change reverts cleanly; a mega-change forces you to choose between keeping a bug and losing good work.\n- **Throughput**: small changes merge sooner and unblock dependents instead of sitting in review.\n- **Bisectability**: when something breaks, a history of small commits points at the cause; a few giant commits don't.\n\n## How to decompose\n1. **Find the seams**: separate refactor-then-change (first a behavior-preserving refactor, then the behavior change), interface-then-impl, scaffolding-then-feature.\n2. **Make each unit coherent on its declared base**: it builds and passes tests with its prerequisites, without needing a later layer. Include its behavior tests in the same layer.\n3. **Sequence by dependency**: branch dependent units from their unmerged prerequisites and review them in parallel. Use `stacked-diff-discipline` to merge a ready contiguous prefix together where native stacks are supported. Independent units stay flat; a shared tracker or ledger is not a code dependency.\n4. **Keep mechanical churn separate** from logic: a rename or formatting sweep is its own change so the logic diff stays readable.\n5. **For delegated work**: hand out one small, reversible unit per dispatch — not a big multi-part dispatch. The same correctness\u002Freversibility math applies one level down.\n\n## When to use \u002F not\n- **Use** whenever a change is more than one concern, or big enough that review would skim it.\n- **Not** an excuse to split one atomic concern into nonsense fragments (a change and the deletion it requires ship together — see adopt-and-delete), or to ship a half-feature that breaks the build. Smallest *coherent* unit, not smallest possible.\n\n## Anti-patterns\n- The mega-PR that mixes a refactor, a feature, and a formatting sweep — unreviewable, unrevertible.\n- \"I'll split it later\" — the split never happens once it's written as one blob.\n- A stack of units where unit N silently depends on unit N+1 (none stands alone).\n- A dispatch that asks for five loosely-related things at once.\n- Splitting so aggressively that no single unit builds or makes sense on its own.\n",{},"main","54007b08157feb09e5bb9d7ff5ce4ddd21625dbf","skills\u002Fsmall-focused-changes",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":7,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add selamy-labs\u002Fagent-skills --skill small-focused-changes",{"tool":36,"command":37},"bunx","bunx skills add selamy-labs\u002Fagent-skills --skill small-focused-changes",{"tool":39,"command":40},"pnpm","pnpm dlx skills add selamy-labs\u002Fagent-skills --skill small-focused-changes","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fselamy-labs\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsmall-focused-changes\u002FSKILL.md",true,[],[45,52,59,66,72,79],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":17},"01M75MY70JMSNFHQX63G90SKZ7","silence-phrase","A seemingly normal skill.","https:\u002F\u002Fgithub.com\u002Fselamy-labs\u002Fagent-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsilence-phrase\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":17},"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":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":17},"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":67,"name":68,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":17},"01M75MY0SZ7EKT99NWJEJ8HKS2","missing-frontmatter","https:\u002F\u002Fgithub.com\u002Fselamy-labs\u002Fagent-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fmissing-frontmatter\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":17},"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":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":17},"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",[],[]]