이 프로젝트의 Pull Request 작성 규약을 정의합니다. PR 생성 시 이 지침을 따릅니다.
이 프로젝트는 .github/PULL_REQUEST_TEMPLATE.md의 구조를 기반으로 PR을 작성합니다.
Conventional Commits와 동일한 형식을 사용합니다:
<type>[(scope)]: <description>
| 규칙 | 설명 |
|---|---|
| 형식 | <type>[(scope)]: <description> |
| 글자 수 | 72자 이내 |
| 언어 | 한국어 |
| 종결 | 명사형 (예: "로그인 기능 추가", "인증 오류 수정") |
| 마침표 | 붙이지 않음 |
feat, fix, docs, style, refactor, perf, test, build, ,
cichorefeat(github-workflow):)docs(readme):)marketplace를 scope로 사용PR 생성 시 type과 scope에 기반하여 라벨을 자동으로 부착합니다.
| type | 라벨 | 비고 |
|---|---|---|
feat | enhancement | 새 기능 |
fix | bug | 버그 수정 |
docs | documentation | 문서 변경 |
| 그 외 | — | 대응 라벨 없음 |
| scope | 라벨 | 비고 |
|---|---|---|
| 플러그인 이름 | plugin:<scope> | 예: plugin:github-workflow |
| 그 외 | — | 대응 라벨 없음 |
라벨을 부착하기 전에 반드시 프로젝트에 해당 라벨이 존재하는지 확인합니다:
gh label list --search "<label>" --json name
--label 플래그로 추가합니다.PR 본문은 다음 섹션을 순서대로 포함합니다:
Closes #<number> 형식으로 자동 닫기 설정gh pr create 명령어 형식PR 생성 시 다음 HEREDOC 형식을 사용합니다:
gh pr create --title "<type>[(scope)]: <description>" --body "$(cat <<'EOF'
## Summary
- <변경 이유 요약>
## Related Issue
Closes #<number>
## Change Type
- [x] `<type>` — <type description>
## Affected Plugin(s)
- [x] `<plugin-name>`
## Changes Made
- <변경 사항 1>
- <변경 사항 2>
## Testing
- [ ] Plugin installs successfully via `/plugin install`
- [ ] Skills appear in `/skills` and work as expected
- [ ] Agents appear in `/agents` and work as expected
- [ ] Hooks execute correctly on their configured events
- [ ] Verified after restarting Claude Code session
## Checklist
- [x] Commit messages follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/)
- [ ] `plugin.json` version is updated (if plugin changed)
- [ ] `marketplace.json` is updated (if plugin added or metadata changed)
- [ ] Documentation is updated (README, SKILL.md, etc.)
- [ ] I have read the [CONTRIBUTING.md](https://github.com/iamhoonse-dev/hoonse-claude-plugins/blob/main/CONTRIBUTING.md)
## Reviewer Notes
<선택 사항>
EOF
)"
gh pr create --title "<type>[(scope)]: <description>" \
--label "<type-label>" --label "<scope-label>" \
--body "$(cat <<'EOF'
...
EOF
)"
feat(github-workflow): GitHub Issue 기반 개발 워크플로우 플러그인 추가
fix(git-workflow): auto-committer에서 스테이징되지 않은 파일 처리 오류 수정
| PR 제목 | type 라벨 | scope 라벨 |
|---|---|---|
feat(github-workflow): PR 라벨 자동 부착 기능 추가 | enhancement | plugin:github-workflow |
fix(git-workflow): auto-committer 오류 수정 | bug | plugin:git-workflow |
docs(readme): 프로젝트 README 업데이트 | documentation | — |
refactor(github-workflow): 코드 구조 개선 | — | plugin:github-workflow |
chore: 의존성 업데이트 | — | — |