/clubmed-github:git-commitfrom Club Med — GitHub
Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping
Ships in Club Med — GitHub. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Create standardized, semantic git commits using the Conventional Commits specification. Analyze the actual diff to determine appropriate type, scope, and message.
<type>(optional scope): <description>
[optional body]
[optional footer(s)]
# Exclamation mark after type/scope
feat!: remove deprecated endpoint
# BREAKING CHANGE footer
feat: allow config to extend other configs
BREAKING CHANGE: `extends` key behavior changed
| Type | Purpose |
|---|---|
feat | New feature |
fix | Bug fix |
docs | Documentation only |
style | Formatting/style (no logic) |
refactor | Code refactor (no feature/fix) |
perf | Performance improvement |
test | Add/update tests |
build | Build system/dependencies |
ci | CI/config changes |
chore | Maintenance/misc |
revert | Revert commit |
# Check status first
git status --porcelain
# If nothing to commit, stop and inform the user
# If files are staged, use staged diff
git diff --staged
# If nothing staged, use working tree diff
git diff
If nothing is staged or you want to group changes differently:
# Stage specific files
git add path/to/file1 path/to/file2
# Stage by pattern
git add *.test.*
git add src/components/*
# Interactive staging
git add -p
Never commit secrets (.env, credentials.json, private keys).
Analyze the diff to determine:
# Single line
git commit -m "<type>(scope): <description>"
# Multi-line with body/footer
git commit -m "<type>(scope): <description>" \
-m "<optional body>" \
-m "<optional footer>"
After a successful commit, display:
✔ <type>(scope): <description>
commit <short-hash>
If the commit fails (hook rejection), report the hook output and stop — do not retry or amend.
Closes #123, Refs #456Co-Authored-By trailers (e.g. Co-Authored-By: Claude ...). Commits must always appear under the developer's name onlyWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
10 skills in this plugin
/github-authenticationGenerates, validates, and persists a GitHub personal access token (PAT) to the user-global ~/.claude/settings.json, so it is created once and valid in every repository. Use this skill whenever a GitHub token is needed, missing, expired, or must be refreshed — before any task that calls the GitHub API or connects the GitHub MCP server. Triggers on: "generate github token", "create github token", "set up github token", "update github token", "GITHUB_TOKEN missing", "GITHUB_TOKEN not set", "GITHUB_TOKEN expired", "github token invalid", "github authentication", "connect github mcp", "configure github access", or any task that requires GitHub API access and the token is absent or invalid. Works by checking for an existing valid token first, then manual browser login (the primary path — GitHub enforces 2FA), with optional best-effort auto-login if GITHUB_USERNAME/GITHUB_PASSWORD are available. Token is stored in ~/.claude/settings.json and auto-injected by Claude Code into every shell session; a legacy project-level .claude/settings.local.json is still read and takes precedence when present. Browser automation uses the Playwright MCP./github-cancelAbandon the work in progress: close its pull request (or turn it into a draft), drop the local branch, and return to a clean base. The symmetric inverse of github-publish — the way to undo an attempt at sending work. Always confirms first, spelling out exactly what will be lost and that closing a pull request is visible to the team. Never deletes the remote branch, so a closed pull request can still be reopened. Use when the user wants to cancel, abandon, drop, or throw away what they are working on, close a pull request they opened, or undo something they sent by mistake. Refuses on already-merged pull requests, which need a revert instead. Triggers on: "cancel this", "abandon this work", "drop what I am doing", "close my pull request", "I sent this by mistake", "throw this away", "undo my PR", "/github-cancel"./github-my-prsShow where the user stands: what they are working on right now, the pull requests they have open, the review comments waiting for them, and what they can do next — resume a piece of work, or abandon it. This is the way back to work that was left behind: switching to a pull request from the list restores the branch without the user ever naming it. Also the entry point for closing an older pull request. Use when the user asks what they are working on, wants to see their pull requests, wants to know if anyone reviewed their work, wants to pick something back up, or is simply lost about their current state. Triggers on: "where am I", "what am I working on", "show my pull requests", "list my PRs", "did anyone review my work", "any comments on my PR", "I want to go back to what I was doing", "resume my work", "/github-my-prs"./github-newMove on to something else: leave the work in progress behind and return to a clean, up-to-date base branch, ready to start fresh. Nothing is discarded silently — if the current work only exists locally (uncommitted changes or commits never pushed), the user is asked what to do with it first, because work left behind on a local branch cannot be found again through github-my-prs. Use when the user has finished a piece of work and wants to start another one, asks to go back to a clean state, wants to start from scratch, or says they are done with what they were doing. Never deletes anything without asking. Triggers on: "I want to work on something else", "start something new", "back to a clean base", "I am done with this", "reset my working state", "start fresh", "/github-new"./github-open-prOpen a GitHub pull request for the current branch via the GitHub MCP server (mcp__github__create_pull_request). Use when the user asks to open a PR, create a pull request, or submit their branch for review. Derives owner/repo from the git remote, uses the current branch as head and the default branch as base, and builds a title/body from the last commit. If GITHUB_TOKEN is missing or the GitHub MCP is not connected, it invokes the github-authentication skill first, then retries. Never targets main as head. Triggers on: "open a PR", "create a pull request", "open pull request", "submit for review", "PR this branch", "raise a PR"./github-publishEnd-to-end "send my work to GitHub": commit the current changes as a Conventional Commit, then either open a pull request for new work or add to the pull request already open for it, and finally ask whether to keep going or move on. Recognises whether the current work is already published, so a second send adds to the existing pull request instead of silently mixing unrelated work into it or failing on a rejected push. Use when the user wants to ship their work, send changes to GitHub, open a PR from their current changes, "commit push and PR", finalize a piece of work, or go from dirty working tree to an open PR. Composes the git-commit, git-rebase-branch, git-push-branch, and github-open-pr skills. Absolute invariant: NEVER pushes to the default branch (main, develop, etc.) — always a feature branch and a PR. Triggers on: "send to github", "ship it", "ship this", "open a PR for my changes", "commit push and open a PR", "send my work", "create a PR from my work", "/github-publish".npx claudepluginhub clubmediterranee/ai-core --plugin clubmed-github