askill
git

gitSafety 90Repository

Git operations for committing, pushing, and opening PRs. Includes safety rules to prevent destructive operations. Use when performing any version control tasks — commit, push, PR, or full ship workflow.

0 stars
1.2k downloads
Updated 2/27/2026

Package Files

Loading files...
SKILL.md

<essential_principles>

<git_safety> Never run without explicit user request:

  • git push --force to main/master
  • git reset --hard
  • --no-verify flag (skip hooks)
  • git commit --amend on pushed commits
  • Direct push to main/master (create feature branch first)

Always verify before acting:

  • git status before staging
  • git log --oneline -5 for commit style
  • Check remote tracking before push

Branch naming:

  • Features: feat/description
  • Fixes: fix/description
  • Chores: chore/description </git_safety>

<commit_format> Commit message structure:

type(scope): short description

- What changed (if not obvious from description)
- Why it changed (motivation)

Co-Authored-By: Claude <noreply@anthropic.com>

Types: feat, fix, refactor, test, docs, chore, perf

Use HEREDOC for multi-line messages:

git commit -m "$(cat <<'EOF'
feat(auth): add JWT refresh token rotation

- Rotates refresh tokens on every use
- Prevents replay attacks on stolen tokens

Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"

</commit_format>

<pr_format> PR body:

## Summary
- [What this PR does in 1-3 bullets]

## Test plan
- [ ] [Test 1]
- [ ] [Test 2]

## Changes
- [File 1]: [What changed]
- [File 2]: [What changed]

</pr_format>

</essential_principles>

  1. Commit — Stage and commit changes
  2. Push — Push commits to remote
  3. PR — Open a pull request
  4. Ship — Full workflow: commit + push + PR

Wait for response.

<workflows_index>

WorkflowPurpose
commit.mdStage changes and create commit
push.mdPush to remote, create branch if needed
pr.mdCreate pull request with gh CLI
</workflows_index>

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

80/100Analyzed 3/2/2026

Comprehensive git skill with strong safety rules, commit/PR format templates, and clear workflow routing. Located in dedicated skills folder with good metadata. Slightly penalized because actual workflow steps reference external files (commit.md, push.md, pr.md) not included in this document. High-density technical content with accurate conventional commits guidance. Reusable across projects with clear when-to-use guidance in description. Minor actionability gap due to external workflow dependencies."

90
80
85
75
70

Metadata

Licenseunknown
Version-
Updated2/27/2026
Publishershir-bruchim

Tags

github-actionsllmsecuritytesting