Expand README "For external consumers" with how to pin a plugin at <plugin>-v<x.y.z> using apm's object form, why the shorthand form fails on this host, and that Renovate updates are planned but untested (ADR-0033 consequence 3). Point the ref: line in the bin, core, git and kyberforge READMEs at that section. Refs #235, #236 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
44 lines
2.0 KiB
Markdown
44 lines
2.0 KiB
Markdown
# 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
|
|
|
|
apm is the only supported install path (ADR-0024). Declare this package in the consuming project's `apm.yml`:
|
|
|
|
```yaml
|
|
dependencies:
|
|
apm:
|
|
- git: https://git.rkdr.net/Mortis/Holocron.git
|
|
path: plugins/git
|
|
```
|
|
|
|
Then:
|
|
|
|
```bash
|
|
apm install
|
|
```
|
|
|
|
The entry above is unpinned and tracks the remote's default branch. To pin a release, add `ref: git-v<x.y.z>` after `path:`; see [Pinning a plugin to a release](../../README.md#pinning-a-plugin-to-a-release). Registering the catalogue instead (`apm marketplace add https://git.rkdr.net/Mortis/Holocron.git --name holocron`) gets you the `git@holocron` short name, but writes to `~/.apm/marketplaces.json` at user scope; the git+path object needs nothing beyond the manifest.
|
|
|
|
**Native plugin installs do not work.** This package ships no per-plugin manifest and no flat content directories, so a host that installs it natively gets zero skills and zero agents — and Claude Code raises no error while doing it (ADR-0024).
|
|
|
|
## Conventions
|
|
|
|
Skills here run local git commands through the org's `rtk` wrapper. **When a command is prefixed, when it stays bare, and why some executable commands must stay bare are all decided by ADR-0023** (`docs/adr/0023-rtk-prefix-marks-executable-commands-only.md`), which is repo-wide and not specific to this plugin. `check-rtk-prefix` enforces the part of it that is machine-decidable.
|
|
|
|
Installing this plugin without `rtk`? Every prefixed command is a plain `git` invocation with a word in front of it — drop the `rtk ` and it is correct.
|
|
|
|
## Contents
|
|
|
|
| Component | Path | Description |
|
|
|---|---|---|
|
|
| Skills | `.apm/skills/` | `git-commits`, `git-branches`, `git-history`, `git-remotes`, `git-submodules`, `git-workflow`, `git-worktrees`, `pc-author`, `pc-run` |
|
|
| Agents | `.apm/agents/` | `git-orchestrate` |
|
|
|
|
`.apm/` is the authoring source and the only thing apm deploys (ADR-0024).
|
|
|
|
## Author
|
|
|
|
Defame1297
|