askill
commit-changes

commit-changesSafety --Repository

Create a well-formatted commit following project conventions. Auto-detects commit style from git history.

3 stars
1.2k downloads
Updated 1/26/2026

Package Files

Loading files...
SKILL.md

Commit Task

Create a commit for staged/unstaged changes following project conventions.

Steps

  1. Check git status for changes
  2. Analyze git log --oneline -10 to detect commit style
  3. Categorize changes (feat/fix/docs/refactor/test/chore)
  4. Generate commit message matching detected style
  5. Present to user for approval
  6. Execute commit

Commit Style Detection

Use the detection script for accurate results:

# Returns JSON with style and confidence
"${CLAUDE_PLUGIN_ROOT}/scripts/detect-commit-style.sh"

Output example:

{
  "style": "conventional-scoped",
  "confidence": 80,
  "stats": { "total": 10, "conventional_scoped": 8, "gitmoji": 2 }
}
PatternStyle
type(scope): messageConventional Commits (scoped)
type: messageConventional (no scope)
:emoji: messageGitmoji
Plain textSimple

Conventional Commits Types

TypeUse For
featNew features
fixBug fixes
docsDocumentation only
styleFormatting changes
refactorCode restructuring
perfPerformance improvements
testAdding/fixing tests
choreMaintenance tasks

Message Format

<type>(<scope>): <subject>

<body>

<footer>

Subject Rules:

  • Imperative mood ("add" not "added")
  • No period at end
  • Max 50 characters
  • Lowercase

Body (optional):

  • Explain what and why
  • Wrap at 72 characters

Footer (optional):

  • Closes #123
  • BREAKING CHANGE: description

Output

Present message for approval before committing.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

AI review pending.

Metadata

Licenseunknown
Version-
Updated1/26/2026
Publisheranilcancakir

Tags

testing