[operation] Git operation
Choose cm, cp, pr, merge, merge-pr, or stack. Omit it to open the operation chooser before any Git action.
/ak:git cm Quick Ref / Command
Marketing Kit
Beta only
/ak:git
Git operations through isolated git-manager workflows for commits, pushes, PRs, merges, merge-PR CI watches, and GitHub native stacked PRs.
Select Operation
Delegate Git Manager
Stage + Analyze
Security Check
Rule 01
Git operations run through git-manager for isolation and concise reporting.
Rule 02
Security scan happens before commit, and secrets stop the workflow.
Rule 03
Commit split follows type, scope, dependency/config boundaries, and unrelated-file count.
Rule 04
Stacked PR history rewrites and multi-PR merges are user-gated.
Rule 05
Report only what command output proves.
Core lanes from input to output, aligned with the command's real execution path.
Start
Input, scope, route
Work
Agent / skill execution
Verify
Gate, review, validation
How to invoke the skill: syntax, positional arguments, shared options, then each subcommand with its own syntax and outcome.
Syntax
/ak:git [cm|cp|pr|merge|merge-pr|stack] [args][operation] Git operation
Choose cm, cp, pr, merge, merge-pr, or stack. Omit it to open the operation chooser before any Git action.
/ak:git cm cm Commit /ak:git cm Stage the repository, inspect the staged diff, scan for possible secrets, split mixed work when needed, and create conventional commits.
Outcome: One or more commit hashes and messages; no push by default.
/ak:git cm cp Commit and push /ak:git cp Run the commit workflow, then push the current branch after the safety checks pass.
Outcome: Commit hashes, pushed branch, pushed commit, or a reported push rejection.
/ak:git cp pr Create pull request /ak:git pr [to-branch] [from-branch] Compare remote branches, push the source branch when needed, and create a GitHub pull request. Target defaults to main; source defaults to the current branch.
Outcome: Pull request URL with a remote comparison, title, summary, and test plan.
/ak:git pr main feature/auth-cleanup merge Merge branch /ak:git merge [to-branch] [from-branch] Update the target branch, merge the pushed remote source branch with a merge commit, and push the target branch.
Outcome: Source branch, target branch, merge commit, pushed target status, or reported conflicts.
/ak:git merge main feature/auth-cleanup merge-pr Merge pull request /ak:git merge-pr <pr-ref> Check that the GitHub PR is open, mergeable, not blocked by requested changes, and free of red CI before merging or enabling auto-merge.
Outcome: PR URL, merge method, merge SHA, watched target-branch CI result, and any follow-up fix status.
/ak:git merge-pr 42 stack Stacked pull requests /ak:git stack Drive GitHub native stacked pull requests through the gh stack extension; history-rewriting and multi-PR merge steps require explicit user approval.
Outcome: gh stack lifecycle state from init/add through submit, sync or rebase, and merge, with guarded rewrite or multi-PR steps reported.
/ak:git stack cm Commit
cp Commit + push
pr Pull request
merge Branch merge
merge-pr Merge PR + CI
stack Stacked PRs
Concrete invocations for each flag, subcommand, mode, or route available in the live workflow.
/ak:git /ak:git cm /ak:git cp /ak:git pr main feature/auth-cleanup /ak:git merge-pr 42 /ak:git stack /ak:git merge main feature/auth-cleanup Compact Git Status
Pattern
✓ staged / ✓ security / ✓ commit / ✓ pushed Documents staged file count and line delta, secret-scan result, commit hash and message, and push status.