commit-message
Installation
SKILL.md
Commit Message Skill
This skill creates a git commit with the required format. Follow these steps:
1. Branch Safety Check (for bucketplace repos)
First, check if this is a bucketplace organization repo:
git remote get-url origin 2>/dev/null | grep -q 'bucketplace' && echo "bucketplace" || echo "other"
If bucketplace repo, check the current branch:
git branch --show-current
If on a protected branch (main, master, develop):
- If a Jira ticket exists in the context (e.g., COREPL-1234):
- Check if branch already exists:
git branch --list <TICKET-ID> - If exists, add a suffix (e.g.,
COREPL-1234-2,COREPL-1234-refactor)
- Check if branch already exists:
Related skills