Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Git Cli Inspect Commit Sync

ASecurity

Helper for using the Git CLI to inspect, stage, commit, branch, and synchronize code changes. Use when the user wants to understand or perform Git operations from the command line, including safe status checks, diffs, branching, stashing, and syncing with remotes.

19 stars
0 votes
0 copies
1 views
Added 9/19/2026
ai-agentsgobashgit

Works with

cli

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add rondoflow/rondoflow --skill git-cli-inspect-commit-sync --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Git Cli Inspect Commit Sync?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Git Cli Inspect Commit Sync
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rondoflow-git-cli-inspect-commit-sync/badge)](https://www.skillsdirectory.com/skills/rondoflow-git-cli-inspect-commit-sync)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: git-cli-inspect-commit-sync
description: "Helper for using the Git CLI to inspect, stage, commit, branch, and synchronize code changes. Use when the user wants to understand or perform Git operations from the command line, including safe status checks, diffs, branching, stashing, and syncing with remotes."
category: "Integrations"
author: community
version: "1.0.1"
icon: plug
---

# Git CLI Skill — How to Work

Use this skill when the user asks about **Git from the command line**: what changed, staging/committing, branching, push/pull, stashing, history, tags, merge/rebase, or cloning.

## Your Workflow

1. **Confirm context**: Ensure Git is on PATH and the user is in (or will run commands in) a repo. If unsure, suggest `git status` or run `scripts/is-repo.sh` from the skill directory.
2. **Safety first**: Prefer read-only commands (`git status`, `git diff`, `git log`). Do not suggest destructive commands (`git reset --hard`, `git clean -fdx`, `git push --force`) unless the user explicitly asks and understands the risk. For recovery, use `git reflog` to find a commit before suggesting reset/checkout.
3. **Give the right level of detail**:
   - **Quick answer**: Use the Quick Reference table below and reply with the exact command(s).
   - **Step-by-step or edge cases**: Point to or quote from [reference/](reference/) (e.g. [reference/workflows.md](reference/workflows.md), [reference/troubleshooting.md](reference/troubleshooting.md)).
   - **Automation / repeatable checks**: Use or adapt scripts in [scripts/](scripts/) and tell the user how to run them.
   - **Templates** (commit message, .gitignore): Use or copy from [assets/](assets/).

## Quick Reference (use this first)

| Task | Command |
|------|--------|
| State & diff | `git status` · `git diff` · `git diff --staged` · `git diff --stat` |
| Stage / unstage | `git add <path>` or `git add .` · `git restore --staged <path>` |
| Commit | `git commit -m "message"` |
| Branch | `git branch` · `git branch -a` · `git switch -c new` · `git switch existing` |
| Sync remote | `git fetch` · `git pull` · `git push -u origin <branch>` then `git push` |
| Stash | `git stash` · `git stash list` · `git stash apply` / `git stash pop` |
| History | `git log --oneline --decorate --graph -n 20` · `git blame <file>` |
| Clone / init | `git clone <url>` · `git init` · `git remote add origin <url>` |
| Remotes | `git remote -v` · `git remote show origin` · `git branch -vv` |
| Discard (destructive) | `git restore <file>` (working tree) · `git restore --staged <file>` (unstage) |
| Amend | `git commit --amend --no-edit` or `-m "message"` |
| Tags | `git tag` · `git tag v1.0` · `git push origin v1.0` or `--tags` |
| Merge / rebase | `git merge <branch>` · `git rebase <branch>` · conflict → fix → `git add` → `git commit` or `git rebase --continue` |

## Where to Look

| Need | Location |
|------|----------|
| Full command list, options, examples | [reference/commands.md](reference/commands.md) |
| Step-by-step workflows (branch, release, conflict) | [reference/workflows.md](reference/workflows.md) |
| Errors, recovery, detached HEAD, .gitignore | [reference/troubleshooting.md](reference/troubleshooting.md) |
| Run checks (is repo, status summary, branch info) | [scripts/](scripts/) — run from repo root |
| Commit message or .gitignore template | [assets/](assets/) |

## Scripts (run from repository root)

- **scripts/is-repo.sh** — Exit 0 if current dir is a Git repo, else 1. Use to confirm context before suggesting commands.
- **scripts/status-summary.sh** — Short status + branch + last commit. Use when user asks "what’s my current state?"
- **scripts/branch-list.sh** — Local and remote branches with upstream. Use when user asks about branches or push target.

On Windows: run in Git Bash or WSL (e.g. `bash scripts/status-summary.sh`).

## Assets

- **assets/commit-msg-template.txt** — Template for conventional or structured commit messages; suggest when user asks for commit message format.
- **assets/gitignore-common.txt** — Common .gitignore patterns; suggest when user has many untracked files or asks for .gitignore examples.

When the user needs a diagram (e.g. branch/merge flow), describe it in text or point to reference; only create or reference images in assets/ if the user explicitly asks for a visual.

Attribution

rondoflowrondoflow
View sourceMore from rondoflow →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1066601 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

693161 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →