osx-commit

Detect a repository's preferred commit style from git history and configuration files.

6|1|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/amauryconstant/openspec-extended --skill osx-commit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: osx-commit
Source: https://github.com/amauryconstant/openspec-extended/tree/main/resources/claude/skills/osx-commit
Command: npx skills add https://github.com/amauryconstant/openspec-extended --skill osx-commit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps teams enforce consistent commit messages by automatically detecting the repository's preferred commit style (Conventional, Angular, Gitmoji, or Classic) from git history and config files, and providing guidance to craft messages that match that style.

Core Features & Use Cases

  • Detects the repository's default commit standard by inspecting history and configuration files (e.g., commitlint, .gitmojirc) to determine whether Conventional, Angular, Gitmoji, or Classic should be followed.
  • Guides creation of compliant commits by offering templates, examples, and references for each detected style.
  • Supports real-world workflows by applying the detected standard to new commits and review processes across typical Git-based projects.

Quick Start

Run the included detection script in your repository to determine the required commit style, then draft your next commit message following the detected standard.

Frequently Asked Questions about osx-commit

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

FAQPage Schema
How do I detect which git commit style a repository uses?

To detect a repository's git commit style, run an automated inspection script that scans Git history and configuration files like commitlint or .gitmojirc to identify whether Conventional, Angular, Gitmoji, or Classic standards are enforced.

What is the difference between Conventional Commits, Angular, and Gitmoji commit styles?

Conventional Commits, Angular, and Gitmoji are distinct commit message standards. This Skill identifies the active standard by inspecting repository configuration and history, then applies the specific formatting rules, templates, and structural requirements for the detected commit style.

How do I enforce consistent commit messages across a Git-based project?

You can enforce consistent commit messages by detecting the repository's preferred standard from configuration files and guiding contributors with structured templates. This ensures every commit message complies with the detected Angular, Conventional, Gitmoji, or Classic style.

Can I use commitlint configuration to determine the correct commit format?

Yes, commitlint configuration files are inspected to determine the correct commit format. The detection script scans these files alongside Git history to establish whether Conventional, Angular, Gitmoji, or Classic style should be applied to new commit messages.

How do I write a compliant Gitmoji commit message?

To write a compliant Gitmoji commit message, use the provided messaging templates and references after the repository's commit style is detected. This ensures your commit matches the required Gitmoji standard by applying the correct formatting and structure.

Does this commit style detection work without modifying the Git repository?

The detection script operates by inspecting Git history and reading configuration files to determine the applicable commit standard. It guides the creation of compliant commit messages without altering the existing repository configuration or commit history.