git-workflow-and-versioning

Structures git commits, branching, semantic versioning, and changelog practices for code changes.

5|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/PHenrique07/Sementis-IFSP-Pirituba --skill git-workflow-and-versioning-phenrique07
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: git-workflow-and-versioning
Source: https://github.com/PHenrique07/Sementis-IFSP-Pirituba/tree/main/.github/skills/git-workflow-and-versioning
Command: npx skills add https://github.com/PHenrique07/Sementis-IFSP-Pirituba --skill git-workflow-and-versioning-phenrique07

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Code changes made without version control discipline become impossible to review, revert, or debug, and releases without clear versioning break consumers who depend on your code. ## Core Features & Use Cases - Atomic Commit Discipline: Enforces small, single-purpose commits with descriptive conventional messages (feat, fix, refactor, test, docs, chore) so history stays readable and reversible. - Trunk-Based Branching & Worktrees: Guides short-lived feature branches merged within 1-3 days and parallel work using git worktrees for isolated agent workflows. - Semantic Versioning & Changelogs: Defines MAJOR.MINOR.PATCH bump rules, annotated release tags as the source of truth, and human-readable changelogs grouped by user impact. - Use Case: An AI agent finishes a messy working tree with mixed changes; this Skill splits the work into clean atomic commits, writes proper messages, and prepares a tagged v1.4.0 release with a curated changelog entry. ## Quick Start Ask the AI to review your uncommitted changes and split them into atomic commits with conventional messages following the git workflow skill.

Frequently Asked Questions about git-workflow-and-versioning

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

FAQPage Schema
How do I write good git commit messages?▼

Use the format 'type: short description' where type is feat, fix, refactor, test, docs, or chore. The message should explain why the change was made, not just what changed, with an optional body describing intent and context.

How to split a large uncommitted change into atomic commits?▼

Stage and commit each logical change separately: one commit per self-contained increment such as an endpoint, a form component, or tests. Keep formatting changes, refactors, and features in separate commits targeting roughly 100 lines each.

What is trunk-based development vs gitflow?▼

Trunk-based development keeps main always deployable with short-lived feature branches merged within 1-3 days, while gitflow uses long-lived development branches. Short branches reduce merge conflicts and integration delays; commit discipline matters more than the specific branching model.

When should I bump major, minor, or patch version?▼

Bump MAJOR for breaking changes requiring consumers to modify their code, MINOR for backward-compatible new functionality, and PATCH for backward-compatible bug fixes. When unsure whether a change is breaking, assume it is.

Can multiple AI agents work on the same repo in parallel?▼

Yes, use git worktrees to give each agent its own directory checked out to a separate branch. This avoids branch switching conflicts, and failed experiments can be discarded by removing the worktree without losing other work.

Why should a changelog not be generated from git log?▼

Commit messages are written for developers, while changelogs answer 'what changed and do I care?' for consumers. A changelog curates entries by impact (Added, Changed, Fixed, Deprecated, Removed, Security) and should be written alongside each change, not reconstructed at release time.