AgentStack
SKILL verified MIT Self-run

Commit

skill-canarslandev-claude-code-setup-commit · by CanArslanDev

Analyze staged changes and create a well-formatted conventional commit

No reviews yet
0 installs
12 views
0.0% view→install

Install

$ agentstack add skill-canarslandev-claude-code-setup-commit

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Commit? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Commit Skill

Create a high-quality git commit from the currently staged changes.

Steps

  1. Check for staged changes

Run git diff --cached --stat to see what's staged. If nothing is staged, tell the user and suggest what to stage.

  1. Analyze the changes

Run git diff --cached to read the actual changes. Understand:

  • What files were modified, added, or deleted
  • The nature of the changes (new feature, bug fix, refactor, docs, test, chore, style)
  • The scope of the changes (which module/component is affected)
  1. Check recent commit style

Run git log --oneline -10 to see the project's existing commit message style.

  1. Generate the commit message

Follow the Conventional Commits format: ``` ():

```

Types:

  • feat — new feature
  • fix — bug fix
  • refactor — code restructuring without behavior change
  • docs — documentation changes
  • test — adding or fixing tests
  • chore — maintenance tasks (deps, config, etc.)
  • style — formatting, whitespace, etc.
  • perf — performance improvements
  • ci — CI/CD changes
  1. Create the commit

Use git commit -m "..." with the generated message. Use a HEREDOC for multi-line messages.

  1. Show the result

Run git log -1 to confirm the commit was created successfully.

Rules

  • The first line must be under 72 characters
  • Use imperative mood ("add feature" not "added feature")
  • The body should explain WHY the change was made, not WHAT changed (the diff shows WHAT)
  • If there are breaking changes, add BREAKING CHANGE: in the footer
  • Never skip the analysis step — always read the full diff
  • Match the project's existing commit style when possible

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.