/git-safety
Git safety rules. INVOKE WHEN: git push, force push, git reset, git clean, destructive git, push force, reset hard. NEVER force push or do destructive git operations.
$ npx -y skills add tamagui/tamagui --skill git-safety --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/git-safety
Context preview
The summary Claude sees to decide when to auto-load this skill.
Git safety rules. INVOKE WHEN: git push, force push, git reset, git clean, destructive git, push force, reset hard. NEVER force push or do destructive git operations.
SKILL.md
git-safety.SKILL.mdname: git-safety description: Git safety rules. INVOKE WHEN: git push, force push, git reset, git clean, destructive git, push force, reset hard. NEVER force push or do destructive git operations.
git safety
rules for git operations in this repo.
rules
- NEVER force push (`git push --force` or `git push -f`)
- NEVER `git reset --hard` without explicit permission
- NEVER `git clean -fd` without explicit permission
- prefer `git stash` over `git reset`
- always `git pull` before `git push`
forbidden commands
these require EXPLICIT user permission:
- `git push --force`
- `git push -f`
- `git push --force-with-lease`
- `git reset --hard`
- `git clean -fd`
- `git checkout -- .` (discards all changes)
safe alternatives
instead of `git reset --hard`:
- `git stash` to save changes
- `git stash pop` to restore
instead of force push:
- `git pull --rebase` then normal push
- ask user how to resolve conflicts
workflow
1. `git pull` before making changes 2. make changes 3. `git add` relevant files 4. `git commit` 5. `git pull` again before push 6. `git push` (no force flags)
Style React fast with 100% parity on React Native, an optional UI kit, and optimizing compiler.
Repo: tamagui/tamagui
Other skills on tamagui.
- /release-safety
Release safety rules. INVOKE WHEN: yarn release, npm publish, release canary, release packages, publishing, skip checks, skip tests. NEVER skip checks or tests without explicit permission.
Open skill - /tamagui
Universal React UI framework for web and native. Use when building cross-platform apps with Tamagui, creating styled components with `styled()`, configuring design tokens/themes, using Tamagui UI components, or working with animations. Triggers: "tamagui", "styled()", "$token",
Open skill

