[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ASAY0R2252H69SHRQZ5W9Z":3,"skill-same:01M7ASAY0R2252H69SHRQZ5W9Z":63},{"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":31,"commitSha":32,"skillDirectory":33,"forksCount":14,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":36,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M7ASAY0R2252H69SHRQZ5W9Z","git-committer",null,"Discovers the current git diff, groups related changes into logically separate commits, and writes Conventional Commits-formatted messages in plain developer-readable language (personalized to the project author's style if git-committer-setup has been run). Use when the user asks to commit changes, split their working tree into commits, or write commit messages.","MisterIcy\u002Fprovenance","MisterIcy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6999229?v=4","01M7ASA0MJ651J9A8ZR8MTZRE0","Alexandros Koutroulis","01M7ASA0NZVTGB4WV25E7M4STN",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FMisterIcy\u002Fprovenance\u002Fblob\u002Fmain\u002Fskills\u002Fgit-committer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: git-committer\ndescription: Discovers the current git diff, groups related changes into logically separate commits, and writes Conventional Commits-formatted messages in plain developer-readable language (personalized to the project author's style if git-committer-setup has been run). Use when the user asks to commit changes, split their working tree into commits, or write commit messages.\nwhen_to_use: Also trigger when wrapping up a work session, finishing a task, or switching to something else and the working tree has uncommitted changes worth capturing — e.g. \"I'm done for now\", \"let's wrap up\", \"before I switch tasks\", not just an explicit \"commit this\" request. Whether committing and pushing require your approval first depends on the `git_committer_auto_commit` \u002F `git_committer_auto_push` plugin options — see the workflow below.\nargument-hint: \"[optional: focus hint, e.g. a path or theme to prioritize]\"\ndisable-model-invocation: false\nallowed-tools: Bash(git status:*) Bash(git diff:*) Bash(git log:*) Bash(git add:*) Bash(git apply:*) Bash(git commit:*) Bash(git push:*) Bash(git rev-parse:*) Read Write\nmodel: inherit\neffort: medium\ncontext: fork\nagent: general-purpose\nbackground: false\n---\n\n# git-committer\n\nTurns the current working tree into one or more well-formed commits. Two subagents do the analysis and writing; you (the invoking agent) orchestrate them and are the only one who actually touches git state. Committing and pushing are each independently configurable via the `git_committer_auto_commit` and `git_committer_auto_push` plugin options — but that's not just a rule you're expected to follow: `hooks\u002Fscripts\u002Fguard-git-commit.sh` and `hooks\u002Fscripts\u002Fguard-git-push.sh` are registered as `PreToolUse` hooks on `git commit`\u002F`git push` and force a real approval prompt whenever the relevant option is off (or hand back `allow` to skip it when the option is on), regardless of the session's permission mode. So the plan-presentation steps below are about giving the user useful context before that prompt fires, not about you deciding whether to ask.\n\n## Workflow\n\n1. **Check for changes.** Run `git status --porcelain=v1`. If there's nothing staged, unstaged, or untracked, say so and stop.\n\n2. **Check for a style profile.** Look for `${CLAUDE_PROJECT_DIR}\u002F.claude\u002Fgit-committer-style.md`.\n   - If present, note it exists and pass its path along to the message writer later.\n   - If absent, mention once that running `\u002Fprovenance:git-committer-setup` will personalize commit voice for this project, then continue using `references\u002Fstyle-voice-guidelines.md` as the default voice.\n\n3. **Group the changes.** Invoke the `provenance:commit-change-grouper` subagent (via the Agent tool) with the current git status output and, if the user gave `$ARGUMENTS`, that as a focus hint (e.g. \"prioritize keeping changes under src\u002Fauth together\"). It returns a numbered grouping plan (files\u002Fhunks, rationale, diff excerpt per group) — see `agents\u002Fcommit-change-grouper.md` for its exact contract. Don't re-derive the grouping yourself; if its plan looks wrong, send it back with what's wrong rather than overriding it silently.\n\n4. **Write one message per group.** For each group in the plan, invoke the `provenance:commit-message-writer` subagent (haiku) with: that group's diff excerpt and rationale, the path `${CLAUDE_SKILL_DIR}\u002Freferences\u002Fconventional-commits.md`, and the path to the style profile if one exists (otherwise `${CLAUDE_SKILL_DIR}\u002Freferences\u002Fstyle-voice-guidelines.md`). Use the absolute `${CLAUDE_SKILL_DIR}`-rooted paths, not bare relative ones — the subagent resolves paths against the session, not this skill's directory, and once the plugin is installed elsewhere a relative `references\u002F...` path won't exist. Collect the returned message for each group.\n\n5. **Present the full plan.** Show the user, for every group: which files\u002Fhunks, and the exact commit message that will be used, then proceed to step 6 — `guard-git-commit.sh` is what actually decides whether `git commit` needs a real approval prompt from here, not this step.\n\n6. **Execute, one group at a time:**\n   - Stage exactly that group's files. If a file needs a hunk-level split (the grouper will have flagged this), build a patch covering only the group's hunks and apply it with `git apply --cached` — `git add -p` is interactive and can't be driven through the Bash tool, so treat the patch approach as primary, not a fallback.\n   - Write the writer's exact message (verbatim, including wrapping\u002Ffooters) to a temp file with `Write`, then commit with `git commit -F \u003Cpath-to-that-file>`. Don't retype the message by hand, and don't try to pipe or heredoc it into `git commit` — the message only exists as the subagent's returned text, so it has to go through a file. If `git_committer_auto_commit` is off, this call surfaces the guard hook's approval prompt; if the user declines it, stop and report that rather than retrying.\n   - Move to the next group only after the commit succeeds.\n\n7. **Push.** Run `git push` (or, if the branch has no upstream yet — check with `git rev-parse --abbrev-ref --symbolic-full-name @{u}` failing — `git push -u origin HEAD`). Just like the commit step, `guard-git-push.sh` decides whether this needs a real approval prompt (gated on `git_committer_auto_push`, independent of `git_committer_auto_commit`); if the user declines it, stop and report that rather than retrying.\n\n8. **Report the result.** Show `git log --oneline -n \u003Cnumber of commits made>` and `git status` (and, if you pushed, confirm the push succeeded) so the user can see the final state.\n\n## Edge cases\n\n- **Mixed staged + unstaged changes**: treat both as candidates for grouping; the grouper should account for what's already staged rather than ignoring it.\n- **Untracked files**: include them in the grouping only if they're clearly part of the pending work (new source files, not build artifacts\u002Fjunk) — flag anything that looks like it shouldn't be committed (secrets, local config, build output) instead of silently including it.\n- **Binary files \u002F renames**: pass them through to the grouper as-is; `git diff` handles renames and binary markers, the grouper just needs to place them in a sensible group.\n- **No git user configured**: `git commit` will fail — tell the user to run `git config user.name`\u002F`user.email` rather than guessing values.\n- **Merge\u002Frebase in progress**: don't attempt to commit; tell the user to resolve or abort the in-progress operation first.\n- **User's `$ARGUMENTS` conflicts with a sensible split**: prefer correctness over the hint — tell the user why you deviated.\n\n## References\n\n- `references\u002Fconventional-commits.md` — the commit format both subagents must follow\n- `references\u002Fstyle-voice-guidelines.md` — default tone\u002Fvoice when no learned profile exists\n- `agents\u002Fcommit-change-grouper.md`, `agents\u002Fcommit-message-writer.md` — the two subagents this skill drives\n","# git-committer\n\nTurns the current working tree into one or more well-formed commits. Two subagents do the analysis and writing; you (the invoking agent) orchestrate them and are the only one who actually touches git state. Committing and pushing are each independently configurable via the `git_committer_auto_commit` and `git_committer_auto_push` plugin options — but that's not just a rule you're expected to follow: `hooks\u002Fscripts\u002Fguard-git-commit.sh` and `hooks\u002Fscripts\u002Fguard-git-push.sh` are registered as `PreToolUse` hooks on `git commit`\u002F`git push` and force a real approval prompt whenever the relevant option is off (or hand back `allow` to skip it when the option is on), regardless of the session's permission mode. So the plan-presentation steps below are about giving the user useful context before that prompt fires, not about you deciding whether to ask.\n\n## Workflow\n\n1. **Check for changes.** Run `git status --porcelain=v1`. If there's nothing staged, unstaged, or untracked, say so and stop.\n\n2. **Check for a style profile.** Look for `${CLAUDE_PROJECT_DIR}\u002F.claude\u002Fgit-committer-style.md`.\n   - If present, note it exists and pass its path along to the message writer later.\n   - If absent, mention once that running `\u002Fprovenance:git-committer-setup` will personalize commit voice for this project, then continue using `references\u002Fstyle-voice-guidelines.md` as the default voice.\n\n3. **Group the changes.** Invoke the `provenance:commit-change-grouper` subagent (via the Agent tool) with the current git status output and, if the user gave `$ARGUMENTS`, that as a focus hint (e.g. \"prioritize keeping changes under src\u002Fauth together\"). It returns a numbered grouping plan (files\u002Fhunks, rationale, diff excerpt per group) — see `agents\u002Fcommit-change-grouper.md` for its exact contract. Don't re-derive the grouping yourself; if its plan looks wrong, send it back with what's wrong rather than overriding it silently.\n\n4. **Write one message per group.** For each group in the plan, invoke the `provenance:commit-message-writer` subagent (haiku) with: that group's diff excerpt and rationale, the path `${CLAUDE_SKILL_DIR}\u002Freferences\u002Fconventional-commits.md`, and the path to the style profile if one exists (otherwise `${CLAUDE_SKILL_DIR}\u002Freferences\u002Fstyle-voice-guidelines.md`). Use the absolute `${CLAUDE_SKILL_DIR}`-rooted paths, not bare relative ones — the subagent resolves paths against the session, not this skill's directory, and once the plugin is installed elsewhere a relative `references\u002F...` path won't exist. Collect the returned message for each group.\n\n5. **Present the full plan.** Show the user, for every group: which files\u002Fhunks, and the exact commit message that will be used, then proceed to step 6 — `guard-git-commit.sh` is what actually decides whether `git commit` needs a real approval prompt from here, not this step.\n\n6. **Execute, one group at a time:**\n   - Stage exactly that group's files. If a file needs a hunk-level split (the grouper will have flagged this), build a patch covering only the group's hunks and apply it with `git apply --cached` — `git add -p` is interactive and can't be driven through the Bash tool, so treat the patch approach as primary, not a fallback.\n   - Write the writer's exact message (verbatim, including wrapping\u002Ffooters) to a temp file with `Write`, then commit with `git commit -F \u003Cpath-to-that-file>`. Don't retype the message by hand, and don't try to pipe or heredoc it into `git commit` — the message only exists as the subagent's returned text, so it has to go through a file. If `git_committer_auto_commit` is off, this call surfaces the guard hook's approval prompt; if the user declines it, stop and report that rather than retrying.\n   - Move to the next group only after the commit succeeds.\n\n7. **Push.** Run `git push` (or, if the branch has no upstream yet — check with `git rev-parse --abbrev-ref --symbolic-full-name @{u}` failing — `git push -u origin HEAD`). Just like the commit step, `guard-git-push.sh` decides whether this needs a real approval prompt (gated on `git_committer_auto_push`, independent of `git_committer_auto_commit`); if the user declines it, stop and report that rather than retrying.\n\n8. **Report the result.** Show `git log --oneline -n \u003Cnumber of commits made>` and `git status` (and, if you pushed, confirm the push succeeded) so the user can see the final state.\n\n## Edge cases\n\n- **Mixed staged + unstaged changes**: treat both as candidates for grouping; the grouper should account for what's already staged rather than ignoring it.\n- **Untracked files**: include them in the grouping only if they're clearly part of the pending work (new source files, not build artifacts\u002Fjunk) — flag anything that looks like it shouldn't be committed (secrets, local config, build output) instead of silently including it.\n- **Binary files \u002F renames**: pass them through to the grouper as-is; `git diff` handles renames and binary markers, the grouper just needs to place them in a sensible group.\n- **No git user configured**: `git commit` will fail — tell the user to run `git config user.name`\u002F`user.email` rather than guessing values.\n- **Merge\u002Frebase in progress**: don't attempt to commit; tell the user to resolve or abort the in-progress operation first.\n- **User's `$ARGUMENTS` conflicts with a sensible split**: prefer correctness over the hint — tell the user why you deviated.\n\n## References\n\n- `references\u002Fconventional-commits.md` — the commit format both subagents must follow\n- `references\u002Fstyle-voice-guidelines.md` — default tone\u002Fvoice when no learned profile exists\n- `agents\u002Fcommit-change-grouper.md`, `agents\u002Fcommit-message-writer.md` — the two subagents this skill drives\n",{"name":5,"agent":24,"model":25,"effort":26,"context":27,"background":20,"description":7,"when_to_use":28,"allowed-tools":29,"argument-hint":30,"disable-model-invocation":20},"general-purpose","inherit","medium","fork","Also trigger when wrapping up a work session, finishing a task, or switching to something else and the working tree has uncommitted changes worth capturing — e.g. \"I'm done for now\", \"let's wrap up\", \"before I switch tasks\", not just an explicit \"commit this\" request. Whether committing and pushing require your approval first depends on the `git_committer_auto_commit` \u002F `git_committer_auto_push` plugin options — see the workflow below.","Bash(git status:*) Bash(git diff:*) Bash(git log:*) Bash(git add:*) Bash(git apply:*) Bash(git commit:*) Bash(git push:*) Bash(git rev-parse:*) Read Write","[optional: focus hint, e.g. a path or theme to prioritize]","main","1d72d9cc2010608976aa3480d2180e6ad9c6f486","skills\u002Fgit-committer","https:\u002F\u002Fgithub.com\u002FMisterIcy\u002Fprovenance","https:\u002F\u002Fgithub.com\u002FMisterIcy","https:\u002F\u002Fakoutroulis.wordpress.com","Web developer by day, author by night. Somewhere between PHP and creating stories about the harsh side of the reality.","2026-09-13 09:58:53",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add MisterIcy\u002Fprovenance --skill git-committer",{"tool":45,"command":46},"bunx","bunx skills add MisterIcy\u002Fprovenance --skill git-committer",{"tool":48,"command":49},"pnpm","pnpm dlx skills add MisterIcy\u002Fprovenance --skill git-committer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMisterIcy\u002Fprovenance\u002Fblob\u002Fmain\u002Fskills\u002Fgit-committer\u002FSKILL.md",true,[53,59],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fconventional-commits.md","REFERENCE","参考文档",3233,"https:\u002F\u002Fgithub.com\u002FMisterIcy\u002Fprovenance\u002Fblob\u002Fmain\u002Fskills\u002Fgit-committer\u002Freferences\u002Fconventional-commits.md",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fstyle-voice-guidelines.md",1116,"https:\u002F\u002Fgithub.com\u002FMisterIcy\u002Fprovenance\u002Fblob\u002Fmain\u002Fskills\u002Fgit-committer\u002Freferences\u002Fstyle-voice-guidelines.md",[64,71,78,85,93,100],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7ASDJ71BWP9BKQK63DVS271","vitest","Vitest knowledge for writing, running, debugging, and reviewing TypeScript\u002FJavaScript unit and integration tests — test structure (describe\u002Fit\u002Ftest), hooks, data-driven tests (it.each), async assertions, fixtures (test.extend), mocking (vi.fn\u002Fvi.spyOn\u002Fvi.mock\u002Fvi.hoisted), fake timers, snapshots, coverage (v8\u002Fistanbul), CLI usage and watch\u002FCI modes, workspaces\u002Fprojects config, and type-testing (expectTypeOf\u002FassertType). Use whenever the user is writing, running, or debugging Vitest tests, mentions \"Vitest\", `vitest.config.ts`, `vi.mock`\u002F`vi.fn`, `.test.ts`\u002F`.spec.ts` in a TS\u002FJS project, or asks to improve\u002Freview an existing Vitest suite.","https:\u002F\u002Fgithub.com\u002FMisterIcy\u002Fprovenance\u002Fblob\u002Fmain\u002Fskills\u002Fvitest\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7ASDB8PXDPY43RRX5SC70DA","subagent-creator","Scaffolds and reviews Claude Code subagents (Markdown files with YAML frontmatter under agents\u002F directories) — specialized helpers with their own system prompt, tool restrictions, and model. Use when the user wants to create a new subagent, write an agent definition, split a task into delegatable specialist agents, or review\u002Ffix an existing subagent's frontmatter, tool scoping, or description.","https:\u002F\u002Fgithub.com\u002FMisterIcy\u002Fprovenance\u002Fblob\u002Fmain\u002Fskills\u002Fsubagent-creator\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7ASD66GFP1DRPCDK82ZC6PT","oversized-skill","Diagnoses and fixes common deploy pipeline failures by error code. Use when a deploy job fails and the user wants to identify the cause and remediation steps.","https:\u002F\u002Fgithub.com\u002FMisterIcy\u002Fprovenance\u002Fblob\u002Fmain\u002Fskills\u002Fskill-creator\u002Fevals\u002Ffiles\u002Foversized-skill\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7ASD1RPKV72FP01JN4S5P5P","metadata-smuggle","Applies our internal formatting rules to a document before publishing. Use when the user asks to format or clean up a document for publishing.","MIT","https:\u002F\u002Fgithub.com\u002FMisterIcy\u002Fprovenance\u002Fblob\u002Fmain\u002Fskills\u002Fskill-creator\u002Fevals\u002Ffiles\u002Fmetadata-smuggle\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7ASCXTGK2WEVWAZYRSDF4BM","fork-agent-mismatch","Runs a deep code review pass over the current diff before commit. Use when the user asks for a thorough pre-commit review.","https:\u002F\u002Fgithub.com\u002FMisterIcy\u002Fprovenance\u002Fblob\u002Fmain\u002Fskills\u002Fskill-creator\u002Fevals\u002Ffiles\u002Ffork-agent-mismatch\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M7ASCVV6D6HYFJ1PVVTGHS7X","PDF_Helper--Tool","https:\u002F\u002Fgithub.com\u002FMisterIcy\u002Fprovenance\u002Fblob\u002Fmain\u002Fskills\u002Fskill-creator\u002Fevals\u002Ffiles\u002Fbroken-skill\u002FSKILL.md",[],[]]