git

Standardize Git commits and GitHub workflows using the gh CLI.

40|12|Updated Oct 17, 2011
One-click install
npx skills add https://github.com/lanej/dotfiles --skill git-lanej
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git
Source: https://github.com/lanej/dotfiles/tree/main/claude/skills/git
Command: npx skills add https://github.com/lanej/dotfiles --skill git-lanej

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git-cli, github-cli.

What problem does it solve?

This Skill streamlines your Git version control and GitHub workflows, eliminating manual steps and ensuring best practices. It helps you manage commits, branches, pull requests, and code reviews efficiently, reducing complexity and saving time in collaborative development.

Core Features & Use Cases

  • Comprehensive Git Operations: Perform all essential Git tasks, including repository setup, branch management, viewing history, undoing changes, and managing remotes.
  • GitHub CLI Integration: Create and manage pull requests, issues, releases, and repositories directly from your terminal using the gh CLI.
  • Professional Commit Practices: Emphasizes using a commit message writer agent to generate clear, descriptive, and convention-compliant commit messages, without AI attribution.
  • Use Case: Develop a new feature on a dedicated branch, commit changes with a professionally drafted message, push to GitHub, create a pull request, and then merge it after review, all from the command line.

Quick Start

Create a new feature branch named 'feature/new-thing', make some changes, stage them, and then use the commit message writer agent to commit.

Frequently Asked Questions about git

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

FAQPage Schema
How do I write consistent commit messages across my team?

Commit messages establish project history clarity. This Skill uses a commit message writer agent to generate standardized, descriptive messages that follow conventions without AI attribution, ensuring all team commits maintain consistent format and professionalism across your repository.

How do I manage branches and pull requests from the command line?

The gh CLI lets you create branches, manage pull requests, and handle code reviews entirely from your terminal. This Skill covers the full workflow: branching, committing, pushing, creating PRs, and merging—all from the command line without switching to GitHub's web interface.

What's the best way to undo changes in Git?

Git provides multiple undo mechanisms for different scenarios. This Skill covers history inspection, reverting commits, stashing changes, and other recovery operations so you can safely correct mistakes at any stage of development without losing work.

Can I automate GitHub workflows with Git commands?

Yes. This Skill integrates Git with the gh CLI to automate repository setup, pull request creation, issue management, and releases directly from the terminal, eliminating manual steps and standardizing your GitHub operations across your development workflow.

Do I need to learn the GitHub web interface to manage repositories?

No. This Skill emphasizes using the gh CLI for all GitHub operations—creating repos, managing PRs, handling releases, and reviewing code—all documented with conventions and commands you can run from your terminal.

How do I set up Git and GitHub for a collaborative software project?

Repository setup, remote management, and centralized commit practices form the foundation. This Skill covers initializing repos, configuring remotes, establishing branch strategies, and enforcing professional commit discipline to enable efficient team collaboration.