Skip to content
Back to skills

Ship Commit Msg

ASecurity

Generate a structured, clean, and concise git commit message based on staged changes following Conventional Commits format.

  • 2 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 8, 2026
documentationbashgit

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add nobodyonlyc/skills --skill ship-commit-msg --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ship Commit Msg?

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

Security grade badge for Ship Commit Msg
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nobodyonlyc-ship-commit-msg/badge)](https://www.skillsdirectory.com/skills/nobodyonlyc-ship-commit-msg)

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: ship-commit-msg
description: Generate a structured, clean, and concise git commit message based on staged changes following Conventional Commits format.
---

Generate a commit message based on the current workspace state.

```bash
git status
git diff --staged
git diff
git log --oneline -5
```

## Ground Rules
- **Use Conventional Commits**: Every commit MUST follow the `type(scope): description` format.
- **Base on staged changes**: The primary focus of the commit message must be the output of `git diff --staged`.
- **Breaking Changes**: Must be explicitly noted in the footer.
- **Do not commit automatically**: Present the command (`git commit -m "..."`) and let the user execute it.

## References
Please follow the guidelines in these references carefully:
- **[Conventional Commits Specification](references/conventional-commits.md)**: Format rules, types, and scope definition.
- **[Commit Strategies](references/commit-strategies.md)**: When to squash vs. split commits.

## Examples
- **[Commit Examples](examples/commit-examples.md)**: See examples of well-structured commit messages.

## Workflow Phases
1. **Analyze Diff**: Read the staged changes and determine the core intent of the modification.
2. **Determine Strategy**: Using `references/commit-strategies.md`, decide if the changes should be split into multiple commits or kept as one. If multiple, ask the user before writing the messages.
3. **Draft Message**: Write the commit message(s) strictly adhering to `references/conventional-commits.md`.
4. **Present to User**: Present the proposed message along with the executable command:
   ```bash
   git commit -m "type(scope): description" -m "body details..."
   ```
   Ask the user for approval or adjustments before they run it.

Files in this skill

  • SKILL.md1.7 KB
  • examples/commit-examples.md1 KB
  • references/commit-strategies.md1.2 KB
  • references/conventional-commits.md1.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.

View all in documentation →

Comments

Loading comments…

Newsletter

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