commit-push-hd

Automate commit and push workflows with compliant branch creation.

1|1|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/kangmomin/harness-plugins --skill commit-push-hd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-push-hd
Source: https://github.com/kangmomin/harness-plugins/tree/main/plugins/hyeondongs-harness/skills/commit-push-hd
Command: npx skills add https://github.com/kangmomin/harness-plugins --skill commit-push-hd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the end-to-end workflow of pushing commits to a remote repository while ensuring a compliant branch exists, creating one if missing or nonconforming to naming conventions.

Core Features & Use Cases

  • Branch verification and automatic creation when the current branch is a protected branch or does not match naming conventions (feat/, hotfix/).
  • Branch naming validation and guidance, including automatic re-naming or creation as needed before push.
  • Step-by-step execution of commit and push, with pre-push decision logic for protected branches and failure handling in case of conflicts or push errors.

Quick Start

Commit your changes locally and push to the remote; the workflow will automatically create a valid branch if required.

Frequently Asked Questions about commit-push-hd

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

FAQPage Schema
How do I automatically create a missing Git branch before pushing commits?

To automatically create a missing Git branch before pushing commits, this workflow detects when your current branch is missing or noncompliant and prompts you to create a validly named branch, then proceeds with the commit and push steps.

What Git branch naming conventions are enforced for feature and hotfix workflows?

Git branch naming conventions enforced for feature and hotfix workflows require prefixes like feat/* for standard features and hotfix/* for maintenance, ensuring your branches follow these rules before allowing a push.

How does pushing commits to a protected branch work with pre-push checks?

Pushing commits to a protected branch triggers pre-push decision logic that validates branch naming and prompts for branch creation or re-naming as needed, guiding the push step while handling any conflicts or push errors.

What happens if my current branch does not match Git naming conventions?

If your current branch does not match Git naming conventions, the workflow applies branch naming validation and guidance, automatically re-naming or creating a compliant branch like feat/* or hotfix/* before executing the push.

Can I use this workflow for both standard feature and maintenance Git branches?

Yes, you can use this workflow for both standard feature and maintenance Git branches, as it handles branch types like feat/* and hotfix/*, enforcing naming rules and guiding the commit and push steps for each.

How do I handle push errors and conflicts when pushing commits to a remote repository?

To handle push errors and conflicts when pushing commits to a remote repository, this workflow includes failure handling that guides you through step-by-step commit and push execution, managing issues during the process.