Skip to content
Back to skills

Git Workflow

ASecurity

Perform requested Git actions while preserving user work. Triggers on "commit", "提交".

  • 3 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 4, 2026
developmentdebugginggit

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned November 9, 2026

npx -y skills add int2t05/engineering-skills --skill git-workflow --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Git Workflow?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Git Workflow
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/int2t05-git-workflow/badge)](https://www.skillsdirectory.com/skills/int2t05-git-workflow)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: git-workflow
description: Perform requested Git actions while preserving user work. Triggers on "commit", "提交".
---

# Git Workflow and Versioning

## When to use

- Perform requested Git actions while preserving user work.

**Not for:** implement for code; shipping for production rollout.

## Steps

1. Inspect status, staged changes, branches and operation state; determine the authorized action.

2. Prepare coherent changes and relevant checks; stage explicit paths and commit only when requested.

3. Resolve conflicts by tracing both intents and verifying each coherent unit; do not reset or abort destructively without authority.

4. Report local state; every push requires explicit confirmation after the verified result is prepared.

## Verify

- Content matches authorization and checks; user history is preserved and local work does not imply push.

## References

- [engineering-principles.md](../../../references/engineering-principles.md) — shared decision boundaries, scope and verification.
- [references/block-dangerous-git.sh](references/block-dangerous-git.sh) — PreToolUse hook blocking force pushes, `reset --hard`, `clean -f`, `branch -D`, etc.
- [references/block-dangerous-git-setup.md](references/block-dangerous-git-setup.md) — settings.json wiring (project + global) for the block-dangerous-git hook
- [references/pre-commit-setup.md](references/pre-commit-setup.md) — Husky + lint-staged + Prettier pre-commit hook setup
- [references/git-debugging.md](references/git-debugging.md) — bisect/log/diff/blame commands for tracing regressions
- [references/versioning.md](references/versioning.md) — semver definitions, tag commands, changelog format

Files in this skill

  • SKILL.md8 KB
  • agents/openai.yaml157 B
  • references/block-dangerous-git-setup.md1.1 KB
  • references/block-dangerous-git.sh856 B
  • references/git-debugging.md672 B
  • references/pre-commit-setup.md2.1 KB
  • references/versioning.md1.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.