commit

SKILL.md

Smart Atomic Commits

Analyze workspace changes, split into logical atomic units, and commit with emoji conventional format.

Process

  1. Inspect: Run git status and git diff HEAD to understand changes
  2. Auto-stage: If nothing is staged, git add all modified and new files
  3. Analyze: Identify if multiple distinct logical changes should be split based on:
    • Different concerns (unrelated parts of codebase)
    • Different types (features vs fixes vs refactoring)
    • File patterns (source vs docs vs config)
    • Logical grouping (easier to understand separately)
    • Size (large changes clearer when broken down)
  4. Commit: For each atomic unit, stage relevant files and commit

Commit Format

type(scope)!: emoji description
Component Required Notes
type Yes Conventional commit type
(scope) No Lowercase, hyphenated (e.g., user-auth, api-client). Omit only when truly global
! No Breaking change indicator
emoji Yes After the colon, before description
description Yes Imperative mood, present tense

Constraints: First line under 72 characters. Focus on "why" over "what". Imperative mood ("add" not "added").

Breaking Changes

Add ! after scope/type. Include BREAKING CHANGE footer:

git commit -m "feat(api)!: ๐Ÿ’ฅ change auth response format" \
  -m "BREAKING CHANGE: /auth/login now returns { token, user } instead of { accessToken, refreshToken }"

Commit Types

Type Emoji Description
feat โœจ New feature
fix ๐Ÿ› Bug fix
docs ๐Ÿ“ Documentation
style ๐Ÿ’„ Code style (formatting)
refactor โ™ป๏ธ Neither fix nor feature
perf โšก๏ธ Performance improvement
test โœ… Adding/fixing tests
chore ๐Ÿ”ง Build process, tools
ci ๐Ÿš€ CI/CD improvements
revert โช๏ธ Reverting changes

Extended Emoji Reference

Features: ๐Ÿท๏ธ types, ๐Ÿ’ฌ text/literals, ๐ŸŒ i18n, ๐Ÿ‘” business logic, ๐Ÿ“ฑ responsive, ๐Ÿšธ UX, ๐Ÿฆบ validation, ๐Ÿงต concurrency, ๐Ÿ”๏ธ SEO, ๐Ÿ”Š logs, ๐Ÿšฉ feature flags, ๐Ÿ’ฅ breaking, โ™ฟ๏ธ a11y, โœˆ๏ธ offline, ๐Ÿ“ˆ analytics

Fixes: ๐Ÿฉน simple fix, ๐Ÿฅ… catch errors, ๐Ÿ‘ฝ๏ธ external API changes, ๐Ÿ”ฅ remove code, ๐Ÿš‘๏ธ hotfix, ๐Ÿ’š CI fix, โœ๏ธ typos, ๐Ÿ”‡ remove logs, ๐Ÿšจ linter warnings, ๐Ÿ”’๏ธ security

Refactoring: ๐Ÿšš move/rename, ๐Ÿ—๏ธ architecture, โšฐ๏ธ dead code, ๐ŸŽจ structure/format

Chore: ๐Ÿ”€ merge, ๐Ÿ“ฆ๏ธ packages, โž• add dep, โž– remove dep, ๐ŸŒฑ seeds, ๐Ÿง‘โ€๐Ÿ’ป DX, ๐Ÿ‘ฅ contributors, ๐ŸŽ‰ init project, ๐Ÿ”– release, ๐Ÿ“Œ pin deps, ๐Ÿ‘ท CI system, ๐Ÿ“„ license, ๐Ÿ™ˆ gitignore

Docs: ๐Ÿ’ก source comments

Testing: ๐Ÿคก mocks, ๐Ÿ“ธ snapshots, ๐Ÿงช failing test

UI/Assets: ๐Ÿ’ซ animations, ๐Ÿฑ assets

Database: ๐Ÿ—ƒ๏ธ DB changes

Other: โš—๏ธ experiments, ๐Ÿšง WIP

Examples

feat: โœจ add user authentication system
fix(parser): ๐Ÿ› resolve memory leak in rendering process
refactor(api): โ™ป๏ธ simplify error handling logic
feat(api)!: ๐Ÿ’ฅ change authentication endpoint response format

Split example (one diff, four commits):

feat(solc): โœจ add new version type definitions
docs(solc): ๐Ÿ“ update documentation for new versions
chore(deps): ๐Ÿ”ง update package.json dependencies
test(solc): โœ… add unit tests for new version features
Weekly Installs
8
Repository
idjoo/skills
GitHub Stars
1
First Seen
Feb 7, 2026
Installed on
amp8
gemini-cli8
github-copilot8
codex8
kimi-cli8
cursor8