Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Flupinochanv1.4.1MITIn 1 marketplace
A skill plugin bundling git and GitHub skills: commit enforcement, worktree/branch creation, and pull request creation
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A skill plugin for Claude Code
git commit and restricts commits to Claude only, with automated commit
message generation including breaking-change and issue-reference footers, and aborts when a
file that may contain secrets is about to be committedAskUserQuestion, creates a git worktree and
working branch with git worktree add --no-track, and switches the session into itgh pr creategitgh (/create-pull-request only)| Skill | Description | Auto-invocation |
|---|---|---|
/commit-enforce | Groups changes, generates a Conventional Commits message with optional breaking-change and issue footers, then commits | Enabled |
/create-worktree-and-branch | Creates a git worktree and branch from an interactively chosen base/prefix/suffix, then switches into it | Enabled |
/create-pull-request | Generates a pull request title and body from branch name and diff, then creates it | Enabled |
/help | Lists the skills and commands this plugin provides | Disabled |
/commit-enforceflowchart TD
A(["/commit-enforce"]) --> B["Get changed files"]
B --> S{Secret file detected?}
S -- Yes --> X([Abort])
S -- No --> G{staged/workspace?}
G -- staged --> I
G -- workspace --> H["Split changes into appropriate commit units"]
H --> I["Get branch info (type / issue number)"]
I --> J["Generate commit message"]
J --> K["Commit"]
K --> L{Remaining files in workspace?}
L -- Yes --> J
L -- No --> M([Done])
| File | Role |
|---|---|
skills/commit-enforce/SKILL.md | /commit-enforce branch/type/issue resolution, commit message generation, and execution |
skills/commit-enforce/references/get-commit-target-files.md | Retrieves changed files (staged or workspace), aborts if a secret file is detected |
skills/create-worktree-and-branch/SKILL.md | Confirms base branch/prefix/suffix, creates the worktree and branch, and switches into it |
skills/create-pull-request/SKILL.md | Extracts issue number, confirms merge target/title, generates body, creates PR |
skills/help/SKILL.md | Lists the skills and commands this plugin provides |
hooks/hooks.json | Triggers SessionStart to run the install script |
scripts/install-git-pre-commit-hook.sh | Installs the pre-commit hook that blocks direct git commit unless CLAUDE_COMMIT_ALLOWED is set |
create-pull-request extracts a GitHub issue number from the branch name
instead, and treats it as optional since not every branch carries one--reviewer option is passed to gh pr create.claude/worktrees/<suffix> at the repository root, which is
the directory Claude Code's own --worktree flag and EnterWorktree tool also use.gitignore entries and gitignored files such as .env are not copied into the new
worktree automaticallycommit-enforce matches file paths only and never reads file
contents. Sample files such as .env.example are excludedcommit-enforce commits with --no-gpg-sign, so the commits it creates are unsigned.
Inside the Claude Code sandbox ~/.ssh is hidden and SSH_AUTH_SOCK is empty, so a
repository with commit.gpgsign = true fails to sign and the commit aborts. Per the
git-commit documentation, --no-gpg-sign
countermands the commit.gpgSign configuration variableIf needed, remove the following block from each repository's .git/hooks/pre-commit file manually:
# [commit-enforce]
if [ -f "/path/to/plugin-data/enabled" ] && [ -z "$CLAUDE_COMMIT_ALLOWED" ]; then
echo "Direct git commit is disabled. Use /commit-enforce in Claude Code." >&2
exit 1
fi
Note that after uninstalling the plugin, the enabled marker file is removed automatically, so the hook becomes a no-op even without deleting this block.
npx claudepluginhub flupinochan/metalmental-claude --plugin git-githubBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground