github-sync-helper
Installation
SKILL.md
Objectives
Codify GitHub/Git "basic operations" and common collaboration workflows into:
- A clear command quick reference (explanation + when to use)
- Executable one-click scripts (to avoid repetitive manual steps)
- Common outputs that are "numbered" whenever possible, so the user can reply with a number to choose an item directly, such as from a repository list
Security and Constraints (Must Be Followed)
| No. | Rule | Reason |
|---|---|---|
| 1 | Do not output tokens: No command may echo or print $GITHUB_TOKEN to stdout |
Prevent leaks |
| 2 | Require a second confirmation for dangerous operations: deleting branches, emptying directories, forced overwrites, force pushes, and direct pushes to main | These operations are hard to reverse |
| 3 | Use "branch + PR" collaboration by default; only "push directly to main" when the user explicitly requests it | Reduce the risk of damaging the main branch |
| 4 | Run git status before push/pull |
Prevent accidental commits or overwrites |