git-hygiene

Guide git branch naming, atomic commits, and pull request preparation.

37|20|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/fieldsphere/cursor-team-marketplace-template --skill git-hygiene-fieldsphere
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-hygiene
Source: https://github.com/fieldsphere/cursor-team-marketplace-template/tree/main/plugins/cursor-starter-pack/skills/git-hygiene
Command: npx skills add https://github.com/fieldsphere/cursor-team-marketplace-template --skill git-hygiene-fieldsphere

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keep Git histories clean and readable by enforcing clear branch naming, disciplined commits, careful conflict resolution, and PR prep.

Core Features & Use Cases

  • Enforces kebab-case branch names and scoped prefixes for clarity.
  • Encourages atomic commits and removal of noise (debug prints, WIP commits).
  • Guides preparation of a clean pull request, including a concise description and test notes.

Quick Start

Start work on a new feature branch with a clear name and one logical change per commit.

Frequently Asked Questions about git-hygiene

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

FAQPage Schema
How do I keep my git history clean before preparing a pull request?

To keep git history clean before a pull request, enforce kebab-case branch naming with scoped prefixes, make atomic commits, remove debug noise, and write concise PR descriptions with test notes.

What is the best way to name feature branches for clear git workflow hygiene?

For clear git workflow hygiene, feature branches should use kebab-case naming with scoped prefixes. This enforces branch clarity and ensures the repository history remains readable and organized.

How do I prepare a clean pull request with atomic commits?

To prepare a clean pull request with atomic commits, ensure each commit represents a single logical change, remove WIP commits or debug prints, and provide a concise description with relevant test notes.

Can I use standard git workflow practices for resolving merge conflicts safely?

Yes, standard git workflow practices guide safe conflict resolution. When syncing with main, careful conflict resolution ensures the feature branch remains stable and ready for pull request review.

Why does removing WIP commits and debug prints improve pull request readiness?

Removing WIP commits and debug prints improves pull request readiness by eliminating commit noise. This ensures the git history stays readable and reviewers can focus on the logical changes.

When do I need to enforce strict git workflow hygiene during software development?

You need to enforce strict git workflow hygiene when starting work on a feature branch, syncing with main, resolving conflicts, or preparing a pull request to satisfy common software engineering requirements.