Skip to content
Frontend
Skill

/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.

From plugin
tamagui
14k6 skills

Claude Code

$ npx -y skills add tamagui/tamagui --skill git-safety --agent claude-code

SKILL.md

git-safety.SKILL.md
name: 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)

@tamagui
Ships withtamagui

Style React fast with 100% parity on React Native, an optional UI kit, and optimizing compiler.

Stars on GitHub

Momentum

stars in total
14.3k
Star history of tamagui/tamagui on GitHub, a chart by star-history.com

Other skills on tamagui.

release-safety

release-safety

Release safety rules. INVOKE WHEN: yarn release, npm publish, release canary, release packages, publishing, skip checks, skip…

@tamagui@tamaguiInstall Skill
tamagui-theme-generator

tamagui-theme-generato…

Generate custom Tamagui themes, color palettes, and preview URLs. Use when creating or refining a color scheme, authoring…

@tamagui@tamaguiInstall Skill
tamagui-upgrade-v3

tamagui-upgrade-v3

Migrate an app from Tamagui v2 (or v1) to v3. Use when upgrading Tamagui versions, removing `$` token prefixes, converting…

@tamagui@tamaguiInstall Skill
tamagui-v6-config

tamagui-v6-config

Tamagui v6 theme system: the light/dark/accent/brand/inverse/level/active theme family, the background-active one-off key, and…

@tamagui@tamaguiInstall Skill
tamagui

tamagui

Universal React UI framework for web and native with flat conditional values. Use when building cross-platform apps with Tamagui,…

@tamagui@tamaguiInstall Skill

More skills from other plugins.

next-bundle-optimizer
Auto-invoked

next-bundle-optimizer

Audit and reduce Next.js browser initial-load work. Use for slow route startup, oversized client bundles, duplicate browser…

nextjs2d143k
@vercel@vercelInstall Skill
migrate-radix-to-base

migrate-radix-to-base

Migrates React projects and components from Radix UI to Base UI. Use when asked to migrate from radix, move to base-ui, convert…

ui11d127k
@shadcn-ui@shadcn-uiInstall Skill
chrome-release-cls

chrome-release-cls

Given a Chrome Releases blog post URL (chromereleases.googleblog.com), extract every CVE/bug and find the underlying Gerrit CL…

electron2d124k
@electron@electronInstall Skill
taste-skill
Auto-invoked

taste-skill

tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One…

@leonxlnx@leonxlnxInstall Skill

Questions about git-safety.

Which coding agents can use git-safety?
git-safety installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.