commit-push-pr
Commit, push, and open a PR following project conventions. Use when creating pull requests.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Commit, push, and open a PR following project conventions. Use when creating pull requests.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Load when developing API endpoints, designing request/response DTOs, creating controllers, or working with BaseResponse wrapper and exception handling patterns.
Load when designing new domains or modules, refactoring architecture, working with Clean Architecture layers, ports/adapters pattern, or cross-domain communication.
GitHub PR의 코드 리뷰 코멘트를 읽어와 피드백을 반영하고, 각 코멘트에 답글을 남깁니다.
프로젝트 컨벤션에 맞는 일관된 커밋 메시지를 생성하고 커밋을 수행합니다.
Create a GitHub issue following project conventions. Use when creating issues.
Load when working with environment settings, application profiles (local/staging/prod), Jasypt encryption, secrets management, or infrastructure configuration.
| name | commit-push-pr |
| description | Commit, push, and open a PR following project conventions. Use when creating pull requests. |
git statusgit diff HEADgit branch --show-currentcat .github/PULL_REQUEST_TEMPLATE.mdFormat: {type}/#{issue_number} 설명
Branch 이름에서 type과 issue number를 추출하고, 변경 사항을 요약하여 제목을 작성한다.
Examples:
feat/#178 → feat/#178 포즈 조회수 기능 추가fix/#183 → fix/#183 E2E 테스트 중간 테이블 기준으로 수정docs/#186 → docs/#186 PR template 생성git rev-parse --abbrev-ref @{upstream}origin/)를 제거한 이름을 base branch로 사용한다.main을 base로 사용한다.Branch 이름에서 issue 번호를 추출한다.
main이 아닌 경우 (staging 등): #{number}로 링크만 남긴다.main인 경우: closes #{number}로 작성하여 merge 시 issue가 자동 종료되도록 한다.항상 --assignee @me로 PR 작성자를 할당한다.
Branch prefix에 따라 label을 지정한다.
| Prefix | Label |
|---|---|
feat/ | enhancement |
fix/ | bug |
docs/ | documentation |
chore/ | (none) |
현재 issue가 sub-issue인 경우, parent issue의 진행 상황을 table로 PR body에 포함한다.
확인 방법:
gh api graphql -f query='
{ repository(owner:"{owner}", name:"{repo}") {
issue(number:{current_issue}) {
trackedInIssues(first:1) { nodes { number title
subIssues(first:20) { nodes { number title state } }
} }
}
} }'
trackedInIssues가 있으면 parent의 subIssues를 조회하여 table을 생성한다.🔄 Current로 표시한다.CLOSED 상태는 ✅ Done, OPEN 상태는 ⬚ Open으로 표시한다..github/PULL_REQUEST_TEMPLATE.md를 사용하여 PR body를 생성한다. base branch와의 diff(git diff {base}...HEAD)를 기준으로 현재 branch의 변경 사항만 반영한다.gh pr create with:
--title: convention에 맞는 제목--base: PR Chaining 규칙에 따른 base branch--label: branch prefix에 해당하는 label (매핑이 있는 경우만)--assignee @me--body: 템플릿을 채운 내용 (HEREDOC 사용)