git-workflow-and-versioning

Enforce disciplined git workflows for committing, branching, merging, and resolving conflicts.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/logo-solutions/NAS-logo --skill git-workflow-and-versioning-logo-solutions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-workflow-and-versioning
Source: https://github.com/logo-solutions/NAS-logo/tree/main/skills/git-workflow-and-versioning
Command: npx skills add https://github.com/logo-solutions/NAS-logo --skill git-workflow-and-versioning-logo-solutions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enforces disciplined git practices so code changes remain reviewable, reversible, and safe when multiple developers or AI agents are making frequent edits.

Core Features & Use Cases

  • Trunk-based guidance: Keep main always deployable and prefer short-lived feature branches to reduce merge risk.
  • Commit discipline: Promote atomic commits, descriptive messages that explain intent, separation of concerns, and sensible change sizing for easier review and reversion.
  • Workflow patterns & tools: Branch naming conventions, worktree usage for parallel agent work, the save-point pattern, structured change summaries, handling of generated files, and pre-commit hygiene like tests, linting, and type checks.
  • Use Case: Ideal for teams or AI-driven workflows that need to coordinate parallel work streams, avoid long-lived branches, and ensure each change is small, testable, and reviewable.

Quick Start

Create a short-lived feature branch from main, implement a single small change, run tests and linting, then commit with an atomic, descriptive message.

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 enforce atomic commits and descriptive messages in a git workflow?

To enforce atomic commits in a git workflow, create short-lived feature branches from main, implement a single small change, run pre-commit checks for tests and linting, then commit with a descriptive message explaining intent. This separation of concerns ensures changes remain reviewable and reversible.

What is the best way to manage parallel agent workflows in git?

Managing parallel agent workflows in git is best handled using worktree support and the save-point pattern. This allows multiple agents to work on parallel streams independently while keeping the main branch deployable and reducing merge risk.

How do I structure code changes for easier review and reversion?

Structuring code changes for easier review and reversion requires keeping change sizing sensible and focusing on a single concern per commit. Trunk-based guidance promotes short-lived branches so main stays always deployable, minimizing merge conflicts and simplifying rollback.

Does trunk-based development work with AI-driven code changes?

Trunk-based development works effectively with AI-driven code changes by enforcing branch naming conventions and structured change summaries. Keeping main deployable while using short-lived feature branches allows AI agents to coordinate parallel work streams safely without long-lived branch conflicts.

What pre-commit hygiene checks should I run before merging git branches?

Pre-commit hygiene checks before merging git branches should include running tests, linting, and type checks. These checks verify code quality and ensure that generated files are handled properly before an atomic commit is made, preparing a clean change for review.