git-cli-agentic
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Git CLI Agentic Patterns
When to Use This Skill
| Use this skill when... | Use the alternative when... |
|---|---|
Writing scriptable git status/diff/log calls in porcelain or --format mode |
Use gh-cli-agentic for gh JSON queries against the GitHub API |
Needing --porcelain=v2 status, --numstat diff counts, or custom --format log placeholders |
Use git-commit-workflow for staging conventions and commit message structure |
| Reading branch tracking info or main-branch-development push patterns | Use git-branch-pr-workflow for the broader branch + PR design choices |
| Producing deterministic output for parsers and downstream tooling | Use git-derive-docs to mine commit history for rules/PRDs/ADRs/PRPs |
Optimized git commands for AI agent consumption using porcelain output and stable formats.
Core Principle
Use --porcelain for machine-readable output that remains stable across Git versions and user configurations.