git-workflow

Automate Git staging, committing, pushing, PR creation, and merging with secret scanning.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/pikakit/agent-skills --skill git-workflow-pikakit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-workflow
Source: https://github.com/pikakit/agent-skills/tree/main/.agent/skills/git-workflow
Command: npx skills add https://github.com/pikakit/agent-skills --skill git-workflow-pikakit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AI-driven Git operations often lead to insecure commits, inconsistent messages, and manual errors during staging, committing, and pushing.

Core Features & Use Cases

  • Enforce conventional commit messages with scope
  • Mandatory secret scanning before commit to block leaks
  • Auto-split long or mixed changes into multiple commits
  • PR creation and push recovery to maintain history integrity
  • Works across local repos and team workflows

Quick Start

Use this skill to perform a secure git workflow: stage changes, commit with a conventional message, scan for secrets, and push to the remote after checks.

Frequently Asked Questions about git-workflow

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

FAQPage Schema
How do I automate git commits with conventional commit messages and secret scanning?

You can automate git commits with conventional messages and secret scanning by using a workflow tool that enforces these checks before every staging and pushing action. This blocks credential leaks and keeps history consistent.

Do I need gh CLI installed to automate pull request creation in my git workflow?

Yes, gh CLI is required to automate pull request creation and push recovery within this git workflow. The tool relies on gh CLI to manage PRs and maintain branch history integrity during remote operations.

What is the best way to split mixed changes into multiple conventional commits?

The best way to split mixed changes into multiple commits is to use an automated git workflow that applies split rules. It separates long or mixed staged changes into distinct commits with proper conventional types and scopes.

How does rebase-on-push recovery work when remote git pushes fail?

Rebase-on-push recovery resolves failed remote pushes by automatically rebasing your local commits onto the latest remote branch. This git workflow mechanism prevents force pushes and maintains linear history.

Can I enforce conventional commit types and scopes across my local repositories?

Yes, you can enforce conventional commit types and scopes across local repositories by integrating an automated git workflow. It validates commit messages and applies consistent formatting rules for local and team operations.