synthesis-repo-guard

Detect uncommitted and unpushed changes across git repositories in a workspace.

15|2|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/rajivpant/synthesis-skills --skill synthesis-repo-guard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: synthesis-repo-guard
Source: https://github.com/rajivpant/synthesis-skills/tree/main/synthesis-repo-guard
Command: npx skills add https://github.com/rajivpant/synthesis-skills --skill synthesis-repo-guard

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Session-end enforcement for git repositories across a workspace. AI coding tools often modify files without an enforced end-state; this skill detects uncommitted or unpushed changes, ensuring your work reaches GitHub.

Core Features & Use Cases

  • Detects uncommitted changes (modified, staged, untracked) across all repos in a workspace.
  • Reports ahead/behind status with origin for each repository and supports session-end hooks or scheduled checks.
  • Non-destructive, zero-dependency CLI that returns standard exit codes and can be integrated into CI/CD.

Quick Start

Run the script to scan your workspace and report any repositories with uncommitted changes or pending pushes.

Frequently Asked Questions about synthesis-repo-guard

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

FAQPage Schema
How do I detect uncommitted and unpushed git changes across multiple repositories?

To detect uncommitted and unpushed git changes across multiple repositories, use a workspace scanner that reports modified, staged, and untracked files per repo. This skill automates that process and provides ahead/behind status with origin.

What is a session-end hook for syncing git repositories?

A session-end hook for syncing git repositories is an automated check that runs when an AI coding tool finishes its task. It detects any uncommitted or unpushed changes left behind, ensuring your work reaches GitHub before the session closes.

Can I use a Python stdlib script to check git workspace status without external dependencies?

Yes, you can use a Python stdlib script to check git workspace status without external dependencies. This skill operates using only the Python standard library and the git CLI, functioning as a zero-dependency, non-destructive tool.

How do I integrate an unpushed changes check into my CI/CD workflow?

To integrate an unpushed changes check into your CI/CD workflow, use a CLI tool that returns standard exit codes based on repository sync status. This skill provides defined exit codes to fail pipelines when uncommitted or unpushed changes are detected.

What is the best way to prevent AI coding tools from leaving unsynced git repositories?

The best way to prevent AI coding tools from leaving unsynced git repositories is to enforce a session-end check. This skill acts as a guard, detecting uncommitted or unpushed changes left by AI modifications and reporting per-repo status counts.

Does a zero-dependency git sync check work for scheduled checks across multiple projects?

Yes, a zero-dependency git sync check works for scheduled checks across multiple projects. This skill can operate as a scheduled check, scanning your entire workspace to report uncommitted changes and pending pushes without requiring external packages.