# 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:** ```bash claude plugin marketplace add / claude plugin install git@ ``` **GitHub Copilot CLI:** ```bash copilot plugin marketplace add / copilot plugin install git ``` **Local (development):** ```bash # 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 ` 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 `. - **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