Spatie Version Control

spatie/guidelines-skills/resources/boost/skills/spatie-version-control

by spatiec31006972d0b8c8db71e7b75c1b1d505b479023dMITListed Oct 9, 2026Updated Oct 9, 2026

Apply Spatie's version control conventions when creating commits, branches, pull requests, or managing Git repositories; use for naming repos, writing commit messages, choosing branch strategies, and merging code.

Instructions onlySoftware Development
AI-generated overview

Applies Spatie's Git conventions for commits, branches, pull requests, repository naming, and merge strategies.

What it does
This skill provides guidance for following Spatie's version control conventions during Git operations. It covers repository naming, branch naming, commit messages, branching and merging strategies, and cautions around history-rewriting or destructive commands. It directs the agent to read a bundled reference file and apply project-stage rules before branch, commit, merge, or cleanup guidance.
When to use it
Use it when creating commits, branches, or pull requests, naming new repositories, or deciding on branching and merging strategies. It is intended for teams or projects that want to follow Spatie's Git conventions consistently.
Requirements
No scripts or special tooling; it relies on the agent reading the bundled reference file references/spatie-version-control-guidelines.md. No credentials or network access are required.

Spatie Version Control Guidelines

Overview

Apply Spatie's Git and version control conventions for consistent repository management.

When to Activate

  • Activate this skill when creating commits, branches, or pull requests.
  • Activate this skill when naming new repositories.
  • Activate this skill when deciding on branching or merging strategies.

Scope

  • In scope: Git operations, repository naming, branch naming, commit messages, merge strategies.
  • Out of scope: Code style, deployment pipelines, CI/CD configuration.

Workflow

  1. Identify the Git operation or repository convention involved.
  2. Read references/spatie-version-control-guidelines.md and focus on the relevant sections.
  3. Apply the project-stage rules before branch, commit, merge, or cleanup guidance.

Core Rules (Summary)

  • Name site repositories after their lowercase naked domain and other repositories with kebab-case.
  • Keep main stable and deployable after launch, and remove stale branches.
  • Use develop during initial development; use feature branches once a project is live.
  • Use only lowercase letters and hyphens in branch names.
  • Write descriptive, present-tense, granular commits.
  • Rebase regularly and generally squash feature branches when merging.
  • Treat history-rewriting and destructive Git commands with the cautions in the reference.

References

  • references/spatie-version-control-guidelines.md

Source and attribution

Source:spatie/guidelines-skillsinresources/boost/skills/spatie-version-controlat commitc310069

License: MIT

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal