git-skills

Automate Git operations for .gitignore, grouped commits, and remote sync.

1|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/haowang020110/my_codex_skills --skill git-skills
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-skills
Source: https://github.com/haowang020110/my_codex_skills/tree/main/git-skills
Command: npx skills add https://github.com/haowang020110/my_codex_skills --skill git-skills

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines common Git operations, providing guidance and safety checks for ignoring files, organizing commits, and syncing with remote repositories.

Core Features & Use Cases

  • Ignore Files: Automatically add rules to .gitignore and remove already tracked files from Git's index.
  • Group Commits: Analyze changes, infer commit intent and scope, and propose well-formatted commit messages according to conventions.
  • Sync Remotes: Safely pull and push code to remote repositories with confirmation steps.
  • Use Case: When you need to stop tracking a large build output folder, organize a messy staging area into logical commits, or ensure a clean push to your main branch.

Quick Start

Use the git skill to ignore the 'logs/' directory and its contents.

Frequently Asked Questions about git-skills

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

FAQPage Schema
How do I stop tracking files in Git without deleting them locally?

To stop tracking files, you add rules to your .gitignore file and remove the already tracked files from Git's index. This keeps the files in your local working directory while excluding them from future version control operations.

How do I organize a messy staging area into logical Git commits?

You can organize a messy staging area by analyzing your changes and grouping them into logical commits. This approach infers the commit intent and scope to propose well-formatted commit messages based on Conventional Commits standards.

How do I generate Conventional Commits messages for my version control changes?

Generating Conventional Commits messages involves analyzing your staged changes to infer the commit intent and scope. This process automatically proposes well-formatted commit messages that align with standard version control conventions.

What is the safest way to sync local Git commits with a remote repository?

The safest way to sync local commits with a remote repository involves using operations with built-in safety checks and confirmation steps. This ensures secure pulling and pushing of code to prevent accidental overwrites or conflicts.

Can I automatically add a build output folder to .gitignore?

Yes, you can automatically add a build output folder to .gitignore. This action appends the directory pattern to the ignore file and removes the already tracked files from Git's index to keep your repository clean.