/git-flow:configuring-git-hygienefrom git-flow
Sets up git hooks, Gitleaks secret scanning, .gitignore rules, and local git config for safe workflow hygiene. Use when configuring pre-commit/pre-push checks or guardrails.
Ships in git-flow. 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.
Set up project-local hygiene that stays fast enough to keep enabled. Stop if the directory is not a git repo.
Propose the plan (current facts, files and config to change, verification, risks) and get approval before you:
git config value (local or global) or run chmod;git rm --cached;If the repo is dirty, show git status --short and ask before hook or config edits.
When asked for a plan, give the whole plan in one answer. If you have not inspected the repo yet, make the inspection commands below its first step, mark current state as unverified, and still lay out the hook, Gitleaks, or .gitignore changes from the policy and how you will verify them.
git status --short
git config --show-origin --get core.hooksPath || true
git config --show-origin --list | rg '^(file:.*\s+)?(user\.|commit\.|tag\.|pull\.|fetch\.|rerere\.|core\.hooksPath|includeIf\.)' || true
git ls-files .gitignore .pre-commit-config.yaml .gitleaks.toml 2>/dev/null || true
ls -la .git/hooks .githooks scripts/git-hooks 2>/dev/null || true
pre-commit, then a project-local core.hooksPath directory (git config --local core.hooksPath scripts/git-hooks).--redact, and keep secret values out of chat and external tools.--no-verify is not the fix..gitignore patterns come from real artifacts and stay narrow.Details by topic:
.gitignore and untracking files → gitignore.mdgit config --local --get core.hooksPath, then run the hook directly on safe fixture input.--redact, when installed..gitignore: git check-ignore -v <path> and git ls-files <path>.Done when the relevant build/test/lint checks pass on what you changed, or you name each check that did not run and why.
GIT HYGIENE CONFIG
Scope: hooks | gitleaks | gitignore | config | guardrails
Status: PROPOSED | APPLIED | BLOCKED
Current state: <facts from git config/files>
Plan: <change and why>
Changes: <file/config edited>
Verification: <command> — pass/fail/not run
Next: <install tool, run hook, or push validation>
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
3 skills in this plugin
/cleanup-gitRemove merged local branches and stale git worktrees. Use when the user says "cleanup branches", "prune worktrees", "tidy git", "remove merged branches", "delete merged branches", "gone branches", or wants to clean local git state. NOT for creating commits, creating worktrees, or configuring git hooks./using-git-worktreesCreates and removes isolated git worktrees for parallel development. Use when starting feature work needing isolation, working on multiple branches simultaneously, or removing one specific worktree and its branch after its PR merges. NOT for simple branch switching, sweeping multiple stale worktrees or merged branches at once (use cleanup-git), or git hook/config setup (use configuring-git-hygiene).npx claudepluginhub alexei-led/cc-thingz --plugin git-flowOther plugins' skills for the same job