
Use Git
- 2 repo stars
- Updated July 24, 2026
- cboone/agent-harness-plugins
Git and GitHub CLI conventions for Claude Code — tmpfile patterns, HEREDOC commits, GPG signing, safe push, and avoiding permission prompts.
About
Use-git provides Git and GitHub CLI conventions for Claude Code, covering tmpfile patterns, HEREDOC commit messages, GPG signing, safe push practices, and avoiding permission prompts. It makes agent-driven git operations predictable and safe. Aimed at developers who let Claude Code run their git and gh commands.
- HEREDOC commits
- GPG signing
- Safe push practices
- Permission-prompt avoidance
Use Git by the numbers
- Data as of Jul 25, 2026 (Skillselion catalog sync)
/plugin marketplace add cboone/agent-harness-plugins/plugin install use-git@agent-harness-pluginsAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| repo stars | ★ 2 |
|---|---|
| Last updated | July 24, 2026 |
| Repository | cboone/agent-harness-plugins ↗ |
What it does
Git and GitHub CLI conventions for Claude Code — tmpfile patterns, HEREDOC commits, GPG signing, safe push, and avoiding permission prompts.
README.md
Use Git
Git and GitHub CLI conventions for Claude Code.
Type: Skill
Trigger: /use-git (also activates automatically)
Installation
See the marketplace install instructions.
What It Does
Provides conventions for running git and gh CLI commands in Claude Code. Covers when to use tmpfiles vs HEREDOCs for passing content, GPG signing, safe push practices, secret file exclusion, parallel tool call patterns, and clean diff output formatting.
The core problem: long string arguments in Bash commands (PR bodies, issue bodies, review replies) trigger Claude Code permission prompts. This skill standardizes the patterns that avoid those prompts while keeping operations safe.
Organized into a quick-reference decision table and deep-dive references by topic.
Usage
/use-git
The skill also activates automatically when Claude Code detects work involving git or gh CLI commands.
Examples
- Running
gh pr createwith a long body: the skill directs to the tmpfile +--body-filepattern - Committing changes: the skill provides the HEREDOC pattern with GPG signing
- Pushing code: the skill covers upstream fallback and safe push practices
- "review this git workflow": checks against the safety rules and conventions
See Also
- Commit: smart git commits with conventional commit messages
- PR: commit, push, and create a pull request in one step
- Create Issue: create GitHub issues using the tmpfile pattern
- All plugins