[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ER94TNDKTQB668JEMK1FN0":3,"skill-same:01M7ER94TNDKTQB668JEMK1FN0":46},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7ER94TNDKTQB668JEMK1FN0","principle-build-the-lever",null,"Apply when a need repeats: the second time you meet the same edit, migration, analysis, or check, not the first. Build the tool that does it or proves it (codemod, script, generator, or a skill your subagents follow) instead of working by hand again. The tool is the artifact a reviewer can rerun.","JoshuaHayesWasHere\u002Fjstack","JoshuaHayesWasHere","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F78288453?v=4","01M7EQPZP0GDYN3SYY9SZZHFJE","Joshua Hayes","01M7EQPZPQKJDZR99NG512A8X2",1,"MIT","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fprinciples\u002Fskills\u002Fprinciple-build-the-lever\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: principle-build-the-lever\ndescription: \"Apply when a need repeats: the second time you meet the same edit, migration, analysis, or check, not the first. Build the tool that does it or proves it (codemod, script, generator, or a skill your subagents follow) instead of working by hand again. The tool is the artifact a reviewer can rerun.\"\n---\n\n# Build the Lever\n\nApply when a need repeats: the second time you meet the same edit, migration, analysis, or check, not the first. Build the tool that does it or proves it (codemod, script, generator, or a skill your subagents follow) instead of working by hand again. The tool is the artifact a reviewer can rerun.\n\nDo a one-off by the simplest direct path. The second time the same work comes up, build the tool that does it.\n\nA codemod, generator, or script does the work the same way every time and reruns for free. The tool is one artifact a reviewer can read and rerun to check the work. Hand-done changes can only be re-verified by redoing them. A deterministic script turns \"trust me\" into \"run this\".\n\nLook for the lever in all work, including the work you do by hand.\nA step you repeat, or a step whose result must come out the same every time, is a step a script could take over.\nWhen building it is not this task's work (it is outside the brief's **Where**, or you have met the need once), queue the script as a row of its own (`templates\u002Fa-fault-outside.md`).\n\n- Do the first unit by hand to learn the recipe. Build the tool when the second unit arrives, in this task or a later one. Prove it by rerunning it on the first unit and diffing against your hand-done version. Make the lever safe to rerun.\n- Codemod or script for edits, generator for repetitive files, a dump-to-sqlite query for analysis, a rerunnable check for verification.\n- A deterministic lever beats fan-out. If the tool can process every unit in one pass, run it yourself. Don't fan out delegates to hand-apply what a script can do.\n- When you fan work out to subagents, write the lever as a skill they all read: the recipe, the verification contract, and the do-not-touch fences in one artifact. Keep it outside the delegates' write scope so they can't quietly edit the contract.\n- Applying this principle produces a file. If you cited it and there is no codemod, script, generator, or delegate skill in the diff, you didn't apply it.\n- Commit the lever when the work outlives the session.\n\nThe bar is repetition, not size.\nA one-off is done by hand, however large, unless the direct path hits a concrete blocker.\nPer the [Laziness Protocol](..\u002Fprinciple-laziness-protocol\u002FSKILL.md), build the smallest script that does or proves the job, never a framework.\n\nDistinct from [Encode Lessons in Structure](..\u002Fprinciple-encode-lessons-in-structure\u002FSKILL.md), which makes a recurring instruction a durable guardrail.\nThis is throughput and reviewability on the work in front of you.\nFor scripting the verification itself, see [Prove It Works](..\u002Fprinciple-prove-it-works\u002FSKILL.md).\n\n\u003C!-- card: Many threads, and lessons that last | 3 | The second time the same work comes up, build the tool that does it or proves it. | `autonomous-run`; `hillclimb` -->\n","# Build the Lever\n\nApply when a need repeats: the second time you meet the same edit, migration, analysis, or check, not the first. Build the tool that does it or proves it (codemod, script, generator, or a skill your subagents follow) instead of working by hand again. The tool is the artifact a reviewer can rerun.\n\nDo a one-off by the simplest direct path. The second time the same work comes up, build the tool that does it.\n\nA codemod, generator, or script does the work the same way every time and reruns for free. The tool is one artifact a reviewer can read and rerun to check the work. Hand-done changes can only be re-verified by redoing them. A deterministic script turns \"trust me\" into \"run this\".\n\nLook for the lever in all work, including the work you do by hand.\nA step you repeat, or a step whose result must come out the same every time, is a step a script could take over.\nWhen building it is not this task's work (it is outside the brief's **Where**, or you have met the need once), queue the script as a row of its own (`templates\u002Fa-fault-outside.md`).\n\n- Do the first unit by hand to learn the recipe. Build the tool when the second unit arrives, in this task or a later one. Prove it by rerunning it on the first unit and diffing against your hand-done version. Make the lever safe to rerun.\n- Codemod or script for edits, generator for repetitive files, a dump-to-sqlite query for analysis, a rerunnable check for verification.\n- A deterministic lever beats fan-out. If the tool can process every unit in one pass, run it yourself. Don't fan out delegates to hand-apply what a script can do.\n- When you fan work out to subagents, write the lever as a skill they all read: the recipe, the verification contract, and the do-not-touch fences in one artifact. Keep it outside the delegates' write scope so they can't quietly edit the contract.\n- Applying this principle produces a file. If you cited it and there is no codemod, script, generator, or delegate skill in the diff, you didn't apply it.\n- Commit the lever when the work outlives the session.\n\nThe bar is repetition, not size.\nA one-off is done by hand, however large, unless the direct path hits a concrete blocker.\nPer the [Laziness Protocol](..\u002Fprinciple-laziness-protocol\u002FSKILL.md), build the smallest script that does or proves the job, never a framework.\n\nDistinct from [Encode Lessons in Structure](..\u002Fprinciple-encode-lessons-in-structure\u002FSKILL.md), which makes a recurring instruction a durable guardrail.\nThis is throughput and reviewability on the work in front of you.\nFor scripting the verification itself, see [Prove It Works](..\u002Fprinciple-prove-it-works\u002FSKILL.md).\n\n\u003C!-- card: Many threads, and lessons that last | 3 | The second time the same work comes up, build the tool that does it or proves it. | `autonomous-run`; `hillclimb` -->\n",{"name":5,"description":7},"main","daff051d2674b46e2eb8a333bbd3f3e40f8d1cea","features\u002Fprinciples\u002Fskills\u002Fprinciple-build-the-lever",0,"https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere","Software Engineer @ Markel\r\n","2026-11-15 11:25:06",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add JoshuaHayesWasHere\u002Fjstack --skill principle-build-the-lever",{"tool":38,"command":39},"bunx","bunx skills add JoshuaHayesWasHere\u002Fjstack --skill principle-build-the-lever",{"tool":41,"command":42},"pnpm","pnpm dlx skills add JoshuaHayesWasHere\u002Fjstack --skill principle-build-the-lever","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fprinciples\u002Fskills\u002Fprinciple-build-the-lever\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7ERF9GXMY62V7QTVAR6G8DG","no-key","A skill its skills.json lists as hidden that a model may still call by itself, kept broken so the lint is seen to catch it.","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ftesting\u002Ftests\u002Ffixtures\u002Fskills\u002Fno-key\u002FSKILL.md",[],[],{"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},"01M7ERF83ZG3XKJ2SB8MJHCZ8H","fake-skill","A FAKE skill in a FAKE tree, named for its folder until the test renames the folder.","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ftesting\u002Ftests\u002Ffixtures\u002Fskills\u002Fnamed-tree\u002Fskills\u002Ffake-skill\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},"01M7ERF698RV4VF8QCDF8H8DA4","extra-key","A skill its skills.json does not list as hidden that a model still cannot call, kept broken so the lint is seen to catch it.","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ftesting\u002Ftests\u002Ffixtures\u002Fskills\u002Fextra-key\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},"01M7ERF2V8N73X9T0Y9PJ4SFV6","unslop","Cut AI tells from writing. Use when the user says text reads like AI, asks to unslop it, or before prose ships to people.","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fwriting\u002Fskills\u002Funslop\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},"01M7EREWM67WX934XKABM4XCSZ","technical-writing","Write or review docs, READMEs, RFCs, PR descriptions and commit messages to a layered standard: Diataxis structure, Google developer style, STE rules and Global English.","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fwriting\u002Fskills\u002Ftechnical-writing\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},"01M7EREMHJS9JY10AM5EKVX3GP","why","Find why code is the way it is, from its history and every evidence source this session can query, with citations. Use for 'why does X work this way', 'why did we pick Y', regressions and postmortems. Use how for runtime behavior.","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fwhy\u002FSKILL.md",[],[]]