Skip to main content

commit-push-pr

Commit changes, push to remote, and create a pull request. Use for completing features or fixes ready for review.

소스 정보

저장소
meleantonio/ChernyCode
최근 소스 활동
2026년 2월 1일 11:23
감지된 SKILL.md 언어
영어
스타
517
포크
108

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
commit-push-pr
description
Commit changes, push to remote, and create a pull request. Use for completing features or fixes ready for review.
disable-model-invocation
true
# Commit, Push, and Create PR Automate the git workflow for completing a feature or fix. ## Pre-computed Context Before proceeding, gather this information: - Current branch: `!git branch --show-current` - Git status: `!git status --short` - Recent commits on this branch: `!git log --oneline -5` - Diff summary: `!git diff --stat` ## Workflow 1. **Review Changes** - Check `git status` for all modified/added files - Review the diff to understand what's being committed - Ensure no sensitive files are staged (.env, credentials, etc.) 2. **Run Pre-commit Checks** - Format code: `ruff format .` (if Python files changed) - Lint code: `ruff check .` (if Python files changed) - Run tests: `pytest` (if tests exist) 3. **Stage and Commit** - Stage relevant files: `git add <files>` - Create a commit with Conventional Commits format: - `feat:` for new features - `fix:` for bug fixes - `docs:` for documentation - `refactor:` for refactoring - `test:` for tests - `chore:` for maintenance - Write a clear, concise commit message focusing on "why" 4. **Push to Remote** - Push the branch: `git push -u origin HEAD` - If branch doesn't exist on remote, create it 5. **Create Pull Request** - Use GitHub CLI: `gh pr create` - Include: - Clear title summarizing the change - Description with summary and context - Reference any related issues - Add appropriate labels if applicable ## Arguments Pass a commit message or leave empty for auto-generated message based on changes. Usage: `/commit-push-pr [optional commit message]` Example: `/commit-push-pr feat: add user authentication` ## Output Return the PR URL when complete.
GitHub에서 보기