Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
git-safety - Skill - OpenSmartRoute
Skillv1.0.0
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-de
Imported from open-coder-ai-org/chock-catalog (base/git-safety/skills/git-safety/SKILL.md). Install upstream with npx skills add open-coder-ai-org/chock-catalog --skill git-safety. Copyright stays with the author.
Git Safety Rule
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 and diff-size guidance no gate can decide.
This skill is advisory: the client reading it has no mechanism to enforce it, and this policy stays advisory even when compiled by chock -- it ships rule text, not a blocking hook. See https://github.com/open-coder-ai/chock
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/open-coder-ai-org-chock-catalog-git-safety/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
{
"ocm": "1",
"id": "open-coder-ai-org-chock-catalog-git-safety",
"kind": "skill",
"name": "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, 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 and diff-size guidance no gate can decide.",
"publisher": "open-coder-ai-org",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"github"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"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 and diff-size guidance no gate can decide."
],
"primary": false,
"metadata": {
"source": {
"provider": "github",
"repository": "https://github.com/open-coder-ai-org/chock-catalog",
"path": "base/git-safety/skills/git-safety/SKILL.md",
"ref": "8dd3d31401eb2a515ee7c9fc1155deacc5329e9b",
"url": "https://github.com/open-coder-ai-org/chock-catalog/blob/8dd3d31401eb2a515ee7c9fc1155deacc5329e9b/base/git-safety/skills/git-safety/SKILL.md",
"key": "open-coder-ai-org/chock-catalog/base/git-safety/skills/git-safety/SKILL.md"
}
},
"instructions": "# Git Safety Rule\n\ntrigger: 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 and diff-size guidance no gate can decide.\n\n```\nsee(block-destructive-commands): f",
"cost": {
"context_tokens": 268
}
}
Fetch it by URL: GET /api/v1/registry/open-coder-ai-org-chock-catalog-git-safety/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.