Files
holocron/plugins/git
Defame1297 af8b46cd57 chore(plugins): sync generated content mirrors
Regenerate plugins/*/skills/ from plugins/*/.apm/ after the previous
four commits, via scripts/sync-plugin-content.sh --all. The mirror is
generated output (ADR-0017) that check-plugin-content-sync's pre-push
hook diffs against .apm/; nothing here is hand-edited.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EeH8SCbcrCAQrtymkNuhKP
2026-09-07 20:43:51 +00:00
..

git

Skills and agents for working with a local Git clone over the git wire protocol, and for authoring and running the pre-commit hooks that guard it.

Install

Claude Code:

claude plugin marketplace add <owner>/<repo>
claude plugin install git@<marketplace-name>

GitHub Copilot CLI:

copilot plugin marketplace add <owner>/<repo>
copilot plugin install git

Local (development):

# Claude Code
claude --plugin-dir ./plugins/git

# GitHub Copilot CLI
copilot plugin install ./plugins/git

Conventions

Every skill in this plugin runs local git commands through the org's rtk wrapper, never bare git — see git-commits/SKILL.md's Gotchas and git-workflow/references/hard-rules.md. Issue #113 made that rule precise for skill prose, where a git <subcommand> mention can be either an instruction to execute or just a reference to the concept:

  • Executable, instructed commands — anything telling the agent to run a command right now (an imperative step, a dispatch-table "Run" cell, a fenced code-block procedure) — use rtk git. Example: rtk git push -u origin <branch>.
  • Illustrative or referential mentions — naming a flag's behavior, quoting a doc's own heading, describing what a command does in the abstract, or warning against an anti-pattern — stay bare git. Example: "git switch refuses rather than clobbering conflicting local edits."

This applies within this plugin's own skill files (git-*, pc-*) — it does not generalize to other plugins. The gitea-* skills, for instance, talk to a remote Gitea server through the gitea MCP tools and contain no git/rtk mentions at all; the distinction has nothing to hold onto there.

Contents

Component Path Description
Skills .apm/skills/ → skills/ git-commits, git-branches, git-history, git-remotes, git-submodules, git-workflow, git-worktrees, pc-author, pc-run
Agents .apm/agents/ → agents/ git-orchestrate

.apm/ is the authoring source; skills//agents/ are the generated mirrors plugin hosts scan (ADR-0017) — edit only under .apm/.

Author

Defame1297