---
title: "git-safety"
description: "trigger: force push, hard reset, destructive branch delete, hook bypass, direct main commits. avoid: rewriting remote history, discarding uncommitted work, skipping pre-commit checks. Install block-destructive-commands, "
canonical: https://agentpluginsdirectory.com/plugins/git-safety--open-coder-ai-7
last-updated: 2026-11-13
---

# git-safety
trigger: force push, hard reset, destructive branch delete, hook bypass, direct main commits. avoid: rewriting remote history, discarding uncommitted work, skipping pre-commit checks. Install block-destructive-commands, block-no-verify and protect-main-branch for the enforced counterparts of these controls (protect-main-branch is a commit-time gate; the other two are pre-execution guards on hook-carrying clients, advisory elsewhere); this rule is the advisory layer over them plus atomic-commit guidance no gate can decide; limit-diff-size is the commit-time gate for diff size.
## Package we checked
The manifest we fetched is .agents/policies/git-safety/plugin.json in open-coder-ai/chock. The plugin root is the directory that holds that file. Its $schema is https://agent-plugins.org/schemas/1.0.0/plugin.schema.json. The manifest lists 1 skill (git-safety) and no MCP servers. Extension keys: io.github.open-coder-ai.
- Slug: git-safety--open-coder-ai-7
- Publisher: chock-core
- Repository: https://github.com/open-coder-ai/chock
- Manifest: .agents/policies/git-safety/plugin.json
- Version: 0.0.3
- License: Apache-2.0
- Category (editorial): other
- Skills: 1 (git-safety)
- MCP servers: 0
- Stars: 10
- Repository created: 2026-08-17
- Repository last pushed: 2026-11-13
- Publisher type: Organization
- Listing: https://agentpluginsdirectory.com/plugins/git-safety--open-coder-ai-7
- Schema: https://agent-plugins.org/schemas/1.0.0/plugin.schema.json

## Skills

- git-safety: trigger: force push, hard reset, destructive branch delete, hook bypass, direct main commits. avoid: rewriting remote history, discarding uncommitted work, skipping pre-commit checks. Install block-destructive-commands, block-no-verify and protect-main-branch for the enforced counterparts of these…

Descriptions come from the frontmatter of each SKILL.md, punctuation lightly normalized.
