Skip to content
Development
Command

/cm

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

From plugin
alirezarezvani-claude-skills
24k46 skills32 agents46 commands1 MCP
Install
$ npx -y skills add alirezarezvani/claude-skills --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/cm

Context preview

What this command does when you run it.

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

Command definition

cm.md
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).

  • Commit subject ≤ 72 chars.
  • Scope uses kebab-case (e.g., `feat(marketing-skill): ...`).
  • Use `.github/commit-template.txt` for Context / Testing / Reviewers sections.

5. Run `git commit` and paste the generated message + context from the template. 6. Show the resulting commit (`git log -1 --stat`) and keep the commit hash handy. 7. **Do not push** in this command. Use `git/cp.md` when you're ready to publish.

Ships withalirezarezvani-claude-skills

362 production-ready Claude Code skills, plugins, and agent skills for 13 AI coding tools. The most comprehensive open-source library of Claude Code skills and agent plugins — also works with OpenAI Codex, Gemini CLI, Cursor, and 9 more coding agents.

Get the whole plugin, auto-invoked
Stats
24,082
Stars
1
Views
3,393
Forks
Active
Maintenance
Python
Language
MIT
License
2d ago
Last commit
9mo ago
Created

Repo: alirezarezvani/claude-skills