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
14 changes: 14 additions & 0 deletions skills/git/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,20 @@ git push origin main # 둜컬 변경사항 ν‘Έμ‹œ
git push -f origin main # κ°•μ œ ν‘Έμ‹œ (⚠️ μœ„ν—˜ - νŒ€ μž‘μ—… μ‹œ κΈˆμ§€)
```

## 주의 사항 (Anti-patterns)

### ν˜„μž¬ λ””λ ‰ν† λ¦¬μ—μ„œ λΆˆν•„μš”ν•œ `git -C` μ‚¬μš©

```bash
# ❌ ν˜„μž¬ 디렉토리가 λŒ€μƒ λ ˆν¬μ§€ν† λ¦¬μΈλ° -C μ˜΅μ…˜ μ‚¬μš©
git -C /path/to/current/repo log --oneline

# βœ… ν˜„μž¬ λ””λ ‰ν† λ¦¬μ—μ„œ λ°”λ‘œ μ‹€ν–‰
git log --oneline
```

ν˜„μž¬ 디렉토리가 μž‘μ—… λŒ€μƒ λ ˆν¬μ§€ν† λ¦¬μ™€ λ™μΌν•˜λ©΄ `git -C` μ˜΅μ…˜μ€ λΆˆν•„μš”ν•œ 쀑볡이닀. λ‹€λ₯Έ 경둜의 λ ˆν¬μ§€ν† λ¦¬λ₯Ό λŒ€μƒμœΌλ‘œ ν•  λ•Œλ§Œ μ‚¬μš©ν•œλ‹€.

## λ³΄μ•ˆ 및 μ£Όμ˜μ‚¬ν•­

### μ ˆλŒ€ μ»€λ°‹ν•˜λ©΄ μ•ˆ λ˜λŠ” 파일
Expand Down
2 changes: 2 additions & 0 deletions skills/github-actions/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ allowed-tools: Bash(gh release:*)

# GitHub Actions

> **μ°Έκ³ :** GitHub Actions μ›Œν¬ν”Œλ‘œμš° μ‹€ν–‰ 및 κ²°κ³Ό 쑰회, 이슈/PR 관리 λ“± `gh` CLI κ΄€λ ¨ μž‘μ—…μ€ `github` μŠ€ν‚¬μ„ ν•¨κ»˜ λ‘œλ“œν•˜μ—¬ μ°Έμ‘°ν•œλ‹€.

## 주의 사항 (Anti-patterns)

### 1. 였래된 버전 μ‚¬μš©
Expand Down
16 changes: 3 additions & 13 deletions skills/github/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ allowed-tools: Bash(gh issue:*) Bash(gh pr:*) Bash(gh release:*) Bash(gh label:*

# GitHub CLI

> **μ°Έκ³ :** GitHub μž‘μ—…μ€ Git λͺ…령어와 ν•¨κ»˜ μ‚¬μš©λ˜λŠ” κ²½μš°κ°€ λ§Žλ‹€. 컀밋 μ»¨λ²€μ…˜, 브랜치 μ „λž΅, νžˆμŠ€ν† λ¦¬ 관리 등은 `git` μŠ€ν‚¬μ„ ν•¨κ»˜ λ‘œλ“œν•˜μ—¬ μ°Έμ‘°ν•œλ‹€.

## 주의 사항 (Anti-patterns)

### 1. `gh api` μ‚¬μš© κΈˆμ§€
Expand Down Expand Up @@ -44,19 +46,7 @@ gh issue create --title "Bug fix" --body "Fixed it"

이슈 생성, PR 병합, μ½”λ©˜νŠΈ μž‘μ„± λ“± 외뢀에 영ν–₯을 λ―ΈμΉ˜λŠ” Write μž‘μ—…μ€ λ°˜λ“œμ‹œ μ‚¬μš©μžμ—κ²Œ λ‚΄μš©μ„ 보여주고 확인을 받은 λ’€ μˆ˜ν–‰ν•œλ‹€.

### 3. ν˜„μž¬ λ””λ ‰ν† λ¦¬μ—μ„œ λΆˆν•„μš”ν•œ `git -C` μ‚¬μš©

```bash
# ❌ ν˜„μž¬ 디렉토리가 λŒ€μƒ λ ˆν¬μ§€ν† λ¦¬μΈλ° -C μ˜΅μ…˜ μ‚¬μš©
git -C /path/to/current/repo log --oneline

# βœ… ν˜„μž¬ λ””λ ‰ν† λ¦¬μ—μ„œ λ°”λ‘œ μ‹€ν–‰
git log --oneline
```

ν˜„μž¬ 디렉토리가 μž‘μ—… λŒ€μƒ λ ˆν¬μ§€ν† λ¦¬μ™€ λ™μΌν•˜λ©΄ `git -C` μ˜΅μ…˜μ€ λΆˆν•„μš”ν•œ 쀑볡이닀. λ‹€λ₯Έ 경둜의 λ ˆν¬μ§€ν† λ¦¬λ₯Ό λŒ€μƒμœΌλ‘œ ν•  λ•Œλ§Œ μ‚¬μš©ν•œλ‹€.

### 4. ν•˜λ“œμ½”λ”©λœ λ ˆν¬μ§€ν† λ¦¬ 정보
### 3. ν•˜λ“œμ½”λ”©λœ λ ˆν¬μ§€ν† λ¦¬ 정보

```bash
# ❌ λ ˆν¬μ§€ν† λ¦¬ 정보 ν•˜λ“œμ½”λ”©
Expand Down