Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
Christopher Boone avatar

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-plugins

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
repo stars2
Last updatedJuly 24, 2026
Repositorycboone/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 create with a long body: the skill directs to the tmpfile + --body-file pattern
  • 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

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.