git

Enforce consistent Git commit types, branch hygiene, and safety rules.

23|3|Updated Jun 28, 2022
One-click install
npx skills add https://github.com/Esposter/Esposter --skill git-esposter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git
Source: https://github.com/Esposter/Esposter/tree/main/.agents/skills/git
Command: npx skills add https://github.com/Esposter/Esposter --skill git-esposter

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Esposter Git conventions help teams maintain consistent commit messaging, safe branching practices, and robust workflow hygiene to prevent unsafe operations and messy history.

Core Features & Use Cases

  • Conforms to conventional commit-like types (feat, fix, refactor, docs, test, chore, perf, ci) to keep a readable project history.
  • Enforces branch hygiene rules (create feature branches from develop, target develop for PRs, delete branches after merge) to streamline reviews and releases.
  • Provides safety guidance around risky Git operations (avoid stash misuse, prefer WIP commits or git show HEAD:path/to/file for inspection) to prevent data loss.

Quick Start

Apply standardized commit messages, maintain branch hygiene, and follow safety rules across your Git workflow.

Frequently Asked Questions about git

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

FAQPage Schema
How do I standardize commit messages for my Git workflow?

Standardize commit messages by applying conventional commit-like types such as feat, fix, refactor, docs, test, chore, perf, and ci. This keeps your project history readable and consistent across development teams.

What is the best way to manage Git branches for safer collaboration?

The best way to manage Git branches is to enforce branch hygiene rules: create feature branches from develop, target develop for pull requests, and delete branches immediately after merging to streamline reviews and releases.

How do I prevent data loss when performing risky Git operations?

Prevent data loss during risky Git operations by avoiding stash misuse and preferring WIP commits or git show HEAD:path/to/file for inspection. These safety rules ensure robust workflow hygiene and prevent unsafe operations.

Why does my Git history get messy and how can I fix it?

Git history gets messy due to inconsistent commit messaging and unsafe branching practices. You can fix it by specifying commit message types, enforcing branch hygiene, and following strict safety rules across your Git workflow.

Can I use these Git conventions for code reviews across multiple projects?

Yes, these Git conventions apply to common source-control tasks across development teams and projects. They guide operations and reviews by specifying commit types, safety rules, and branch hygiene requirements for consistent collaboration.

When should I not use git stash in my version control workflow?

You should avoid git stash misuse when you need to inspect or preserve changes safely. Instead, prefer WIP commits or use git show HEAD:path/to/file to inspect specific files, preventing potential data loss and maintaining clean history.