/dev10x-coding:git-alias-setupfrom dev10x-coding
Configures git aliases that wrap $(git merge-base ...) subshells into stable command prefixes to reduce permission friction. Sets up nopager, nocolor, and per-base-branch comparison aliases (log, diff, rebase).
Ships in dev10x-coding. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Announce: "Using dev10x-coding:git-alias-setup to configure branch-comparison aliases."
Configures global git aliases that wrap $(git merge-base ...) subshells.
Without these aliases, commands like git log $(git merge-base develop HEAD)..HEAD
trigger extra permission prompts because the $() substitution shifts
the Bash command prefix.
This skill follows references/task-orchestration.md patterns.
Create a task at invocation, mark completed when done:
REQUIRED: Create a task at invocation. Execute at startup:
TaskCreate(subject="Configure git aliases", activeForm="Configuring aliases")Mark completed when done: TaskUpdate(taskId, status="completed")
Run the setup script:
${CLAUDE_PLUGIN_ROOT}/skills/git-alias-setup/scripts/git-alias-setup.sh
git nopager / git nocolor are the sanctioned non-paging / non-color
reads — use them instead of the git -c core.pager=cat <verb> and
git -c color.ui=never <verb> prefixes that DX007 blocks (the -c <kv>
prefix shifts the matched command string, GH-488 S19).
Each base branch gets three comparison aliases ({base}-log, {base}-diff,
{base}-rebase) plus a non-interactive autosquash alias (autosquash-{base}).
{base}-rebase is a grooming alias: it squashes fixup! commits back
to the merge-base, interactively (-i), against the local {base} ref.
It is not a rebase-onto-a-moved-base tool, and it is unusable unattended —
no editor is attached, and a stale local ref lets it print "Successfully
rebased" while HEAD never leaves stale ancestry (GH-964). Background agents
groom with the non-interactive rebase_groom MCP tool (or
autosquash-{base}, which resolves against origin/{base}), and catch up
with a moved base using git fetch origin then git rebase origin/{base},
asserting git merge-base --is-ancestor origin/{base} HEAD exits 0.
| Alias | Equivalent |
|---|---|
git nopager <verb> | git --no-pager <verb> (non-paging read; matches Bash(git nopager:*)) |
git nocolor <verb> | git -c color.ui=never <verb> (non-color read; matches Bash(git nocolor:*)) |
git develop-log | git log --oneline $(git merge-base develop HEAD)..HEAD |
git develop-diff | git diff $(git merge-base develop HEAD)..HEAD |
git develop-rebase | git rebase -i --autosquash $(git merge-base develop HEAD) |
git autosquash-develop | GIT_SEQUENCE_EDITOR=true git rebase -i --autosquash $(git merge-base origin/develop HEAD) |
git development-log | git log --oneline $(git merge-base development HEAD)..HEAD |
git development-diff | git diff $(git merge-base development HEAD)..HEAD |
git development-rebase | git rebase -i --autosquash $(git merge-base development HEAD) |
git autosquash-development | GIT_SEQUENCE_EDITOR=true git rebase -i --autosquash $(git merge-base origin/development HEAD) |
git trunk-log | git log --oneline $(git merge-base trunk HEAD)..HEAD |
git trunk-diff | git diff $(git merge-base trunk HEAD)..HEAD |
git trunk-rebase | git rebase -i --autosquash $(git merge-base trunk HEAD) |
git autosquash-trunk | GIT_SEQUENCE_EDITOR=true git rebase -i --autosquash $(git merge-base origin/trunk HEAD) |
git main-log | git log --oneline $(git merge-base main HEAD)..HEAD |
git main-diff | git diff $(git merge-base main HEAD)..HEAD |
git main-rebase | git rebase -i --autosquash $(git merge-base main HEAD) |
git autosquash-main | GIT_SEQUENCE_EDITOR=true git rebase -i --autosquash $(git merge-base origin/main HEAD) |
git master-log | git log --oneline $(git merge-base master HEAD)..HEAD |
git master-diff | git diff $(git merge-base master HEAD)..HEAD |
git master-rebase | git rebase -i --autosquash $(git merge-base master HEAD) |
git autosquash-master | GIT_SEQUENCE_EDITOR=true git rebase -i --autosquash $(git merge-base origin/master HEAD) |
The session start hook checks for these aliases automatically. If they are missing, it will suggest running this skill.
After setup, use git {base}-log instead of the full subshell form
in all git operations to avoid permission friction.
Aliases are set globally (--global) so they persist across all
repositories and sessions.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub dev10x-guru/dev10x-claude --plugin dev10x-coding40 skills in this plugin
/ci-reviewdev10x-coding:ci-reviewUse when a change to a Claude CI review prompt, args file, reviewer agent or CLI pin needs checking before it merges — so you read what the CI code review and PR hygiene check would post on a real PR, with nothing reaching GitHub unless you choose, after reading the report, to share it as one marked replica comment. TRIGGER when: "what would the CI review say", replaying the Claude CI review locally, verifying a review prompt or model change on a PR. DO NOT TRIGGER when: self-reviewing a branch with no PR (use dev10x-coding:review), or reviewing someone's PR and posting (use dev10x-coding:gh-pr-review).
/fanoutdev10x-coding:fanoutProcess multiple independent work items as a worktree-isolated swarm — each item runs the full dev10x-coding:work-on lifecycle inside its own background Agent with isolation="worktree" (under Herdr, its own Herdr workspace and agent). Honors dependencies, minimizes conflicts, auto-advances by default. TRIGGER when: 2+ independent work items need parallel processing (PRs, issues, tickets). DO NOT TRIGGER when: single task or sequential dependency chain (use dev10x-coding:work-on); already running as a swarm child (see recursive-fanout guard).