원클릭으로
prepare-pr
Generate PR title and description from multiple commits (Korean and English)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate PR title and description from multiple commits (Korean and English)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Transform verbose natural language requests into structured bilingual documentation (Korean for review + English for AI prompts)
Review current git changes or latest commit using code-reviewer and architect-reviewer agents
Review comments and suggest cleanup (identify unnecessary comments, recommend improvements)
Generate Conventional Commits-compliant messages (feat/fix/docs/chore) in Korean and English
Identify and safely remove dead code, deprecated code, and unused exports from codebase
Generate business rule documentation from domain knowledge and requirements
| name | prepare-pr |
| description | Generate PR title and description from multiple commits (Korean and English) |
| allowed-tools | Bash(git:*), Write |
| disable-model-invocation | true |
Generates PR title and description by analyzing all commits in the current branch compared to the base branch. Creates both Korean and English versions for easy copying.
| Scenario | Recommendation |
|---|---|
| Single commit PR | Use commit message directly (GitHub does this automatically) |
| Multiple commits PR | Use this command to consolidate changes |
| Large feature branch | Use this command to summarize all work |
<type>[(optional scope)]: <description>
Analyze all commits and select the dominant type:
| Pattern | PR Type |
|---|---|
Mostly feat commits | feat |
Mostly fix commits | fix |
Mixed feat and fix | feat (features take precedence) |
Only docs commits | docs |
Only chore/ci commits | chore |
refactor focused | refactor |
Priority: feat > fix > refactor > perf > docs > chore
Examples:
feat: add user authentication with OAuth2fix: resolve memory leak in dashboardUpdate files (too vague)feat: implement OAuth2 authentication flow with Google and GitHub providers and session management (too long)1-3 sentences describing the overall change and its purpose.
fix #N format (consistent with commit.md)## PR Title (Korean)
{type}: {한글 제목}
## PR Title (English)
{type}: {English title}
---
## PR Body (Korean)
### 요약
{변경사항 요약 1-3문장}
### 주요 변경사항
- {변경사항 1}
- {변경사항 2}
- {변경사항 3}
### 관련 이슈
fix #{issue_number}
### 테스트 계획
{테스트 방법 - 필요시만}
---
## PR Body (English)
### Summary
{1-3 sentence summary of changes}
### Changes
- {Change 1}
- {Change 2}
- {Change 3}
### Related Issues
fix #{issue_number}
### Test Plan
{How to test - if needed}
Extract issue numbers from:
feature/123-add-auth → #123fix: resolve bug (fix #456) → #456develop/user/42, issue-42-fix → #42gh pr create with the generated content for CLI workflowDetermine base branch:
$ARGUMENTSorigin/HEAD, origin/main, or origin/masterCollect commit information:
git log --oneline {base}..HEADgit log --pretty=format:"%s" {base}..HEAD for full messagesgit diff --stat {base}..HEAD for changed filesAnalyze commits:
Extract issue numbers:
Generate PR title:
Generate PR body:
Create both versions:
Write to file:
/workspaces/ai-config-toolkit/pr_content.mdToken optimization: