Skip to content
Back to skills

Git Workflow

BSecurity

Executes standard Git workflow operations including branch creation, Conventional Commits formatting, pre-commit validation, and pull request hygiene.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 21, 2026
toolspythongobashgit

Security analysis

B75/100
  • criticalReads or references SSH private keys

Pro shows the line behind each finding and how to fix it

Scanned November 21, 2026

npx -y skills add sun-flat-yamada/dotfiles --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: B — Skills Directory](https://www.skillsdirectory.com/api/skills/sun-flat-yamada-git-workflow/badge)](https://www.skillsdirectory.com/skills/sun-flat-yamada-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: "Executes standard Git workflow operations including branch creation, Conventional Commits formatting, pre-commit validation, and pull request hygiene."
category: "skill"
status: "active"
alwaysApply: false
globs:
  - ".github/**/*"
  - ".githooks/**/*"
  - "**/*"
tags:
  - "skill"
  - "git"
  - "workflow"
  - "vcs"
  - "conventional-commits"
---
# Skill: Git Workflow (`git-workflow`)

## Instructions
1. **Branch Verification**:
   - Check current git branch and status before making modifications (`git status`, `git branch --show-current`).
   - If currently on `main`, create a topic branch using conventional prefixes (`feat/`, `fix/`, `docs/`, `refactor/`, `chore/`).
2. **Pre-Commit Checks**:
   - Run verification scripts before staging:
     ```bash
     python scripts/apply-template.py --check
     ```
3. **Commit Formatting**:
   - Format commit messages strictly to the Conventional Commits specification:
     `type(scope): subject`
   - Keep the first line under 72 characters.
4. **Staging & Commit**:
   - Stage specific files explicitly rather than running `git add .` indiscriminately.
   - Verify that no secret files (`.env`, `*.pem`, `id_rsa`) are staged.

## Examples
```bash
# Good Branch & Commit
git checkout -b feat/oauth-auth-handler
git add src/auth/oauth.py tests/test_oauth.py
git commit -m "feat(auth): implement OAuth2 token refresh handler"
```

## Best Practices
- Never use `--no-verify` to bypass Git hooks.
- Keep commits atomic: one conceptual change per commit.

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 tools →

Comments

Loading comments…

Newsletter

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