git
Capabilities
Hardened git CLI affordances so Agents can:
| Operation | Use |
|---|---|
clone | Materialize repos into workspace sandboxes |
pull / fetch | Sync remotes |
diff | Inspect working changes |
blame | Attribute lines to commits |
log | History navigation |
show | Inspect a specific commit |
checkout | Jump to branches or SHAs |
vs. SCM integration skills
| Skill | Responsibility |
|---|---|
| git | Local repo mechanics (vendor-agnostic) |
| gerrit/github/gitlab/gitee-integration | Remote APIs—PR/MR metadata, scoring, threads |
Typical chaining:
Safety rails
| Guard | Detail |
|---|---|
| Workspace sandbox | No host filesystem bleed |
| Read-first | No push / commit / hard resets without explicit grants |
| Credential isolation | Secrets injected via credential adapters, not checked in |
Invocation
Examples:
- "Check out the branch behind this PR"
- "Who last touched src/main.cpp?"
- "Diff main vs feature/x"