github-workflow

Automate Git branching, committing, PRs, issues, and code review workflows via gh CLI.

Updated May 27, 2026
One-click install
npx skills add https://github.com/hoanghn61/.agents --skill github-workflow-hoanghn61
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-workflow
Source: https://github.com/hoanghn61/.agents/tree/main/skills/github-workflow
Command: npx skills add https://github.com/hoanghn61/.agents --skill github-workflow-hoanghn61

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Git and GitHub workflows are easy to get wrong or forget steps in, causing delays in branching, committing, pushing, opening PRs, and keeping reviews/issue tracking consistent.

Core Features & Use Cases

  • Branching — Create conventional branches (feature/, bugfix/, docs/, etc.) from up-to-date main to keep work organized.
  • Committing & Guardrails — Stage specific files and write conventional commit messages with safety rules (no secrets, avoid unsafe commands).
  • Pull Requests, Issues & Code Review — Create PRs/issue reports and review PRs using the GitHub CLI with required linking patterns like Fixes #N.

Quick Start

Ask to run: /github-workflow when you want to commit changes, create or update a branch, open a PR, file an issue, or perform code review steps.

Frequently Asked Questions about github-workflow

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

FAQPage Schema
How do I automate GitHub pull requests and conventional commits?

Automating GitHub pull requests and conventional commits is handled by creating conventional branches, staging specific files, and writing commit messages with safety rules to prevent secrets and unsafe commands. It uses the authenticated gh CLI to open PRs and link issues.

What is the best way to link a pull request to a GitHub issue?

Linking a pull request to a GitHub issue requires using specific patterns like Fixes #N in the PR description. This workflow enforces linking PRs to issues during creation via the GitHub CLI to keep review and issue tracking consistent.

Can I use the gh CLI to manage git branching and code review?

Using the authenticated gh CLI to manage git branching and code review is fully supported. It creates conventional branches from an up-to-date main branch, publishes updates, opens PRs, and coordinates review and merge activities automatically.

Do I need git installed to run GitHub workflow automation?

Running GitHub workflow automation requires both git and the authenticated gh CLI to be installed. These dependencies are necessary for executing branching, committing, pushing, and pull request tasks while enforcing workflow conventions.

How do I prevent force-pushing to protected branches during git workflows?

Preventing force-pushing to protected branches during git workflows is enforced automatically by the system's safety guardrails. It enforces workflow conventions and avoids unsafe actions such as force-pushing to protected branches during commits and pushes.

Why should I use conventional branches in my git workflow?

Using conventional branches in your git workflow keeps work organized by separating feature, bugfix, and docs changes. It creates branches like feature/ or bugfix/ from an up-to-date main branch to maintain repository consistency.