git-ops

Execute secure Git operations and generate markdown commit summaries.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/joleques/northstar-ai --skill git-ops-joleques
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-ops
Source: https://github.com/joleques/northstar-ai/tree/main/.codex/skills/git-ops
Command: npx skills add https://github.com/joleques/northstar-ai --skill git-ops-joleques

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, sed, bash, and includes scripts (resource) components.

What problem does it solve?

This Skill standardizes and executes Git operations in a safe, repeatable way so users and agents avoid ad-hoc commands, inconsistent commit messages, and missing human-readable change summaries. It reduces risk by validating repositories, resolving the correct working directory, and gating destructive actions with confirmations.

Core Features & Use Cases

  • Safe Execution: Runs Git commands with directory resolution and validation, always using git -C to target the correct repository.
  • Standardized Commits: Prompts for commit messages and optional ticket IDs to produce consistent "{TICKET} - {MESSAGE}" commits.
  • Composite Shortcut: The enviar flow runs two bash scripts to stage changes, generate a markdown summary of diffs, commit, amend the summary with the commit hash, and push in two confirmations.
  • Use Cases: daily developer commits with automated changelogs, disciplined push workflows for teams, and quick rollbacks supported by structured summaries.

Quick Start

Run the git-ops skill to stage changes, generate a human-readable git-ops summary file, confirm the standardized commit message (optionally with a ticket), and push the update to the remote.

Frequently Asked Questions about git-ops

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

FAQPage Schema
How do I automate git commit messages and push changes safely?

To automate git commit messages and push safely, use a bash shell-script flow that stages changes, generates a markdown summary, and prompts for confirmations before executing destructive actions. This enforces consistent formatting and validates the repository state before pushing.

Can I generate human-readable summaries of git diffs automatically?

Yes, you can generate human-readable summaries of git diffs automatically by invoking a bash script that analyzes staged changes and writes a markdown summary file. This summary is then amended into the commit with the generated commit hash.

Do I need bash and sed installed to run automated git operations?

Yes, you need bash, sed, and git installed in your environment to run these automated git operations. The workflow executes provided bash scripts that rely on these underlying dependencies to resolve directories, format messages, and generate summaries.

What is the best way to enforce standardized commit messages with a ticket ID?

The best way to enforce standardized commit messages with a ticket ID is to use an automation flow that prompts for the ticket and message, then formats them into a consistent string. This prevents ad-hoc commands and ensures uniform commit history across a team.

How does a composite git workflow handle destructive actions like revert and rebase?

A composite git workflow handles destructive actions like revert and rebase by enforcing confirmation prompts before execution. It validates the repository state and resolves the correct working directory using git -C to ensure operations target the right local repository safely.

Why should I use shell scripts for local repo management instead of manual git commands?

You should use shell scripts for local repo management to avoid inconsistent commit messages and missing change summaries. Standardized scripts validate the repository, target the correct directory, and gate destructive actions, reducing the risk of human error associated with manual git commands.