From progress-tracker
This skill should be used when the user asks to "create a git commit", "commit changes", "commit and push", "make a commit", "handle git", "git auto", "git auto start", "git auto done", or "git auto fix", or needs git operations automated with branch/PR/merge decisions.
npx claudepluginhub siuninyue/siunin-plugins --plugin progress-trackerThis skill uses the workspace's default tool permissions.
Policy-first Git automation for branch, worktree, commit, push, PR, and merge decisions.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Policy-first Git automation for branch, worktree, commit, push, PR, and merge decisions.
Keep command names unchanged:
git autogit auto start <feature-name>git auto donegit auto fix <bug-description>MUST, MUST NOT, SHOULD, and MAY are normative.
Output MUST use English OR Chinese ONLY. DO NOT use Korean or any other language:
Examples of CORRECT output:
Escalation Reason: 单独项目,14天内无 sync risk 事件Worktree Decision Reason: MAY rule — 重复使用 feature branch,无冲突信号Change Size: ~154 insertions, ~12,579 deletions (主要是旧文档归档移动)Examples of INCORRECT output (DO NOT DO THIS):
Escalation Reason: 단독 프로젝트, 14일간 sync risk event 없음 ❌Worktree Decision Reason: MAY rule — 기존 feature branch 반복, 충돌 신호 없음 ❌Classify exactly one intent:
commit_onlycommit_and_pushcommit_push_prcommit_push_pr_mergeEvery plan MUST print:
Execution Intent: <commit_only|commit_and_push|commit_push_pr|commit_push_pr_merge>Intent rules:
commit_push_pr_merge.Execution Intent=commit_push_pr or commit_push_pr_merge,
create ready-for-review PR (not draft) since these indicate completion/ship intent.Always run this command before branch strategy/workspace decisions:
plugins/progress-tracker/prog git-auto-preflight --json
The preflight result is the only source for:
statusworkspace_modebranchissuesdecisionreason_codesdefault_branchDecision mapping:
DELEGATE_GIT_AUTO: handle blockers first (detached head, operations in progress, divergence, branch checked out elsewhere).REQUIRE_WORKTREE: call using-git-worktrees before branch/commit flow.ALLOW_IN_PLACE: continue without workspace switch.Every plan MUST print:
Workspace Mode: <in-place|worktree>Worktree Decision Reason: <reason_codes>After preflight:
docs_only|ci_only|docs_ci_small|mixed|code|unknown).standard-prfast-prdirect-main-exceptionEvery plan MUST print:
Enforcement Mode: <soft|hybrid|hard>Escalation Reason: <metric-driven reason>Repo Policy: <classification>Repo Policy Evidence: <source>Change Class: <class>Changed Files: <count>Change Size: <summary>Branch Strategy: <standard-pr|fast-pr|direct-main-exception>Strategy Reason: <why selected>Workspace Mode=worktree, call using-git-worktrees first.direct-main-exception, verify policy and mode allow it.GH006, preserve local commits and switch to branch + PR fallback.Execution Intent=commit_push_pr or commit_push_pr_merge: create ready-for-review PRExecution Intent=commit_push_pr_merge and all merge gates pass.git-auto MAY run a post-push PR maintenance lane when users ask to address review comments and/or fix CI.
Core rules (details in references/pr-maintenance.md):
gh auth status before any gh operations.address-comments, fix-ci, address-comments+fix-ci.commit_push_pr_merge when required checks are failing.When intent includes push/PR and low-risk conditions are satisfied, autorun MAY execute without extra confirmation.
When used, output MUST include:
Execution Mode: autorunAutorun Reason: <qualification>Autorun Scope: <through push|through push + draft-pr|through push + ready-pr>## Plan
Execution Intent: ...
Enforcement Mode: ...
Escalation Reason: ...
Repo Policy: ...
Repo Policy Evidence: ...
Workspace Mode: ...
Worktree Decision Reason: ...
Change Class: ...
Changed Files: ...
Change Size: ...
Branch Strategy: ...
Strategy Reason: ...
1. ...
2. ...
3. ...
Optional lines when PR maintenance is active:
PR Maintenance: <none|address-comments|fix-ci|address-comments+fix-ci>PR URL: <url|n/a>CI Status: <green|failing|unknown|external-checks>Comment Status: <none|pending|resolved|unknown>references/enforcement-modes.mdreferences/repo-policy-probe.mdreferences/change-classification.mdreferences/worktree-decision.mdreferences/closeout-and-recovery.mdreferences/pr-maintenance.mdAfter completing all git operations, output the following result block verbatim. This block is machine-parsed by /prog done.
=== Git Auto Result ===
CommitHash: <full_40_char_sha>
PR: <url|draft_url|none>
Status: <ok|blocked>
BlockReason: <reason>
=== End Result ===
Rules:
Status: ok → CommitHash MUST be the real 40-character SHA (never none or a placeholder).Status: blocked → CommitHash MAY be none; BlockReason MUST describe why.BlockReason line is only output when Status: blocked.PR is none when no PR was created/updated./prog done only parses content between === Git Auto Result === and === End Result ===.Status: ok + real CommitHash.The Plan Template (pre-execution output) remains unchanged and does NOT include CommitHash, PR, or Status fields. Those appear only in the Execution Result Block.