git-check

Report uncommitted changes and unpushed commits in a local git repository.

1|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/mattbobambrose/mattbobambrose-claude-skills --skill git-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-check
Source: https://github.com/mattbobambrose/mattbobambrose-claude-skills/tree/main/plugins/project-tools/skills/git-check
Command: npx skills add https://github.com/mattbobambrose/mattbobambrose-claude-skills --skill git-check

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill quickly identifies work in a local Git repository that is not yet committed or pushed, helping prevent accidental omissions before code review, CI runs, or releases.

Core Features & Use Cases

  • Repository audit: Lists staged, modified, and untracked files using git status --porcelain and groups results by status.
  • Push verification: Enumerates commits present locally but missing on the upstream with git log @{upstream}..HEAD and reports when no upstream is configured.
  • Use Case: Run this skill before opening a pull request or triggering CI to ensure nothing important is left uncommitted or unpushed.

Quick Start

Run the git-check skill to report uncommitted changes and unpushed commits in the current repository.

Frequently Asked Questions about git-check

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check for uncommitted changes in a local git repository?

To check for uncommitted changes in a local git repository, run an audit using git status --porcelain to detect and group staged, modified, and untracked files, preventing accidental omissions before pushes or code reviews.

How do I list local git commits that haven't been pushed upstream?

List local git commits not pushed upstream by running git log @{upstream}..HEAD to enumerate all commits present locally but missing on the remote branch, while also reporting when no upstream is configured.

What's the best way to audit a git workspace before triggering CI or opening a pull request?

The best way to audit a git workspace before triggering CI or opening a pull request is to scan for both uncommitted file changes and upstream-unpushed commits, ensuring your local state matches the remote and no work is omitted.

Does this git audit handle repositories with no upstream branch configured?

Yes, this git audit handles repositories with no upstream branch configured by detecting the missing upstream configuration during the push verification phase and explicitly reporting that no upstream is set up.

How do I find untracked files in my git project before a release?

Find untracked files in your git project before a release by executing git status --porcelain, which reliably identifies and categorizes untracked files alongside staged and modified ones for a complete workspace overview.