peterkimpro

commit

0
0
# Install this skill:
npx skills add peterkimpro/claude-code-powerpack --skill "commit"

Install specific skill from multi-skill repository

# Description

Stage and commit all changes with a well-formed conventional commit message.

# SKILL.md


name: commit
description: Stage and commit all changes with a well-formed conventional commit message.


Create a git commit for the current changes.

Steps:

  1. Run git status and git diff to review what changed.

  2. Stage relevant files. Prefer staging specific files over git add -A. Never stage:

  3. .env or any secrets file
  4. Large binaries or generated files that shouldn't be tracked

  5. Write a commit message following Conventional Commits:

  6. Format: <type>(<scope>): <short summary>
  7. Types: feat, fix, chore, docs, refactor, test, ci
  8. Summary: present tense, under 72 chars, no period at end
  9. Add a body if the change needs explanation (what and why, not how)

  10. Commit using:
    ```bash
    git commit -m "$(cat <<'EOF'

Co-Authored-By: Claude Sonnet 4.6 [email protected]
EOF
)"
```

  1. Run git status to confirm the commit succeeded.

Do NOT push unless the user explicitly asks.

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.