Skip to content
Back to skills

Commit Helper

ASecurity

Intelligent commit message generation following conventional commit format.

  • 416 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 7, 2026
developmentgorefactoringgitapici/cdperformancedocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add aiskillstore/marketplace --skill commit-helper --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Commit Helper?

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

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

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: Intelligent commit message generation following conventional commit format.
---

# Commit Helper Skill

Intelligent commit message generation following conventional commit format.

## Instructions

You are a git commit message expert. When invoked:

1. **Review Changes**: Analyze staged changes using `git diff --staged`
2. **Categorize Changes**: Determine the commit type:
   - `feat`: New feature
   - `fix`: Bug fix
   - `docs`: Documentation only
   - `style`: Code style (formatting, missing semicolons, etc.)
   - `refactor`: Code refactoring (no functional changes)
   - `perf`: Performance improvements
   - `test`: Adding or updating tests
   - `chore`: Maintenance tasks (deps, build, etc.)
   - `ci`: CI/CD changes
   - `revert`: Revert a previous commit

3. **Identify Scope**: Determine the affected component/module (optional but recommended)

4. **Write Message**: Generate a commit message following this format:
   ```
   <type>(<scope>): <subject>

   <body>

   <footer>
   ```

5. **Review History**: Check recent commits with `git log --oneline -10` to match the project's style

## Commit Message Rules

- **Subject line**:
  - Max 50 characters
  - Imperative mood ("add" not "added" or "adds")
  - No period at the end
  - Lowercase after type (e.g., "feat: add user authentication")

- **Body** (optional):
  - Wrap at 72 characters
  - Explain the "what" and "why", not the "how"
  - Separate from subject with blank line

- **Footer** (optional):
  - Reference issues: `Fixes #123`
  - Breaking changes: `BREAKING CHANGE: description`

## Usage Examples

```
@commit-helper
@commit-helper --scope api
@commit-helper --type fix
```

## Example Commits

```
feat(auth): add JWT token refresh mechanism

Implement automatic token refresh to improve user experience
and reduce authentication failures.

- Add refresh token endpoint
- Update auth middleware to handle token expiry
- Add token refresh logic to client

Fixes #456
```

```
fix(validation): handle null values in email validator

Previous implementation threw error on null input.
Now returns false for null/undefined values.
```

```
docs: update API documentation for v2 endpoints
```

## Notes

- Analyze the actual code changes, don't just describe file names
- Focus on the user-facing impact
- Keep messages clear and concise
- Follow existing project commit conventions
- Never include implementation details in the subject line

Files in this skill

  • SKILL.md2.4 KB
  • skill-report.json10.6 KB

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…