commit-conventions

Generate Conventional Commits messages with path-based Finnish scope inference for OhMyCode workflows.

131|4|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/AlphaLab-USTC/OhMyCode --skill commit-conventions-alphalab-ustc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-conventions
Source: https://github.com/AlphaLab-USTC/OhMyCode/tree/main/.agents/skills/commit-conventions
Command: npx skills add https://github.com/AlphaLab-USTC/OhMyCode --skill commit-conventions-alphalab-ustc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you write clear, standardized git commit messages without having to remember the repository’s commit format rules or scope conventions.

Core Features & Use Cases

  • Conventional Commit Formatting: Produces messages in the required <type>(<scope>): <description> style.
  • Scope Inference: Maps changed file paths to the correct commit scope, such as core, tools, providers, or cli.
  • Repo-Specific Guidance: Applies OhMyCode’s commit rules, including lowercase wording, length limits, and breaking-change notation.
  • Use Case: When you finish a bug fix in the CLI, this Skill helps you turn that change into a commit like fix(cli): handle resume parsing.

Quick Start

Ask the assistant to draft a commit message for your latest changes using the OhMyCode commit conventions and the primary files you edited.

Frequently Asked Questions about commit-conventions

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

FAQPage Schema
How do I generate conventional commit messages from changed files?

To generate conventional commit messages from changed files, this Skill analyzes your file paths and change intent to produce standardized output. It maps your edits to repository-specific scopes and formats them into the required lowercase <type>(<scope>): <description> structure automatically.

What is scope inference in git version control and when do I need it?

Scope inference in git version control automatically maps your changed file paths to the correct commit scope, such as core, tools, or cli. You need it when maintaining standardized commit histories across large repositories with strict formatting rules.

How do I format breaking changes in conventional commits?

To format breaking changes in conventional commits, the Skill applies specific breaking-change notation alongside the required lowercase type and concise description. It ensures your commit message adheres to repository-specific rules for length limits and structural formatting without manual intervention.

Can I use this for bug fix and documentation commits in my development workflow?

Yes, you can use this for bug fix and documentation commits in your development workflow. The Skill supports feature work, tests, refactoring, and maintenance commits by applying OhMyCode commit rules to generate repository-compliant messages fast.

Does this Skill work without external dependencies or components?

Yes, this Skill works without external dependencies or components. It internally applies the OhMyCode commit conventions to infer scopes from file paths and format your change intent into compliant conventional commit messages.