Files
holocron/plugins/git/.apm/skills/git-remotes
Defame1297 ae791781c2 fix(git): restore router coverage and commands the retrofit dropped
git-workflow calls itself a router but named two of the six domains it routes to;
the other four appeared nowhere in the file. All six are now named, with a
routing table in the always-loaded body.

git-submodules lost the foreach shell-variable semantics -- only the bare names
survived, though $sm_path and $displaypath differ solely by which directory you
are in. The table is back. Its relocated commands had also dropped the rtk git
prefix its own SKILL.md mandates; 24 of them are re-prefixed. The wider rtk
inconsistency across the plugin stays with #113.

Also restores git-commits' body and footers output fields, git-branches' tag/
branch detection commands, git-worktrees' git config --worktree, pc-run's
ambiguity fallback, git-remotes' git-history boundary, and git-history's pickaxe
triggers.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EJJrm5YmacbwMdzZpXcoti
2026-08-31 19:46:35 +00:00
..

git-remotes

Manage git remote repositories — add/remove/configure remotes, push/pull with safety checks, fetch with pruning, and multi-remote workflows.

What it does

This skill handles remote operations within the git workflow suite. It manages remote configuration (add, remove, rename), fetch operations with pruning, push operations with force-push safety (--force-with-lease --force-if-includes), and pull strategies (fast-forward, rebase, merge). It returns structured results suitable for agent composition.

Usage

/git-remotes

Describe your remote operation: add a remote, push, pull, fetch, or configure tracking. The skill will handle the operation with appropriate safety checks and return results.

Files

File Purpose
SKILL.md Skill instructions for agents — force-push gate, dispatch table, return format
references/README.md Describes the references directory contents
references/remote-config.md Read when adding, removing, renaming, inspecting or re-pointing a remote, or configuring tracking, mirroring, or set-url
references/fetch.md Read when fetching or pruning remote-tracking refs, or doing a shallow or partial fetch
references/push.md Read when pushing branches or tags, writing refspecs, or force-pushing
references/pull.md Read when integrating remote changes into the current branch, including the divergence rule
references/sources.md Research sources and provenance

Composition

Callers that need submodule initialization after a --recurse-submodules pull hand off to git-submodules; local-only work (commits, branches, history) belongs to git-commits, git-branches, and git-history. The git-workflow skill routes humans here for any remote-touching request.