Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .claude/skills/create-issue/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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단계: 템플릿을 읽어 본문 렌더링
Expand Down
2 changes: 1 addition & 1 deletion .claude/skills/create-pr/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 생성

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 🐛 버그 리포트
description: 동작하지 않거나 예상과 다르게 동작하는 문제를 알려주세요.
title: '[Bug] '
labels: ['🐛 bug']
labels: ['bug']
body:
- type: markdown
attributes:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: ✨ 기능 제안
description: 새로운 기능이나 개선 아이디어를 제안해주세요.
title: '[Feat] '
labels: ['feat']
labels: ['feat']
body:
- type: markdown
attributes:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue-dedup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/pr-autolabel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down
Loading