Guidelines for interacting with Git and GitHub, repository conventions, safe branching, committing changes, and asking for permissions when performing destructive actions.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Github Workflow?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/yaqob3653-github-workflow)
---
name: github-workflow
description: Guidelines for interacting with Git and GitHub, repository conventions, safe branching, committing changes, and asking for permissions when performing destructive actions.
---
# GitHub & Git Workflow Skill
This skill describes how to interact with Git and GitHub safely within Vlypse. It is authoritative for the usage of the **gh** CLI and standard **git** commands.
## How to Interact with GitHub
To perform actions on GitHub:
* Use the **gh** CLI whenever available (`gh pr`, `gh issue`, `gh repo`).
* Always specify the repository explicitly when not in a cloned repo root: `-R owner/repo`.
* Use the standard **git** command for branch, commit, and local repository operations.
## Safety & Permission Guidelines
1. **Destructive Operations Require Confirmation**:
- Never run force-push (`git push --force` or `git push -f`) on `main`, `master`, or production branches.
- Never delete remote branches without explicit user confirmation.
- Always run `git status` and `git diff` before committing to verify changes.
2. **Branching Conventions**:
- Create feature or fix branches: `git checkout -b feat/feature-name` or `git checkout -b fix/issue-name`.
- Keep commits small, focused, and well-described.
3. **Commit Message Format**:
- Write concise, imperative commit messages (e.g., `feat: add user authentication`, `fix: resolve token refresh loop`).