By alexei-led
Git worktrees, branch cleanup, hooks, secret scanning, config hygiene, and guardrails
Remove 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.
Configure safe git workflow hygiene: pre-commit/pre-push hooks, Gitleaks secret scanning, .gitignore rules, local git config, and guardrails. Use when setting up git hooks, gitleaks/git leaks, staged pre-commit checks, pre-push validation, core.hooksPath, .gitignore, or git config best practices. NOT for creating commits (use committing-code), cleaning branches/worktrees (use cleanup-git), or creating worktrees (use using-git-worktrees).
Creates isolated git worktrees for parallel development. Use when starting feature work needing isolation or working on multiple branches simultaneously. NOT for simple branch switching, bulk branch cleanup (use cleanup-git), or git hook/config setup (use configuring-git-hygiene).
Executes bash commands
Hook triggers when Bash tool is used
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Portable skills, agents, hooks, and Pi-native extensions for Claude Code, Codex CLI, GitHub Copilot, Cursor, Grok, and Pi. Gemini is retired.
Requires Agent Bundler with build, check, and package, plus support for
per-agent sidecars, declared hook environments, Pi-native assets, and Codex
project-agent profiles. Verify packaging support:
agbun package --help
Build and check the complete generated tree:
make build
make check
make build is a direct agbun build --root . invocation. make check runs
the non-mutating agbun check --root . drift gate. Agent Bundler replaces the
configured dist/ output tree during builds, so do not edit generated files.
agentbundle.json # Agent Bundler manifest
src/
├── skills/<name>/SKILL.md # canonical YAML-frontmatter skills
│ └── .agentbundler/targets/*.json # optional target overlays
├── agents/<name>.md # canonical agent assets
├── .agentbundler/packages/*.json # package membership and metadata
├── hooks/<name>/ # typed Agent Bundler hooks
└── plugins/pi/<asset>/ # declarative Pi-native extension tree
└── extensions/ # Pi-native tools and compatibility runner
dist/<target>/<package>/ # generated Agent Bundler package roots
.claude-plugin/marketplace.json # repository-root compatibility wrapper
.agents/plugins/marketplace.json # repository-root compatibility wrapper
.codex/agents/*.toml # fixed-path Codex project-agent profiles
.github/plugin/marketplace.json # repository-root compatibility wrapper
.cursor-plugin/marketplace.json # repository-root compatibility wrapper
package.json#pi # merged Pi root compatibility manifest
Skills use Agent Bundler overlays for target-specific frontmatter, body, and
support-file changes. Target-wide preambles are composition entries in
agentbundle.json. Canonical source remains readable Markdown with YAML
frontmatter; Agent Bundler emits normalized JSON frontmatter.
Package membership is defined by src/.agentbundler/packages/*.json. Each
package lists exact skill and agent asset paths. Root marketplace files are
routing wrappers only: their entries point into dist/<target> and contain no
independent package trees. Do not edit dist/ or give the wrappers independent
metadata.
| Target | Output | Package contract |
|---|---|---|
| Claude Code | dist/claude/<package>/ | Marketplace packages, agents, and hooks |
| Codex CLI | dist/codex/<package>/ | Plugin packages plus .codex/agents/*.toml profiles |
| Pi | dist/pi/ | Aggregate package, typed hooks, and native extensions |
| GitHub Copilot | dist/copilot/<package>/ | Marketplace packages, agents, and hooks |
| Cursor | dist/cursor/<package>/ | Marketplace packages, agents, and supported hooks |
| Grok Build | dist/grok/<package>/ | Marketplace packages, agents, and hooks |
| Gemini CLI | none | Retired |
agbun package --root . --out DIR creates deterministic, target-native release
archives:
cc-thingz-claude.tar.gzcc-thingz-codex.tar.gzcc-thingz-pi.tgzcc-thingz-copilot.tar.gzcc-thingz-cursor.tar.gzcc-thingz-grok.tar.gzThe release workflow attaches all six files. Each archive expands directly to
the native package or marketplace root shown above. The Codex archive also
includes separate .codex/agents/*.toml profiles; they are not plugin contents.
Installation and marketplace registration use the target vendor's CLI; Agent
Bundler does not mutate user configuration or publish to a vendor registry.
Compatibility manifests at the repository root preserve Git and local-path
installation while keeping dist/<target> canonical:
Research, docs lookup, utility routing, skill authoring, instruction review, reasoning, and agent configuration audits
Lightweight spec loop: plan one slice, execute one task, checkpoint or close
Code review, fixes, commits, and linting for development workflows
Browser-based testing, validation, screenshots, recordings, and quick automation
Idiomatic development across C# /.NET, Go, Java/Kotlin, Python, Rust, TypeScript, shell, and web
npx claudepluginhub alexei-led/cc-thingz --plugin git-flowMaster advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.
Git workflow management with feature branches, releases, and hotfix flows
Git automation - PRs, releases, branches, worktrees
Audits, preserves, recovers, and safely retires local Git state: unpushed or wrong-branch commits, dirty or detached worktrees, forgotten duplicate clones of the same repo, untracked work no bundle can back up, orphaned stashes, dangling commits, stale branches, and squash/rebase merge uncertainty. Use when the user fears work was lost; asks to recover a commit or branch; asks whether a worktree, clone, or scratch directory can be deleted; wants everything converged onto one main branch; or needs proof that cleanup will not drop work. Use it even after an audit reported clean — the usual gap is scope: every in-repo command is blind to a second clone elsewhere on disk. Triggers on "did I lose work", "is everything merged", "is anything else lost", "safe to delete this clone", "clean up old branches/stashes", "only keep one main branch", "git reflog", "dangling commits", "分支灾难", "误删分支/commit", "worktree 能删吗", "还有没有丢的东西", "只保留一个主分支". Covers local-Git forensics, not GitHub PR/API operations or routine sync.
Git workflow skills, including staging and committing working-tree changes following Conventional Commits.
Git workflow best practices with commit validation hooks