# Commit Push Pr

> Workflow for committing changes, pushing, and creating PRs in one step. Triggers: "commit", "create PR", "push", "PR creation", "commit and push", "commit and push", "submit PR" Anti-triggers: "code review", "check git log", "show diff", "branch list"

- Skill: `jh941213/commit-push-pr-2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add jh941213/commit-push-pr-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jh941213/commit-push-pr-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: jh941213 (https://skillmd.com/u/jh941213)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/jh941213/commit-push-pr-2

---


# Commit, Push, PR Creation

Commits current changes, pushes, and creates a PR.

## Check Current State
```bash
git status
git diff --stat
git log --oneline -5
```

## Workflow
1. Review changed files and compose an appropriate commit message
2. Use [type] format for commit messages
3. Push to remote branch
4. Create GitHub PR (using gh pr create)
5. Write PR title and body

## Commit Message Format
```
[type] Title

Body (optional)

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

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

## Precautions
- Do not commit directly on main/master — create a feature branch (`git checkout -b feature/<task-name>`) and proceed there instead
- Do not commit files containing sensitive information
- Check staged files for sensitive files right after `git add` (before that the check is always empty): `git diff --cached --name-only | grep -E '\.(env|pem|key|credentials)'`

