cellm/skills/gitpro/SKILL.md
Universal Git operations for any project: semantic commit, safe push, sync pipeline, user-requested PR opening, and optional bump/changelog integrations when available. Supports delegated execution mode for orchestrators (e.g., sk-git) with no interactive menus.
npx skillsauth add murillodutt/cellm cellm/skills/gitproInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
gitpro is the plugin-ready replacement for repository-specific git wrappers. It is universal by default, capability-driven, and safe in autonomous sessions.
| Arg | Action |
|---|---|
| (none) | Show concise status: working tree, branch, ahead/behind, pending commits |
| commit | Infer semantic message, stage, commit, run optional checks if available |
| push | Push current branch safely (with upstream setup when missing) |
| sync | Ordered pipeline: check -> optional bump -> commit -> push |
| bump [version] | Prefer cellm:bump delegation; fallback to project scripts if available |
| check | Dry-run capability and version/changelog sync checks |
| pr-open | Create a pull request for the current branch only after explicit user request |
gitpro supports non-interactive delegated execution when called by a higher-level
orchestrator (example: sk-git).
Flags:
--delegated: enable delegated contract--op <mode>: explicit operation (commit|push|sync|bump|check|status|pr-open)Delegated contract:
silent-safe with fail-closed safety--delegated is active, delegated contract overrides generic --silent defaults--opFor state-changing flows (commit, push, sync, bump), gitpro MUST run a 3-menu navigation gate via AskUserQuestion before mutating the repository, except in delegated mode.
--silent: menus are skipped and resolved to safe defaults (never unsafe defaults).--delegated: menus are skipped unconditionally and execution uses delegated contract.Select operation route:
statuscheckcommitpushsyncbumppr-openabortRules:
Choose execution posture:
assisted — confirmations at key mutation points.silent-safe — no confirmations, safety checks still enforced.Rules:
--silent, force silent-safe.Choose optional integrations:
bump-if-neededchangelog-if-availablemd-lint-if-md-changedskip-optional-integrationsRules:
skip-optional-integrations is selected, it overrides other optional choices.--silent, default to: bump-if-needed + md-lint-if-md-changed, and changelog-if-available only when capability exists and no failure risk is introduced.--delegated, default to skip-optional-integrations unless caller explicitly requests otherwise.Silent mode skips confirmations, not safeguards.
Detect capabilities in this order:
cellm:bump skill available for delegated version orchestration.${CLAUDE_PLUGIN_ROOT}/skills/gitpro/scripts/gitpro-version-sync.sh.scripts/sync-version.sh exists (project-local fallback).package.json scripts include changelog or release hooks.lint:md, lint:md:fix).If capability is missing, continue with degraded but explicit path. Never fail silently.
git rev-parse --is-inside-work-tree).git branch --show-current).Failure: not a git repo -> stop with actionable error.
AskUserQuestion (interactive mode only).--op (or explicit mode arg), set autonomy to silent-safe, and set integration policy to skip-optional-integrations unless caller explicitly overrides.Hard rule:
--delegated is active with explicit operation.--op.check and as sync pre-step)scripts/sync-version.sh --check-only when available.
gitpro-version-sync.sh --check-only --project-root <repo>; if unavailable, project-local scripts/sync-version.sh --check-only.git status --porcelain, git diff --name-only, git diff --cached --name-only).type(scope): description from changed paths and diff signals.assisted, confirm message; in silent-safe, apply safe default..md files changed and md-lint-if-md-changed policy is active, run lint when capability exists.Hard rules:
--no-verify.cellm:bump is available, delegate first.gitpro-version-sync.sh is available, execute it with --project-root <repo>.scripts/sync-version.sh exists, execute script path.Hard rule:
git push -u origin <branch>.git push.Hard rules:
Execute in order:
pr-open is the scheduled PR path. It exists for review/release moments and
must not be folded into routine commit, push, or sync.
Required flow:
gh pr create using the repository PR template when present.Hard rules:
main or the configured base branch.--op pr-open.| Signal | Type |
|---|---|
| New feature files / endpoints / components | feat |
| Bug fix indicators (fix, bug, error handling) | fix |
| Docs-only changes | docs |
| Refactor-only structural changes | refactor |
| Test-only changes | test |
| Scripts/build/config changes | chore |
| Path signal | Scope |
|---|---|
| docs/** or *.md only | docs |
| scripts/** | scripts |
| tests/** | test |
| oracle/** | oracle |
| cellm-plugin/** | plugin |
| .claude/skills/** or cellm-core/skills/** | skills |
| mixed cross-domain | core |
.env
.env.*
*.pem
*.key
*.p12
id_rsa
credentials.json
secrets.yaml
*.secret
config/secrets/*
Interactive: ask before excluding or aborting. Silent: abort.
<type>(<scope>): <description>
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
AskUserQuestion in interactive runs--delegated) — delegated calls are non-interactive by contract--op or explicit mode arg)--op commit into implicit bump/changelog/push without explicit caller requestgit push --forcegit reset --hardgit commit --no-verifygit commit --amend (unless explicitly requested)git rebase without explicit user authorizationdata-ai
Prose override — temporarily disable quantization and respond in readable prose. Use when relational density matters, for safety-critical explanations, onboarding handoffs, or when token economy is not the priority.
development
Govern explicit weekly Super PRs or maintainer-requested PR merges. Evaluates a 10-criterion readiness checklist and performs governed merge only when a user-requested PR is READY. Never creates or keeps permanent PRs. Use when: 'pr-check', 'pr-merge', 'merge this PR safely', 'is PR ready', 'guard merge', or /sk-git delegates pr-merge.
data-ai
Operational surface for the compress-llm Layer-1 token I/O compressor. Enable, disable, switch mode, and inspect status without editing config files. Use when tuning compression pressure for the current session or project.
tools
Generate structured upstream feedback for the CELLM engineering team. Produces evidence-first Markdown at docs/evidence/<date>-cellm-feedback-*.md for bugs, anti-patterns, deprecation gaps, and harness surprises, with optional atom registration via knowledge_ops. Use when: 'feedback for CELLM', 'send to CELLM team', 'register this as atom', 'document this anti-pattern', 'report this bug upstream'. Trigger proactively on MCP schema/runtime mismatches, mechanical edit loops (>=3 sequential edits), short deprecation windows (<6 weeks), or reusable harness surprises. Do NOT trigger for routine feature work or project-local bugs.