Enforces Conventional Commits format when creating git commits. Use this skill whenever you need to create a commit message. Triggers on "commit", "git commit", "コミット", "変更をコミット".
This skill ensures your commits are logical, atomic, and structured perfectly. A commit is not just a save point; it is a communication tool for future developers (and AI agents) to understand the history and intent of a codebase.
git log --oneline.README.md while working on the auth system, commit the typo fix separately from the auth feature.git diff --cached or review the staged changes to ensure no debugging statements (console.log, print) or secrets are accidentally included.Before creating a commit, follow these steps:
Co-authored-by: for the AI Agent and the user at the end of the commit message body.Format: <type>[optional scope][optional !]: <description>
feat: A new featurefix: A bug fixdocs: Documentation only changesstyle: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)refactor: A code change that neither fixes a bug nor adds a featureperf: A code change that improves performancetest: Adding missing tests or correcting existing testsbuild: Changes that affect the build system or external dependenciesci: Changes to CI configuration files and scriptschore: Other changes that don't modify src or test filesrevert: Reverts a previous commit! before the colon in the subject line (e.g., feat(api)!: remove v1 endpoints).BREAKING CHANGE: <description> at the very end of the body.Example 1: New feature Input: Added user authentication with JWT tokens Output:
feat(auth): implement JWT-based authentication
Example 2: Bug fix with context Input: Fixed the crash that happens when the user clicks the login button twice Output:
fix(login): resolve crash on double click
The login button was missing a debounce handler, allowing users to
submit multiple network requests. Added a 500ms debounce to prevent
race conditions during authentication.
Example 3: Breaking change
Input: Changed the API response for the /users endpoint to return an array of objects instead of a single object
Output:
feat(api)!: return array of objects from /users endpoint
BREAKING CHANGE: The `/users` endpoint now returns an array of user
objects instead of a single user object. Clients will need to update
their parsing logic.
Before committing, validate your message format by running the included validation script. Ensure you locate it relative to the SKILL.md path or use find if unsure.
# Example assuming you are in the repo root:
bash skills/commit/scripts/validate-commit.sh "your commit message"
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer