git-commit

Enforce Conventional Commits format with validated types and subject limits.

35|13|Updated Dec 12, 2025
One-click install
npx skills add https://github.com/wildwasser/opencode-agents --skill git-commit-wildwasser
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/wildwasser/opencode-agents/tree/main/.opencode/skills/git-commit
Command: npx skills add https://github.com/wildwasser/opencode-agents --skill git-commit-wildwasser

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Maintaining consistent, readable commit messages across a codebase can be challenging; this skill guides writers to follow the Conventional Commits format for every change, ensuring clear history and easier release notes.

Core Features & Use Cases

  • Enforces subject lines to be concise, imperative, and limited to 50 characters.
  • Validates commit types (feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert) and optional scope.
  • Provides a ready-to-use template and guidelines for various workflows, including feature development, bug fixes, and documentation updates.

Quick Start

Use the conventional commit format to craft your subject line and include a brief optional body and footer.

Frequently Asked Questions about git-commit

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

FAQPage Schema
How do I enforce conventional commit messages in git?

To enforce conventional commit messages in git, validate commit types, subject length, and imperative mood against the Conventional Commits specification, ensuring concise subjects limited to 50 characters and valid types like feat, fix, or docs.

What is the conventional commit format for a bug fix?

The conventional commit format for a bug fix uses the type fix followed by an optional scope and a concise imperative subject, such as fix(auth): resolve login timeout, to maintain clear version control history.

When do I need to use conventional commits in my workflow?

You need to use conventional commits during feature development, bug fixes, documentation updates, and refactors to maintain a consistent git history and generate easier release notes across the codebase.

Does the conventional commit specification limit subject line length?

Yes, the conventional commit specification limits subject lines to 50 characters, requiring concise, imperative mood phrasing to standardize change narration and satisfy the format validation.

Can I include footer references in conventional commit messages?

Yes, you can include optional footer references in conventional commit messages alongside a brief body, allowing you to link issues or breaking changes while satisfying the Conventional Commits specification.

What are the valid commit types for conventional commits?

Valid commit types for conventional commits include feat, fix, docs, style, refactor, perf, test, build, ci, chore, and revert, ensuring standardized version control narration across various development workflows.