diff --git a/.claude/skills/create-issue/SKILL.md b/.claude/skills/create-issue/SKILL.md index 76d1177..ad18f5e 100644 --- a/.claude/skills/create-issue/SKILL.md +++ b/.claude/skills/create-issue/SKILL.md @@ -10,12 +10,13 @@ GitHub Issue를 **실제 이슈 템플릿(`.github/ISSUE_TEMPLATE/`)을 그대 사용자 설명에서 타입을 추론하고, 애매하면 묻는다. -| 타입 | 템플릿 파일 | 제목 prefix | 라벨 | -| ----------------- | -------------------------------------------- | ----------- | ------------------------------------------------------ | -| 🐛 버그 | `.github/ISSUE_TEMPLATE/bug_report.yml` | `[Bug] ` | `🐛 bug` | -| ✨ 기능 제안 | `.github/ISSUE_TEMPLATE/feature_request.yml` | `[Feat] ` | `✨ feat` | -| 🧹 작업/문서/기타 | `.github/ISSUE_TEMPLATE/task.yml` | `[Task] ` | 성격에 맞게 `🧹 chore`/`📝 docs`/`⚙️ ci`/`♻️ refactor` | +| 타입 | 템플릿 파일 | 제목 prefix | 라벨 | +| ----------------- | -------------------------------------------- | ----------- | ------------------------------------------ | +| 🐛 버그 | `.github/ISSUE_TEMPLATE/bug_report.yml` | `[Bug]` | `bug` | +| ✨ 기능 제안 | `.github/ISSUE_TEMPLATE/feature_request.yml` | `[Feat]` | `feat` | +| 🧹 작업/문서/기타 | `.github/ISSUE_TEMPLATE/task.yml` | `[Task]` | 성격에 맞게 `chore`/`docs`/`ci`/`refactor` | +- 제목 prefix는 템플릿의 `title` 값을 그대로 따른다 (예: `[Bug]` 뒤에 공백 한 칸 포함). - 이슈 제목엔 Conventional Commits(`fix:` 등)를 쓰지 않는다 — 그건 PR/커밋용. ## 2단계: 템플릿을 읽어 본문 렌더링 diff --git a/.claude/skills/create-pr/SKILL.md b/.claude/skills/create-pr/SKILL.md index 25efba4..46e61c0 100644 --- a/.claude/skills/create-pr/SKILL.md +++ b/.claude/skills/create-pr/SKILL.md @@ -38,7 +38,7 @@ git push -u origin HEAD - 본문은 `.github/PULL_REQUEST_TEMPLATE.md`의 모든 섹션을 diff 기반으로 채운다. **관련 이슈를 `Closes #<번호>`로 반드시 참조**한다(없으면 `pr-checks`의 이슈 가드가 실패). - 라벨: 브랜치/본문에서 이슈 번호를 찾으면 `gh issue view <번호> --json labels`로 이슈 라벨을 상속한다. -- 타입 라벨(`✨ feat`/`🐛 bug` 등)은 **`pr-autolabel` 워크플로가 PR 제목 prefix로 자동 부착**하므로 수동 지정 불필요. +- 타입 라벨(`feat`/`bug` 등)은 **`pr-autolabel` 워크플로가 PR 제목 prefix로 자동 부착**하므로 수동 지정 불필요. ## 5단계: PR 생성 diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 3c132dd..f861ca6 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,7 +1,7 @@ name: 🐛 버그 리포트 description: 동작하지 않거나 예상과 다르게 동작하는 문제를 알려주세요. title: '[Bug] ' -labels: ['🐛 bug'] +labels: ['bug'] body: - type: markdown attributes: diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 591ae89..8d0fc77 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,7 +1,7 @@ name: ✨ 기능 제안 description: 새로운 기능이나 개선 아이디어를 제안해주세요. title: '[Feat] ' -labels: ['✨ feat'] +labels: ['feat'] body: - type: markdown attributes: diff --git a/.github/workflows/issue-dedup.yml b/.github/workflows/issue-dedup.yml index b5aacc2..450c20f 100644 --- a/.github/workflows/issue-dedup.yml +++ b/.github/workflows/issue-dedup.yml @@ -113,7 +113,7 @@ jobs: owner: context.repo.owner, repo: context.repo.repo, issue_number: current.number, - labels: ['👀 possible-duplicate'], + labels: ['possible-duplicate'], }); } catch (e) { core.info(`라벨 추가 건너뜀: ${e.message}`); diff --git a/.github/workflows/pr-autolabel.yml b/.github/workflows/pr-autolabel.yml index 681830a..5ccfd1b 100644 --- a/.github/workflows/pr-autolabel.yml +++ b/.github/workflows/pr-autolabel.yml @@ -19,15 +19,15 @@ jobs: script: | // 커밋 타입 → 라벨 매핑 const MAP = { - feat: '✨ feat', - fix: '🐛 bug', - docs: '📝 docs', - refactor: '♻️ refactor', - perf: '⚡ perf', - test: '🧪 test', - chore: '🧹 chore', - ci: '⚙️ ci', - style: '💄 style', + feat: 'feat', + fix: 'bug', + docs: 'docs', + refactor: 'refactor', + perf: 'perf', + test: 'test', + chore: 'chore', + ci: 'ci', + style: 'style', }; const MANAGED = new Set(Object.values(MAP));