## Why
The git plugin only covered a partial slice of common git workflows.
This adds the remaining skill set (branches, commits, history, remotes,
submodules, workflow, worktrees) plus a git-orchestrate agent so the
plugin can handle end-to-end git automation instead of a handful of
commands.
## Implementation Notes
Each new skill was validated against its research docs and org
conventions after initial authoring, which surfaced hallucinated
version pins, factual errors, and completeness gaps that were
corrected in the same pass rather than left for follow-up.
## Impact
Bumps the git plugin to 1.3.0.
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
Catches filenames that would collide on case-insensitive filesystems
mixed-line-ending
https://github.com/pre-commit/pre-commit-hooks
v6.0.0
Normalizes line endings
no-commit-to-branch
https://github.com/pre-commit/pre-commit-hooks
v6.0.0
Blocks direct commits to protected branches — defaults to blocking main+master with no args; add args: [--branch, <name>] only to protect additional branch names
Shell (.sh)
Hook ID
Repo
Rev
Rationale
shellcheck
https://github.com/jumanjihouse/pre-commit-hooks
3.0.0
Unverified — not in research corpus, verify upstream before use. Static analysis for shell scripts; catches common errors
Recommended args: args: [--severity=warning]
Python (.py)
Hook ID
Repo
Rev
Rationale
check-ast
https://github.com/pre-commit/pre-commit-hooks
v6.0.0
Validates Python files parse as valid AST
check-builtin-literals
https://github.com/pre-commit/pre-commit-hooks
v6.0.0
Enforces literal syntax for dict(), list()
For formatting: check if black, ruff, or isort is already configured in pyproject.toml before recommending them.
JSON (.json)
Hook ID
Repo
Rev
Rationale
check-json
https://github.com/pre-commit/pre-commit-hooks
v6.0.0
Validates JSON parses correctly
pretty-format-json
https://github.com/pre-commit/pre-commit-hooks
v6.0.0
Auto-formats JSON (fixer — warns user to re-stage after commit)
YAML (.yaml, .yml)
Hook ID
Repo
Rev
Rationale
check-yaml
https://github.com/pre-commit/pre-commit-hooks
v6.0.0
Validates YAML parses correctly
For Kubernetes/Helm YAML with custom tags, add args: ['--unsafe'] and exclude: ^helm/templates/.
TOML (.toml)
Hook ID
Repo
Rev
Rationale
check-toml
https://github.com/pre-commit/pre-commit-hooks
v6.0.0
Validates TOML parses correctly
Secrets / security
Hook ID
Repo
Rev
Rationale
gitleaks
https://github.com/gitleaks/gitleaks
v8.30.1
Unverified — not in research corpus, verify upstream before use. Scans for secrets and high-entropy strings
The revs above were last verified current at time of writing (matched against the plugin's own research corpus in docs/research/docs/pre-commit/; rows marked "Unverified" have no such backing and must be checked against upstream before use). Since pc-author's "Rev staleness" check treats this table as ground truth, a pin that goes stale here produces false-positive staleness warnings for users who already have a newer, correct rev. Re-verify these pins periodically (e.g. against each repo's latest release tag). When in doubt, treat pre-commit autoupdate's own output as the authoritative staleness signal, not a mismatch against this table.