Skip to content
Back to skills

Safe Git Integration

ASecurity

Integrate reviewed work into Git safely using exact repository state, scoped staging, coherent commits, branch hygiene, conflict discipline, and remote verification.

  • 16 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
ai-agentsgit

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add Dadmin88/hermes-profile-packs --skill safe-git-integration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Safe Git Integration?

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

Security grade badge for Safe Git Integration
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dadmin88-safe-git-integration/badge)](https://www.skillsdirectory.com/skills/dadmin88-safe-git-integration)

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: safe-git-integration
description: Integrate reviewed work into Git safely using exact repository state, scoped staging, coherent commits, branch hygiene, conflict discipline, and remote verification.
---
# Safe Git Integration

Use for staging, committing, rebasing, merging, cherry-picking, pull requests, or release checkpoints.

## Procedure
1. Inspect branch, HEAD, remotes, worktrees, status, staged state, and divergence before changing Git state.
2. Preserve unrelated work. Never stage by broad pattern when the requested change can be scoped to known paths.
3. Review the exact diff being committed and verify generated/vendor changes are intentional.
4. Create coherent commits whose message describes the resulting change, not the editing process.
5. Before rebasing/merging/cherry-picking, identify local modifications and conflict risk; use a recoverable strategy.
6. Resolve conflicts by understanding both sides, then rerun relevant validation.
7. After push/merge, verify the remote branch or PR points at the intended commit and report exact identifiers when useful.

## Quality gate
A Git operation is complete only when repository state is understood and no unrelated work was silently lost, staged, or overwritten.

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.

Comments

Loading comments…