Skip to content
Back to skills

Commit Changes

ASecurity

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

  • 6 stars
  • 0 votes
  • 0 copies
  • 16 views
  • Added February 7, 2026
developmentgobashgitperformancedocumentation

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add anilcancakir/claude-code-plugins --skill commit-changes --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Commit Changes?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Commit Changes
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anilcancakir-commit-changes/badge)](https://www.skillsdirectory.com/skills/anilcancakir-commit-changes)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: commit-changes
description: Create a well-formatted commit following project conventions. Auto-detects commit style from git history.
---

# 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:

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

**Output example:**
```json
{
  "style": "conventional-scoped",
  "confidence": 80,
  "stats": { "total": 10, "conventional_scoped": 8, "gitmoji": 2 }
}
```

| Pattern | Style |
|---------|-------|
| `type(scope): message` | Conventional Commits (scoped) |
| `type: message` | Conventional (no scope) |
| `:emoji: message` | Gitmoji |
| Plain text | Simple |

## Conventional Commits Types

| Type | Use For |
|------|---------|
| feat | New features |
| fix | Bug fixes |
| docs | Documentation only |
| style | Formatting changes |
| refactor | Code restructuring |
| perf | Performance improvements |
| test | Adding/fixing tests |
| chore | Maintenance 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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.