git-commit

Generates conventional commit messages with logical grouping for RTS development workflows.

Updated Jul 13, 2026
One-click install
npx skills add https://github.com/Ohmnia/site-build --skill git-commit-ohmnia
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/Ohmnia/site-build/tree/main/.opencode/skills/git-commit
Command: npx skills add https://github.com/Ohmnia/site-build --skill git-commit-ohmnia

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing clear, consistent git commit messages is hard, especially when AI-assisted development produces large mixed-purpose changes. This Skill enforces conventional commit formatting, logical commit grouping, and readable history so your git log becomes a useful engineering timeline instead of a pile of vague messages. ## Core Features & Use Cases - Conventional Commit Formatting: Enforces the type(scope): summary format with allowed types like feat, fix, perf, refactor, docs, config, test, chore, and investigate. - RTS-Specific Scopes: Provides preferred scopes for game development such as movement, pathfinding, ecs, rendering, combat, and selection. - Commit Hygiene Rules: Separates refactors from features, splits unrelated changes, and rejects vague messages like "fix stuff" or "wip". - Use Case: After an AI coding session modifies pathfinding, rendering, and docs together, use this Skill to split the work into three focused commits with proper scopes and summaries. ## Quick Start Ask the AI to review the staged changes and generate conventional commit messages grouped by logical purpose.

Frequently Asked Questions about git-commit

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

FAQPage Schema
How do I write conventional commit messages for git?

Use the format type(scope): concise summary, where type is one of feat, fix, perf, refactor, docs, config, test, chore, or investigate. For example, feat(movement): add formation slot assignment clearly states the change type, affected system, and purpose.

How to split large AI-generated changes into multiple commits?

Identify logical change groups first, then separate unrelated changes such as gameplay, rendering, refactors, and formatting into individual commits. Each commit should be small, focused, reviewable, and reversible with a single clear purpose.

What commit scope should I use for game development?

Use scopes matching the affected system, such as simulation, movement, steering, pathfinding, ecs, rendering, selection, camera, combat, economy, ui, agents, tooling, performance, or terrain. Consistent scopes make the git history searchable by subsystem.

Why should refactors be separate from feature commits?

Mixing refactors with features makes reviews harder and hides behavioral changes inside structural edits. A refactor commit must not imply gameplay changes, so refactor(ecs): flatten unit transform storage is correct while bundling it with a new feature is not.

What makes a bad commit message?

Vague messages like fix stuff, misc changes, wip, updates, cleanup, or more work are anti-patterns because they communicate nothing about intent or impact. Performance commits should also explain what bottleneck changed and what scale issue was addressed.