Skip to content
Back to skills

Commit

ASecurity

> Stage changes, generate a meaningful commit message, and commit.

  • 229 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 6, 2026
code-qualitybashgit

Security analysis

A100/100

Scanned June 6, 2026

npx -y skills add Miosa-osa/canopy --skill commit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Commit?

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

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

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
# /commit

> Stage changes, generate a meaningful commit message, and commit.

## Usage
```
/commit [--all] [--amend] [-m "message"]
```

## What It Does
Analyzes staged and unstaged changes, generates a commit message that summarizes the "why" not just the "what", and creates the commit. Follows conventional commit format when the project uses it.

## Implementation
1. **Analyze changes** -- run `git diff --staged` and `git status`.
2. **Classify changes** -- feature, fix, refactor, docs, test, chore.
3. **Generate message** -- summarize the intent of changes in 1-2 sentences. Use conventional commit prefix if project convention detected.
4. **Stage** (if `--all`) -- add all modified tracked files.
5. **Commit** -- create the commit with the generated or provided message.
6. **Verify** -- run `git status` to confirm clean state.

## Examples
```bash
# Commit staged changes with auto-generated message
/commit

# Stage all changes and commit
/commit --all

# Commit with explicit message
/commit -m "fix: resolve race condition in session handler"

# Amend the last commit
/commit --amend
```

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…