Skip to content
Back to skills

Commit Helper 4

ASecurity

Generate clear conventional commit messages from git diffs. Use when writing commit messages, reviewing staged changes, or after completing TDD cycles.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
securitygitapidocumentation

Works with

  • api

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill commit-helper-4 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Commit Helper 4?

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

Security grade badge for Commit Helper 4
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-commit-helper-4/badge)](https://www.skillsdirectory.com/skills/david-li0406-commit-helper-4)

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 Helper
description: Generate clear conventional commit messages from git diffs. Use when writing commit messages, reviewing staged changes, or after completing TDD cycles.
---

# Commit Helper

This skill invokes the `commit-helper` agent to generate commit messages.

## Quick Reference

**Invoke:** `/commit-helper [options]`

**Options:**
- No argument = analyse staged changes, return message
- `--commit` = generate message AND create commit

## Conventional Commit Format

```
<type>: <summary>

[optional body]

[optional footer]
```

### Types

| Type | Use For |
|------|---------|
| `feat` | New feature |
| `fix` | Bug fix |
| `refactor` | Code restructuring (no behaviour change) |
| `test` | Adding/updating tests |
| `docs` | Documentation only |
| `chore` | Build, tooling, dependencies |

### Summary Rules

- Under 50 characters
- Imperative mood ("add" not "added")
- No period at end

## Examples

**Simple:**
```
Add user authentication endpoint
```

**With body:**
```
Extract validation logic to separate module

Moved input validation from UserController to ValidationService
to improve testability and reuse across endpoints.
```

**Breaking change:**
```
Change API response format

BREAKING CHANGE: responses now wrap data in `result` key
```

## Agent Behaviour

The commit-helper agent:
1. Checks git status for staged changes
2. Reads staged diff
3. Checks recent commits for style consistency
4. Analyses change type and scope
5. Generates conventional commit message

Runs autonomously without user interaction.

## Rules

- **NEVER** add contributors unless explicitly requested
- **NEVER** commit files containing secrets

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.

Comments

Loading comments…