git-ops

Inspect Git repo state and stage non-destructive changes with safety guards.

1|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/JakkuSakura/skills --skill git-ops-jakkusakura
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-ops
Source: https://github.com/JakkuSakura/skills/tree/main/git-ops
Command: npx skills add https://github.com/JakkuSakura/skills --skill git-ops-jakkusakura

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Safely manage Git operations for local repositories and GitHub workflows, helping you inspect state, craft commits, and manage branches with safety constraints.

Core Features & Use Cases

  • Inspect repo state using non-destructive commands like git status -sb and git diff to understand changes.
  • Choose the safest path with non-destructive operations, staged changes, and explicit user intent for history-rewriting.
  • Create commits following Conventional Commits when patterns exist, and provide guarded guidance for rebase/merge strategies.
  • Interact with GitHub via gh CLI for collaboration, pull requests, and workflow status checks.
  • Enforce Destructive-Operation Gate and provide safer alternatives to irreversible operations.

Quick Start

Inspect the current repository state and generate a safe, conventional-commits-based plan for upcoming commits.

Frequently Asked Questions about git-ops

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

FAQPage Schema
How do I inspect my Git repository state before making commits?

Inspect your Git repository state using non-destructive commands like git status -sb and git diff to understand current changes before applying targeted staging for safer operations.

What is the safest way to rewrite Git history with rebase?

The safest way to rewrite Git history with rebase is through explicit user intent. This approach enforces a Destructive-Operation Gate and provides safer alternatives to irreversible commands.

How do I create Git commits using Conventional Commits patterns?

Create Git commits following Conventional Commits patterns automatically when existing patterns are detected, ensuring structured version-control messaging and safer repository management.

Can I manage GitHub pull requests and workflow status checks via gh CLI?

Yes, you can manage GitHub pull requests and workflow status checks via gh CLI. This guides GitHub interactions across common collaboration scenarios while respecting safety constraints.

How do I avoid destructive Git commands when managing local branches?

Avoid destructive Git commands by applying non-destructive operations and staged changes. This approach enforces a Destructive-Operation Gate to prevent irreversible actions on local branches.

What are the limitations of using non-destructive Git operations for version control?

Non-destructive Git operations require explicit user intent for history-rewriting actions like rebase or merge. While safer, they may need manual confirmation for complex version-control workflows.