Git github

From X-School-Academy/skill-pilot · View interactive version

Git github is an AI agent skill from the GitHub repository X-School-Academy/skill-pilot. Handle Git and GitHub work including commits, conventional commit message drafting, partial file or folder merges, and squash merges, Github Actions CI/CD with AWS.

How to use this skill

Skill file

AI Builder - Git and GitHub

Manage Git and GitHub source-control tasks with clean history, explicit scope, and verification.

When to Use This Skill

Your Roles in This Skill

Role Communication

As an expert in your assigned roles, you must announce your actions before performing them using the following format:

As a {Role, and Role-XYZ if have more roles}, I will {action description}

This communication pattern ensures transparency and allows for human-in-the-loop oversight at key decision points.

Instructions

Follow these steps in order.

Step 1: Identify the Git task

AWS CLI: Any AWS CLI command in this skill or its references must be run via the aws-api skill — never as a raw shell command.

Step 2: Check repository state

Before changing Git state, inspect the current branch, working tree, staged changes, and relevant remote/branch information. Preserve unrelated user changes.

Step 3: Confirm approval-sensitive actions

Ask before committing, pushing, deleting branches, rewriting history, or making broad merge changes unless the user explicitly authorized that action.

Step 4: Execute and verify

Run the selected Git operation, inspect the resulting status or diff, and report the outcome with the files or commits affected.

Expected Output

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.