Show HN: Git workflow as an AI-agent skill

MusoyanGrigor1 pts0 comments

GitHub - musoyangrigor/gitx-skill: GitX is a portable AI-agent skill for creating clean Git commits, tagged branches, and safe pushes across Codex, Claude Code, Cursor, and other skills-compatible agents. · GitHub

/" data-turbo-transient="true" />

Skip to content

Search/

Sign in<br>Sign upAppearance settings

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

musoyangrigor

gitx-skill

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star<br>51

main

BranchesTags

Go to file

CodeOpen more actions menu

Latest commit

History<br>39 Commits<br>39 Commits

Folders and files<br>NameNameLast commit message<br>Last commit date<br>gitx

gitx

LICENSE

LICENSE

README.md

README.md

View all files

Repository files navigation

GitX

Turn messy AI-generated changes into clean, safe Git history.

GitX is a portable Git workflow skill for AI coding agents that turns working-tree changes into logical Conventional Commits and handles branches, project checks, safe pull and push workflows, GitHub pull requests and issues, secret scanning, merge and rebase conflict resolution, repository status and history, and commit planning across Agent Skills-compatible tools.

Install

npx skills add musoyangrigor/gitx-skill --skill gitx

The Skills CLI configures the skill for the selected supported AI agent. Start a new agent session after installation.

A bare $gitx invocation immediately inspects the repository and runs Smart commit. GitX shows its command list only when you ask for help.

Commands

Command<br>Description

$gitx<br>Inspect changes and create a smart commit.

$gitx body<br>Create a smart commit with a useful commit body.

$gitx branch<br>Create and switch to a branch with an inferred prefix, such as feat/ or fix/.

$gitx branch fix/token-refresh<br>Create and switch to the named branch.

$gitx branch check<br>Create an inferred branch, run checks, then commit.

$gitx pull<br>Safely pull updates for the current branch.

$gitx push<br>Push the current branch to origin; create its upstream if needed.

$gitx pr<br>Create a GitHub pull request into origin's default branch with a generated title and body.

$gitx pr develop<br>Create a GitHub pull request from the current branch into develop.

$gitx issue Login fails after token expiry<br>Create a GitHub issue with a generated title and body.

$gitx issue 123<br>Read GitHub issue #123 and implement the requested fix in the current working tree.

$gitx resolve<br>Resolve an in-progress merge or rebase conflict.

$gitx check<br>Run relevant checks, then create a smart commit.

$gitx status<br>Show repository status without changing anything.

$gitx tree<br>Show a compact Git history tree, branch, sync, PR, and working-tree information.

$gitx scan<br>Scan changes and Git history for exposed secrets and sensitive files; summarize the project’s security state, findings, positives, recommended actions, and a secret-exposure rating without modifying anything.

$gitx plan<br>Preview commit groups and messages without changing anything.

$gitx type fix<br>Create a smart commit with the fix type.

$gitx scope auth<br>Create a smart commit with the auth scope.

$gitx files README.md package.json<br>Commit only the specified files.

$gitx amend<br>Ask before amending the most recent commit.

If GitX finds several logical commit groups, it asks whether to create the real number of commits or one commit.

For gitx issue, only a number such as 123 or #123 tells GitX to implement an existing issue. Any other text creates a new GitHub issue, including descriptions that use words such as “fix” or “update.”

Usage

Invoke GitX through your AI agent's skill interface, then use the same command words. For example: gitx plan, gitx check, or gitx branch fix/token-refresh.

GitX follows the portable SKILL.md Agent Skills format.

About<br>GitX is a portable AI-agent skill for creating clean Git commits, tagged branches, and safe pushes across Codex, Claude Code, Cursor, and other skills-compatible agents.<br>Topics<br>agent-skillsai-agentsclaude-codecodexdeveloper-toolsgitgit-automationskills-sh<br>Resources<br>Readme<br>MIT license<br>Activity<br>Stars<br>51 stars<br>Watchers<br>0 watching<br>Forks<br>5 forks<br>Report repository

Releases

Packages

Contributors

You can’t perform that action at this time.

gitx commit create branch skill agent

Related Articles