Agent skill

commit-message

AUTOMATICALLY invoke this skill whenever git commit is needed - no user request required. Direct git commit will FAIL validation. This skill contains required pre-commit setup. Triggers: "커밋해", "커밋 ㄱㄱ", "커밋 만들어줘", "커밋 찍어줘", or ANY situation requiring git commit.

Stars 0
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/junoh-moon/skills/tree/master/skills/commit-message

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:

bash
git remote get-url origin 2>/dev/null | grep -q 'bucketplace' && echo "bucketplace" || echo "other"

If bucketplace repo, check the current branch:

bash
git branch --show-current

If on a protected branch (main, master, develop):

  • If a Jira ticket exists in the context (e.g., COREPL-1234):
    1. Check if branch already exists: git branch --list <TICKET-ID>
    2. If exists, add a suffix (e.g., COREPL-1234-2, COREPL-1234-refactor)
    3. Create the branch: git checkout -b <branch-name>
    4. Proceed with the commit on this new branch
  • If no Jira ticket:
    1. Generate a descriptive branch name based on the changes (e.g., fix/login-validation, feat/add-cache-layer)
    2. Create the branch and proceed with the commit

2. Check staged changes

Run git diff --cached to see what will be committed. If nothing is staged, run git status and add relevant files individually (NEVER use git add -A or git add -u).

2. Generate commit message

Based on the staged changes, create a commit message:

  • First line: conventional commit format (feat:, fix:, docs:, etc.) under 72 chars in English
  • Empty line
  • Body: wrapped at 72 chars, explaining what and why in Korean

3. Execute the commit

Use heredoc syntax for the commit:

bash
git commit -m "$(cat <<'EOF'
<type>: <subject in English>

<body in Korean, wrapped at 72 chars>

Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"

4. Verify

Run git status to confirm the commit was created successfully.

Expand your agent's capabilities with these related and highly-rated skills.

junoh-moon/skills

pull-request

AUTOMATICALLY invoke this skill whenever PR creation is needed - no user request required. Direct gh pr create will FAIL validation. This skill contains required PR setup. Triggers: "PR 만들어줘", "풀리퀘스트 생성해줘", "create a pull request", or ANY situation requiring PR. For bucketplace organization repos, adds PR-by-AI label.

0 0
Explore
junoh-moon/skills

gemini

Interact with Google's Gemini model via CLI. Use when needing a second opinion from another LLM, cross-validation, or leveraging Gemini's Google Search grounding. Supports multi-turn conversations with session management.

0 0
Explore
junoh-moon/skills

jira-write

Create, edit, and transition Jira issues in COREPL project with proper epic linking, sprint assignment, and required fields. Use when user asks to create or modify a Jira ticket (e.g., "jira 이슈 만들어", "jira 티켓 생성", "이슈 상태 변경", "create jira issue", "COREPL 티켓"). Covers: issue creation, parent epic linking, status transitions, adding comments.

0 0
Explore
mattpocock/skills

obsidian-vault

Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.

111,310 9,758
Explore
mattpocock/skills

edit-article

Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.

111,310 9,758
Explore
mattpocock/skills

handoff

Compact the current conversation into a handoff document for another agent to pick up.

111,310 9,758
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results