commit

Write conventional git commit messages with type, scope, and subject.

1|Updated Sep 3, 2026
One-click install
npx skills add https://github.com/amanpal3/SKILLs --skill commit-amanpal3
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/amanpal3/SKILLs/tree/main/.agent/plugins/ralph/skills/commit
Command: npx skills add https://github.com/amanpal3/SKILLs --skill commit-amanpal3

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Writing consistent, meaningful git commit messages is hard to enforce across a team, leading to vague history like "update code" that breaks changelogs, semantic versioning, and code review traceability. ## Core Features & Use Cases - Conventional Commits Formatting: Generates messages in the type(scope): subject format with enforced rules for types (feat, fix, refactor, security, etc.), kebab-case scopes, and 50-character imperative subjects. - Structured Bodies and Trailers: Supports multi-line bodies explaining HOW and WHY, plus git trailers like Fixes #N, BREAKING CHANGE:, and Co-authored-by for issue linking and semantic-release triggers. - PR and Merge Commit Support: Provides extended formats for pull request descriptions and merge commits with task breakdowns, requirement references, and test coverage summaries. - Use Case: After staging security fixes, ask the agent to commit them and receive a message like fix(auth): use hmac.compare_digest for secure comparison with a body referencing the addressed requirement. ## Quick Start Stage my changes and create a conventional commit message for the authentication fix I just made.

Frequently Asked Questions about commit

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

FAQPage Schema
How do I write a conventional commit message in git?▼

Use the format `type(scope): subject`, such as `feat(auth): add login endpoint`. Pick a type like feat, fix, or refactor, add a kebab-case scope in parentheses, and write a present-tense imperative subject under 50 characters with no trailing period.

What commit types are used in Conventional Commits?▼

Common types include feat for new features, fix for bug fixes, refactor for code restructuring, perf for performance, test for tests, docs for documentation, ci for pipeline changes, chore for maintenance, style for formatting, and security for vulnerability fixes.

How do I mark a breaking change in a commit message?▼

Add an exclamation mark after the scope, like `feat(api)!: change response format`, or include a `BREAKING CHANGE:` footer in the commit body describing the incompatibility. This triggers a major version bump in semantic-release tooling.

Can I link git commits to GitHub issues automatically?▼

Yes, add trailers like `Fixes #123` or `Closes #123` at the end of the commit body after a blank line. GitHub automatically closes the referenced issue when the commit merges into the default branch.

What files should never be included in a git commit?▼

Never commit secrets such as `.env` files or `credentials.json`, dependency folders like `node_modules/` or `.venv/`, or large binary files without explicit approval. Review staged changes with `git diff --staged` before committing.