source-control
v0.81.1Git and GitHub delivery: /commit (convention-checked subject, Co-authored-by trailer, surgical staging), /pull-request (prep, create, CI monitoring, review triage, merge, CI logs), /babysit-prs (safe-by-default PR fleet loop, opt-in worker and autopilot tiers), /babysit-loop (merge lane; merge is human until the repo adopts it), /worktree, /resolve-conflicts (intent-first), /check, and /setup (layered source-control.md convention config; Conventional Commits by default).
By Melodic SoftwareLicense: MIT21 GitHub starsUpdated 2 months ago
Directory evidence
- Runtimes
- Claude Code
- Parsed components
- 8 skill or MCP entries
- Source updated
- Oct 4, 2026
- Manifest status
- Canonical path parsed
The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology →
Install source-control for Claude Code
claude plugin marketplace add IchenDEV/agent-plugin-mkt
claude plugin marketplace update agent-plugin-marketplace
claude plugin install source-control@agent-plugin-marketplacePaste and run these commands in a terminal with Claude Code. They add and refresh the PluginsMP catalog, then install this plugin.
The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.
Get the source manually
git clone https://github.com/melodic-software/claude-code-pluginsClone the source repository, then follow its setup instructions to add the plugin to a compatible client. The plugin root is plugins/source-control/.
Plugin files
├── .claude-plugin/plugin.json├── skills/babysit-loop/SKILL.md├── skills/babysit-prs/SKILL.md├── skills/check/SKILL.md├── skills/commit/SKILL.md├── skills/pull-request/SKILL.md├── skills/resolve-conflicts/SKILL.md├── skills/setup/SKILL.md└── skills/worktree/SKILL.md
Included Skills8
Run one repository's pull-request queue as the merge lane of the loop-lane topology: a self-paced standing or drain loop invoking /source-control:babysit-prs each cycle at the resolved autonomy tier, with grace windows, do-not-merge respect, escalation, and lane telemetry. Merge authority is human-only until the target repo's tracked config adopts the lane; the body owns the rung rules and the single paired-argument exception. Use when asked to run or stand up the babysit loop or merge lane for a repository, or to drain its PR queue. Required argument: OWNER/REPO. Launch via /loop. Sibling skills: /source-control:babysit-prs (single-pass mechanic), /source-control:pull-request (single-PR lifecycle).
Babysit the user's own open GitHub pull requests as a tiered fleet loop. The safe default discovers the user's own PRs under the current repo's owner, checks readiness, fixes clear branch-owned issues, and reports, it never resolves threads or merges. Explicit 'worker' tier adds auto-resolving outdated bot threads and gate-proven merges; explicit 'autopilot' adds all authors under the watched owners. Use when asked to babysit, watch, or advance open pull requests as a fleet (the safe tier), to run the worker or autopilot tier by name, or when pairing with /loop for continuous coverage; not for the single-PR lifecycle: prep, create, monitor one PR, or merge (use /pull-request).
Read-only check that node and jq resolve for the source-control hooks. Use when a hook notice says node or jq is missing, or before assuming the source-control gates ran. Does not install.
When the bundled commit skill or built-in commit-push-pr command resolves in this session, prefer the first only when none of this skill's contract (convention, trailer, surgical staging, pre-checks) is wanted and the second to commit, push, and open a PR at once; this skill for every other commit. Create a git commit with a subject matching the resolved convention (layered `source-control.md` config → project convention → Conventional Commits default), a Claude Co-authored-by trailer, and surgical staging (never `git add -A`), feeding the message to git via Bash heredoc. Use when: 'commit this', 'make a commit', 'commit with message HINT', not for push, branch creation, or PR creation (use /pull-request).
When the bundled pr skill or built-in commit-push-pr command resolves in this session, prefer pr for a one-shot PR from committed work and commit-push-pr to commit, push and open one at once, only when no draft, body contract, or later ready, monitor, or merge step applies; this skill otherwise. Orchestrate the full PR lifecycle: prep (review + verify), create as a draft, ready (merge the base, security review + verify, flip), monitor CI + review comments, merge, and fetch CI logs. Use when: 'create pr', 'ship it', 'pr prep', 'mark ready', 'ready for review', 'fix CI', 'address comments', 'monitor PR', 'merge this', 'check pr status', not for the all-PR babysit loop (use /babysit-prs), branch/worktree lifecycle (use /worktree), or committing without a PR (use /commit).
Resolve an in-progress merge/rebase/cherry-pick conflict by recovering both sides' intent from history before touching any hunk, composing both changes wherever possible, then sweeping for semantic conflicts the markers don't show. Use when: 'resolve conflicts', 'merge conflict', 'rebase stopped', 'CONFLICT (content)', git status shows unmerged paths, not for choosing merge vs rebase or PR lifecycle (use /pull-request), and not for ordinary commits (use /commit).
Configure the source-control plugin. check (read-only, default) reports the effective commit-subject / PR-title convention merged across the user-global, team, and personal-overlay layers plus the babysit-prs userConfig surface; apply interviews the repo, writes the convention config to a chosen layer, and walks the sanctioned babysit reconfigure paths. Use when setting up or inspecting this plugin's configuration, choosing or overriding a commit convention at any layer, configuring or checking babysit, or when /commit, /pull-request, or /babysit-prs report missing configuration. Re-runnable and safe.
When the built-in EnterWorktree or ExitWorktree tool resolves in this session, prefer ExitWorktree with action keep to leave a worktree; this skill to create one, to enter an existing one (claim check, then EnterWorktree by path), and to inventory, clean up, or audit worktrees. Manage git worktree lifecycle for parallel-session isolation: create (external root, then enter), status (PR + staleness inventory), cleanup (file-lock-aware removal), audit (infrastructure health). Use when: 'create worktree', 'worktree status', 'clean up worktrees', 'orphaned worktrees', or proactively when on main before writing code, not for PR lifecycle (use /pull-request).
Plugin manifests1
{
"name": "source-control",
"version": "0.81.1",
"description": "Git and GitHub delivery: /commit (convention-checked subject, Co-authored-by trailer, surgical staging), /pull-request (prep, create, CI monitoring, review triage, merge, CI logs), /babysit-prs (safe-by-default PR fleet loop, opt-in worker and autopilot tiers), /babysit-loop (merge lane; merge is human until the repo adopts it), /worktree, /resolve-conflicts (intent-first), /check, and /setup (layered source-control.md convention config; Conventional Commits by default).",
"author": {
"name": "Melodic Software",
"email": "[email protected]"
},
"license": "MIT",
"keywords": [
"git",
"github",
"commit",
"pull-request",
"babysit",
"worktree",
"merge-conflict",
"rebase",
"ci",
"code-review",
"delivery",
"skill"
],
"userConfig": {
"pr_body_linkage_gate_enabled": {
"type": "boolean",
"title": "PR-body-linkage-gate hook",
"description": "Blocks a gh pr create or gh pr edit whose statically readable PR body would fail the repository's required PR-contract check: no closing keyword, or a missing or empty Summary, Fix, Verification, or Related section. On by default. A body the hook cannot read statically always passes.",
"default": true
},
"pr_linkage_mcp_gate_enabled": {
"type": "boolean",
"title": "PR-linkage-MCP-gate hook",
"description": "Blocks a GitHub MCP create_pull_request or update_pull_request whose PR body would fail the repository's required PR-contract check, covering sessions that open PRs without the gh CLI. On by default. Enforced only for the repository the origin remote names.",
"default": true
},
"branch_issue_pattern": {
"type": "string",
"title": "Branch-to-issue pattern (ERE)",
"description": "Deprecated fallback: set branch_issue_pattern in .claude/source-control.md instead, which wins. A POSIX ERE whose last capture group extracts the numeric GitHub issue number from the branch name. Absent: the built-in <type>/<N>-<slug> (and routine-issue-<N>) convention."
},
"fetch_logs_max_bytes": {
"type": "number",
"title": "CI log fetch size cap (bytes)",
"description": "Aborts a CI-log ZIP fetch larger than this many bytes. Default 52428800 (50 MiB).",
"default": 52428800,
"min": 1
},
"worktree_root": {
"type": "directory",
"title": "Worktree root",
"description": "External root under which /worktree create places worktrees, as <root>/<owner>-<repo>-<slug>, a path outside every repository (on Windows, the same drive as the repo). Absent: the worktrees/ subdirectory of the plugin data dir. Never the in-repo .claude/worktrees/ default."
},
"worktree_stale_days": {
"type": "number",
"title": "Worktree stale age (days)",
"description": "Days since last commit before /worktree status classifies a worktree as stale. Default 14.",
"default": 14,
"min": 1
},
"worktree_reap_after_hours": {
"type": "number",
"title": "Worktree reap age (hours)",
"description": "Hours since last commit before /worktree cleanup proposes an already-safe worktree for removal by default. Default 48.",
"default": 48,
"min": 1
},
"worktree_add_containment_gate_enabled": {
"type": "boolean",
"title": "Worktree-add-containment-gate hook",
"description": "Blocks a raw Bash git worktree add whose resolved target lands inside a git repository (a working tree, or a .git or bare directory), naming the configured external root. On by default. A conforming target, or one the hook cannot resolve statically, passes silently.",
"default": true
},
"worktree_add_claim_gate_enabled": {
"type": "boolean",
"title": "Worktree-add-claim-gate hook",
"description": "After a raw Bash git worktree add, locks the parsed add target with a session-distinct claim (host, session id, timestamp) so concurrent adds cannot steal each other's trees. On by default. Off leaves plain-add trees unclaimed.",
"default": true
},
"worktree_create_gate_enabled": {
"type": "boolean",
"title": "Worktree-create-gate hook",
"description": "Redirects a WorktreeCreate away from Claude Code's default location, which may be inside the repository, to the configured worktree_root. On by default. Off does not hand placement back to Claude Code: the gate refuses and every harness-driven worktree creation fails.",
"default": true
},
"babysit_watched_owners": {
"type": "string",
"title": "Babysit watched owners",
"description": "GitHub owners (users or orgs) babysit-prs may act under. Absent: the current repo's owner is inferred per run.",
"multiple": true
},
"babysit_self_logins": {
"type": "string",
"title": "Babysit extra self identities",
"description": "Extra GitHub posting identities (for example a project bot account) added to your gh api user login to form the self set babysit-prs treats as its own. Not a discovery filter. Absent: your gh login alone.",
"multiple": true
},
"babysit_intended_write_identity": {
"type": "string",
"title": "Babysit intended write identity",
"description": "The single GitHub login babysit-prs's own writes should land under, typically the bot posting identity; a recorded write landing under a different self login surfaces an attribution-drift finding. Set it to one of your self logins. Absent: the check is dormant."
},
"babysit_default_tier": {
"type": "string",
"title": "Babysit default tier",
"description": "Tier an explicit bare /source-control:babysit-prs invocation runs. safe (default) checks, fixes, and reports; worker adds resolving outdated bot threads and gate-proven merges; autopilot adds all authors under the watched owners. Never applies to auto-routed invocations.",
"default": "safe",
"options": [
"safe",
"worker",
"autopilot"
]
},
"babysit_merge_method": {
"type": "string",
"title": "Babysit merge method",
"description": "Merge method for gate-proven merges. auto (default) uses the repository's declared method, then squash; squash, merge, or rebase forces that method when the repository declares none.",
"default": "auto",
"options": [
"auto",
"squash",
"merge",
"rebase"
]
},
"babysit_stacked_prs": {
"type": "boolean",
"title": "Babysit stacked PRs",
"description": "Lets the merge gate merge a native stacked PR layer, which lands every open layer below it. Each of those layers must pass the same gate. Off by default: a stack layer is held for a human.",
"default": false
},
"babysit_autopilot_merge_tier": {
"type": "boolean",
"title": "Babysit autopilot merge tier",
"description": "Turns on the autopilot merge tier: a distinct bot account submits an approving review, then the gate merges only when every criterion holds. Off by default; PRs go to the human merge-ready list. Requires babysit_lane_logins, babysit_approver_bot_logins, and babysit_merge_block_labels.",
"default": false
},
"babysit_lane_logins": {
"type": "string",
"title": "Babysit pipeline lane logins",
"description": "Author logins recognized as pipeline lanes for the autopilot merge tier's lane-authored criterion. Absent: the tier (when on) refuses fail-closed.",
"multiple": true
},
"babysit_approver_bot_logins": {
"type": "string",
"title": "Babysit approver bot logins",
"description": "Bot logins whose approving review satisfies the autopilot merge tier's author-is-not-approver criterion. Absent: the tier (when on) refuses fail-closed.",
"multiple": true
},
"babysit_merge_block_labels": {
"type": "string",
"title": "Babysit merge block labels",
"description": "Labels that veto an autopilot-merge-tier merge, for example do-not-merge. Absent and undeclared in the target repository: the tier (when on) refuses fail-closed.",
"multiple": true
},
"babysit_review_trigger_phrase": {
"type": "string",
"title": "Babysit review trigger phrase",
"description": "Comment phrase that requests an AI re-review (posted and recognized). Read only from this option: a target repository cannot supply it. Absent: the review-trigger module stays dormant."
},
"babysit_review_bot_logins": {
"type": "string",
"title": "Babysit review bot logins",
"description": "Logins of the AI review bots the trigger phrase addresses, and whose review of the live head the merge gate waits for. Absent: the review-trigger module and the merge gate's review-settle hold stay dormant.",
"multiple": true
},
"babysit_review_settle_minutes": {
"type": "number",
"title": "Babysit review settle window (minutes)",
"description": "How long after a head appears a review bot's re-review may still be in flight; the merge gate holds an unreviewed head until the window elapses. Requires babysit_review_bot_logins. Absent: the hold stays dormant. Set it above the reviewer's observed latency."
},
"babysit_review_gate_context": {
"type": "string",
"title": "Babysit review gate context",
"description": "Check or status context name of the AI-review gate. Absent: the gate is treated as absent (degrade)."
},
"babysit_ci_gateway_context": {
"type": "string",
"title": "Babysit CI gateway context",
"description": "Check or status context name of a CI gateway check. Absent: gateway classification unused."
},
"babysit_extra_bot_logins": {
"type": "string",
"title": "Babysit extra bot logins",
"description": "Additional logins to treat as bots when structural detection cannot identify them. Absent: structural detection only.",
"multiple": true
},
"babysit_extra_dependency_manager_logins": {
"type": "string",
"title": "Babysit extra dependency-manager logins",
"description": "Dependency-manager bot logins beyond the built-in dependabot and renovate set whose PRs the merge gate holds unless --allow-dependency is passed, the same as the built-ins. Absent: the built-in set only.",
"multiple": true
},
"babysit_approval_downgrade_logins": {
"type": "string",
"title": "Babysit approval-downgrade logins",
"description": "AI reviewer logins whose approval carrying blocking-looking prose is surfaced as a material finding instead of ignored. Every bot's such approval is downgraded to non-blocking regardless. Absent: such approvals are ignored for every bot.",
"multiple": true
},
"babysit_skip_downgrade_logins": {
"type": "string",
"title": "Babysit skip-downgrade logins",
"description": "AI reviewer logins whose skip or no-op review is not treated as an approval. Absent: the downgrade heuristic stays dormant.",
"multiple": true
},
"babysit_max_quiet_recheck_seconds": {
"type": "number",
"title": "Babysit max quiet recheck (seconds)",
"description": "Longest a quiet PR may go without a worker recheck, in seconds. Default 14400.",
"default": 14400
},
"babysit_stuck_check_age_seconds": {
"type": "number",
"title": "Babysit stuck-check age (seconds)",
"description": "Minimum age before a pending non-required check under UNSTABLE is reported stuck (a stuck_queued or never_settling material finding). Default 1800. Orphaned status contexts with no backing run are detected structurally and ignore this threshold.",
"default": 1800
},
"babysit_advisory_fix_round_cap": {
"type": "number",
"title": "Babysit advisory fix-round cap",
"description": "Per-PR cap on advisory-only fix rounds; never caps blocking defects. Default 100.",
"default": 100
},
"babysit_worker_concurrency_cap": {
"type": "number",
"title": "Babysit worker concurrency cap",
"description": "Maximum per-PR workers dispatched concurrently in one cycle. Default 10.",
"default": 10
},
"babysit_worktree_root": {
"type": "directory",
"title": "Babysit worktree root",
"description": "Root directory for babysit-managed ephemeral worktrees. Absent: the worktrees/ subdirectory of the plugin data dir."
},
"lane_instance": {
"type": "string",
"title": "Lane instance ID",
"description": "Writer identity for this machine's babysit-loop telemetry, the suffix of its telemetry marker, so concurrent lane instances never overwrite each other. Absent: the sanitized lowercased hostname. Must match ^[a-z0-9][a-z0-9-]{0,31}$. It appears verbatim in tracker comments."
},
"promotion_evidence_binding": {
"type": "file",
"title": "Promotion-evidence security binding",
"description": "Absolute path to the security binding document the babysit-loop promotion-evidence seam reads. It must sit outside the target repository and every lane worktree, readable but not writable by the lane. Absent: no bootstrap is configured and every promotable cell stays effective-unpromoted."
},
"promotion_evidence_root": {
"type": "directory",
"title": "Promotion-evidence probe root",
"description": "Absolute path to the directory passed as --probe-evidence-root, the protected surface isolation probe transcripts resolve against. Outside the target repository and every lane worktree, read-only to the lane. Absent: every promotable cell stays effective-unpromoted."
},
"promotion_evidence_source": {
"type": "file",
"title": "Promotion-evidence events file",
"description": "Absolute path to the epoch-scoped promotion-evidence events file passed as --evidence, published by an operator-side process. Outside the target repository and every lane worktree, read-only to the lane. Absent: every promotable cell stays effective-unpromoted."
},
"promotion_evidence_checker": {
"type": "file",
"title": "Promotion-evidence checker",
"description": "Absolute path to the check-security-binding.mjs the promotion-evidence seam runs, from an autonomy plugin install the operator trusts. Outside the target repository and every lane worktree, read-only to the lane. Absent: every promotable cell stays effective-unpromoted."
},
"setup_inference_window": {
"type": "string",
"title": "Setup inference history window",
"description": "git log --since window /source-control:setup samples for commit-subject convention inference; any git approxidate, for example 1 year or 6 months. Default 1 year.",
"default": "1 year"
},
"setup_inference_recency_days": {
"type": "number",
"title": "Setup inference recency split (days)",
"description": "Boundary for the recency split in /source-control:setup's convention-inference report: subjects newer than this many days are the recent bucket, weighted as the live convention when its share diverges from the older bucket. Default 90.",
"default": 90,
"min": 1
},
"setup_inference_min_commits": {
"type": "number",
"title": "Setup inference floor (commits)",
"description": "Below this many classifiable subjects in the window, /source-control:setup widens inference to full history; still below it, the inference is reported low-confidence. Default 50.",
"default": 50,
"min": 1
}
}
}For maintainers
If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.
[source-control on Agent Plugins Marketplace](https://pluginsmp.com/plugins/source-control)