git

SKILL.md

<essential_principles>

<git_safety> Never run destructive commands without explicit user request:

  • No git push --force to main/master
  • No git reset --hard
  • No --no-verify flag (skip hooks)
  • No git commit --amend on pushed commits

Never push directly to main/master:

  • If current branch is main or master, create a new branch before committing/pushing
  • Use a descriptive branch name based on the changes (e.g., fix/login-bug, feat/add-filter)
  • Only push to feature/fix branches, never directly to the default branch

Always verify before acting:

  • Check git status before staging
  • Check git log for commit style
  • Check remote tracking before push </git_safety>

<commit_format> End all commit messages with:


🤖 Generated with [Claude Code](https://claude.com/claude-code)

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

Use HEREDOC for multi-line messages:

git commit -m "$(cat <<'EOF'
Message here

🤖 Generated with [Claude Code](https://claude.com/claude-code)

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

</commit_format>

<pr_format> PR body structure:

## Summary
<1-3 bullet points>

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

🤖 Generated with [Claude Code](https://claude.com/claude-code)

</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 before proceeding.

After reading the workflow, follow it exactly.

<workflows_index>

Workflow Purpose
commit.md Stage changes and create commit with proper message
push.md Push commits to remote, create branch if needed
pr.md Create pull request with gh CLI
</workflows_index>
Weekly Installs
13
GitHub Stars
16
First Seen
Jan 24, 2026
Installed on
opencode10
gemini-cli10
codex10
cursor9
github-copilot8
amp8