cm

Stage working tree changes and create a Conventional Commit (no push).

Content Preview
---
description: Stage working tree changes and create a Conventional Commit (no push).
---

1. Run `git status --short` to review pending changes.
2. For each file, open a diff (`git diff -- path/to/file`) and ensure no secrets or credentials are present.
3. Stage the files intentionally (`git add path/to/file`). Avoid `git add .` unless every change was reviewed.
4. Generate a Conventional Commit message (types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert).
   - Comm
How to Use

Recommended: Install to project (local)

mkdir -p .claude/skills
curl -o .claude/skills/cm.md \
  https://raw.githubusercontent.com/alirezarezvani/claude-skills/main/.claude/commands/git/cm.md

Skill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.

Alternative: Clone full repo

git clone https://github.com/alirezarezvani/claude-skills

Then reference at .claude/commands/git/cm.md

Related Skills