[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M756560BPEJW30K7VFZKPJ8W":3,"skill-same:01M756560BPEJW30K7VFZKPJ8W":51},{"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":6,"updatedAt":30,"install":31,"resources":44},"01M756560BPEJW30K7VFZKPJ8W","commit",null,"When the user wants the current git changes saved as a commit.","prathamdby\u002Fskills","prathamdby","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F134331217?v=4","01M7564WRST5Q4T0H867V2D7FM","Pratham Dubey","01M7564WSKSG53RFP8B1K7KA21",6,"MIT","https:\u002F\u002Fgithub.com\u002Fprathamdby\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fcommit\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: commit\ndescription: >\n  When the user wants the current git changes saved as a commit.\n---\n\n# Commit\n\n## Options\n\nDefault: staged, conventional, trailers denied; hooks off only where host\npolicy permits bypass, otherwise hooks on. \"Unstaged work\" requires an empty\nindex; untracked files stay excluded. \"Plain subject\"\u002F\"simple message\" selects\nsimple. \"Run hooks\"\u002F\"do not skip hooks\" selects on. Explicit identity-trailer\nrequests opt in only to those trailers. Conflicting scopes\u002Fstyles or missing\nneeded values block; hook failure does not change the chosen policy.\n\n## 1. Lock\n\nRead status and the selected diff (cached for staged, worktree for unstaged).\nEmpty → NO_CHANGES, naming other layers without switching. Hash selected bytes\nwith git hash-object. For unstaged, block if index is nonempty.\nRecord `scope | style | hooks | requested trailers | hash | paths | message | command | SHA | terminal`.\nDone when intended bytes and out-of-scope work are fixed.\n\n## 2. Draft and trace\n\nLoad the selected style and rejection check in `REFERENCE.md`.\nDraft only from locked hunks, not session\u002Fticket\u002Fplan\u002Fbranch\u002Freviewer context\nor a prior review-follow-up draft. Map every message line to proving hunks.\nRewrite unproved copy and all rejected forms. Use one subject -m and at most\none body -m, not an editor, HEREDOC, -F, -a, or an argument per bullet.\nDone when style, clean-room trace, and requested-trailer policy pass.\n\n## 3. Commit\n\nRehash immediately before mutation; movement restarts Lock. For unstaged,\nstage only locked tracked paths and require cached bytes equal the snapshot.\nUse separate literal argv values for subject\u002Fbody; shell variables must\npreserve quotes, backticks, dollars, backslashes, and newlines.\nRun hooks when required\u002Fchosen; bypass only if both recorded policy and host\npermit it. Done when one commit exists; errors\u002Finterruption are BLOCKED with\nstderr and any index mutation, never silently changing hook policy.\n\n## 4. Verify\n\nCompare commit diff\u002Fpaths and `%B` to the locked snapshot\u002Fmessage, check command\nshape\u002Fhook policy and preservation of unrelated work. Mismatch blocks with SHA\nand exact difference. For denied trailers always apply Trailer hygiene in\n`REFERENCE.md`; with opt-in, apply it when an unrequested banned line appears.\nKeep the REPL strip and unpublished\u002Frun-owned-HEAD checks; a clean -m is not\nproof of clean HEAD. Done when commit and message match after any safe amend.\n\nReport SHA, subject, scope, hooks\u002Ftrailers, trace, amend status, and remaining\ntracked\u002Funtracked work. Terminals: SUCCESS, NO_CHANGES, BLOCKED. Never push.\n","# Commit\n\n## Options\n\nDefault: staged, conventional, trailers denied; hooks off only where host\npolicy permits bypass, otherwise hooks on. \"Unstaged work\" requires an empty\nindex; untracked files stay excluded. \"Plain subject\"\u002F\"simple message\" selects\nsimple. \"Run hooks\"\u002F\"do not skip hooks\" selects on. Explicit identity-trailer\nrequests opt in only to those trailers. Conflicting scopes\u002Fstyles or missing\nneeded values block; hook failure does not change the chosen policy.\n\n## 1. Lock\n\nRead status and the selected diff (cached for staged, worktree for unstaged).\nEmpty → NO_CHANGES, naming other layers without switching. Hash selected bytes\nwith git hash-object. For unstaged, block if index is nonempty.\nRecord `scope | style | hooks | requested trailers | hash | paths | message | command | SHA | terminal`.\nDone when intended bytes and out-of-scope work are fixed.\n\n## 2. Draft and trace\n\nLoad the selected style and rejection check in `REFERENCE.md`.\nDraft only from locked hunks, not session\u002Fticket\u002Fplan\u002Fbranch\u002Freviewer context\nor a prior review-follow-up draft. Map every message line to proving hunks.\nRewrite unproved copy and all rejected forms. Use one subject -m and at most\none body -m, not an editor, HEREDOC, -F, -a, or an argument per bullet.\nDone when style, clean-room trace, and requested-trailer policy pass.\n\n## 3. Commit\n\nRehash immediately before mutation; movement restarts Lock. For unstaged,\nstage only locked tracked paths and require cached bytes equal the snapshot.\nUse separate literal argv values for subject\u002Fbody; shell variables must\npreserve quotes, backticks, dollars, backslashes, and newlines.\nRun hooks when required\u002Fchosen; bypass only if both recorded policy and host\npermit it. Done when one commit exists; errors\u002Finterruption are BLOCKED with\nstderr and any index mutation, never silently changing hook policy.\n\n## 4. Verify\n\nCompare commit diff\u002Fpaths and `%B` to the locked snapshot\u002Fmessage, check command\nshape\u002Fhook policy and preservation of unrelated work. Mismatch blocks with SHA\nand exact difference. For denied trailers always apply Trailer hygiene in\n`REFERENCE.md`; with opt-in, apply it when an unrequested banned line appears.\nKeep the REPL strip and unpublished\u002Frun-owned-HEAD checks; a clean -m is not\nproof of clean HEAD. Done when commit and message match after any safe amend.\n\nReport SHA, subject, scope, hooks\u002Ftrailers, trace, amend status, and remaining\ntracked\u002Funtracked work. Terminals: SUCCESS, NO_CHANGES, BLOCKED. Never push.\n",{"name":5,"description":7},"main","7e02cfa05508af59db423ab0b55cbeccca47227f","skills\u002Fengineering\u002Fcommit",0,"https:\u002F\u002Fgithub.com\u002Fprathamdby\u002Fskills","https:\u002F\u002Fgithub.com\u002Fprathamdby","2026-11-10 11:05:05",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add prathamdby\u002Fskills --skill commit",{"tool":37,"command":38},"bunx","bunx skills add prathamdby\u002Fskills --skill commit",{"tool":40,"command":41},"pnpm","pnpm dlx skills add prathamdby\u002Fskills --skill commit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fprathamdby\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fcommit\u002FSKILL.md",true,[45],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"REFERENCE.md","REFERENCE","参考文档",6265,"https:\u002F\u002Fgithub.com\u002Fprathamdby\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fcommit\u002FREFERENCE.md",[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M75665C5GFXW5791HNM7YV1Q","use-skill","When the user gives a GitHub link to a skill and wants it run without installing it.","https:\u002F\u002Fgithub.com\u002Fprathamdby\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fpersonal\u002Fuse-skill\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":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M75663VH2BD43GZXF6WEKMY7","todoist-task","When the user wants a Todoist task created, or shown before it is created.","https:\u002F\u002Fgithub.com\u002Fprathamdby\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fpersonal\u002Ftodoist-task\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":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M75660YWCZ0C2MEJ29KX4JP9","restate","When the user wants the last reply said again in plain words, wants a catch-up since their last message, or wants the decision they need to make.","https:\u002F\u002Fgithub.com\u002Fprathamdby\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fpersonal\u002Frestate\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":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7565Z2VG522XQYJQJ9TAPXB","upfront-design","When the user wants a design agreed before coding, a draft resumed, or an approved milestone checked.","https:\u002F\u002Fgithub.com\u002Fprathamdby\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fupfront-design\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":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7565W4RGPHW61XMRY4MREM8","recon","When the user wants this repository's saved map read, created, or refreshed.","https:\u002F\u002Fgithub.com\u002Fprathamdby\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Frecon\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":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7565SSBG3854X0DD6FAQQQQ","prath-mode","When the user wants a goal sent to one skill or one delivery chain.","https:\u002F\u002Fgithub.com\u002Fprathamdby\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fprath-mode\u002FSKILL.md",[],[]]