Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Git Workflow

ASecurity

Handle Git commits, branches, merges, rebases, conflicts, pull requests, tags, and releases with inspect-first, non-destructive workflows. Use when a task changes repository history or asks for a Git or pull-request operation.

2 stars
0 votes
0 copies
0 views
Added 10/5/2026
documentationshellgit

Security Analysis

A100/100

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

Scanned 10/5/2026

$npx -y skills add meowdiocre/meowpi --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 automatically with every re-scan.

Security grade badge for Git Workflow
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/meowdiocre-git-workflow/badge)](https://www.skillsdirectory.com/skills/meowdiocre-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
Files
SKILL.md
---
name: git-workflow
description: Handle Git commits, branches, merges, rebases, conflicts, pull requests, tags, and releases with inspect-first, non-destructive workflows. Use when a task changes repository history or asks for a Git or pull-request operation.
---

# Git workflow

Use Git as a record of intentional, verified changes. Repository instructions and the user's requested branching or release model take precedence.

## Start from evidence

Before changing repository state, inspect:

```sh
git status --short --branch
git diff
git diff --cached
git log --oneline --decorate -10
git remote -v
```

Identify the current branch, its upstream, the intended base branch, staged and unstaged changes, and untracked files. Preserve changes that are not part of the task. Do not assume a dirty tree is disposable.

## Choose the relevant workflow

- For staging, atomic commits, messages, amends, reverts, and history safety, read [commits and history](references/commits-and-history.md).
- For branches, merges, rebases, stashes, cleanup, and conflicts, read [branches and conflicts](references/branches-and-conflicts.md).
- For pull requests, tags, semantic versions, changelogs, and releases, read [pull requests and releases](references/prs-and-releases.md).
- When composing a commit message, load `caveman-commit` and let repository-native conventions win.

## Core workflow

1. Confirm what belongs in the change and what must remain untouched.
2. Follow the repository's branch policy. Create or switch branches only when required by the task or local rules.
3. Stage deliberately, preferably by explicit path or patch. Review the staged diff before committing.
4. Run the evidence required by the change. Do not encode known failures into history without reporting them.
5. Compose a message from the staged behavior and its reason, then commit only when the request includes committing.
6. Re-check status and the created commit. Confirm unrelated changes remain intact.
7. Push, open or update a pull request, tag, publish, or release only when the task includes that external action.

## Safety boundaries

- Treat `reset --hard`, `clean`, force-push, branch deletion, tag replacement, and public-history rebases as destructive. Do not use them without clear authorization and exact targets.
- Prefer `git restore`, `git revert`, a new corrective commit, or a backup branch when they preserve recoverability.
- Never combine unrelated working-tree changes merely to obtain a clean status.
- Never bypass hooks, required checks, signatures, or protected-branch rules unless the user explicitly requests it and the repository permits it.
- Use `--force-with-lease` rather than `--force` only when an authorized history rewrite is genuinely necessary.

Finish with the resulting branch or commit, the verification run, any remaining working-tree changes, and whether anything was pushed or published.

## Loading in Oh My Pi

Relative paths in this skill (`references/…`, `scripts/…`) resolve against the skill's own directory. Read them with `skill://git-workflow/<relative-path>`. When a shell command needs a real filesystem path, that directory is `<OMP_HOME>/skills/git-workflow/` — `~/.omp/agent/skills/git-workflow/` by default. Invoking `/skill:git-workflow` also prints the resolved location.

Attribution

meowdiocremeowdiocre
View sourceSee grades on GitHubMore from meowdiocre →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

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 (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Context Fundamentals

Understand the components, mechanics, and constraints of context in agent systems. Use when designing agent architectures, debugging context-related failures, or optimizing context usage.

179001 votes

Architecture Diagram Creator

Create comprehensive HTML architecture diagrams with data flows, business context, and system architecture.

6661 votes

release-notes

Draft release notes and changelog entries from git history or merged PRs between two refs (tags/SHAs/branches), including breaking changes, migrations, and upgrade steps. Use when the user asks for release notes, changelog updates, or a GitHub Release draft.

1301 votes

docs-style-guide

Documentation style guide enforcer by @planetabhi. Applies and reviews the writing style guide when authoring or editing product documentation and tutorials. Use to check prose for voice, tense, word choice, inclusive language, formatting, code block, UI, Markdown, and number/date conventions.

11 votes

Docx

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in W...

1798860 votes
View all in documentation →