Skip to main content
ClaudeWave
Slash Command745 repo starsupdated 24d ago

pull

The /pull command executes a quick git pull from the origin main branch while safely handling uncommitted changes. Use this when you need to quickly update your local repository with remote changes, as it automatically stashes uncommitted work before pulling and restores it afterward, while also detecting and reporting merge conflicts.

Install in Claude Code
Copy
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/sangrokjung/claude-forge/HEAD/commands/pull.md -o ~/.claude/commands/pull.md
Then start a new Claude Code session; the slash command loads automatically.

pull.md

# /pull - Git Pull (Quick)

---

## 1단계: 현재 상태 확인

```bash
git branch --show-current
git status --short
```

커밋되지 않은 변경사항이 있으면 경고:
```
작업 중인 변경사항이 있습니다. stash 후 진행할까요? (Y/n)
```
- Y: `git stash` 후 진행, pull 후 `git stash pop`
- n: 그대로 pull 시도

---

## 2단계: Pull 실행

```bash
git pull origin main
```

---

## 3단계: 출력

### 성공 시

```
════════════════════════════════════════════════════════════════
  Git Pull
════════════════════════════════════════════════════════════════

  브랜치: {branch}
  상태: {up-to-date | N commits pulled}

════════════════════════════════════════════════════════════════
```

### 충돌 시

```
════════════════════════════════════════════════════════════════
  Git Pull
════════════════════════════════════════════════════════════════

  충돌 발생! 수동 해결 필요:
  {충돌 파일 목록}

════════════════════════════════════════════════════════════════
```
architectSubagent

Software architecture specialist for system design, scalability, and technical decision-making. Use PROACTIVELY when planning new features, refactoring large systems, or making architectural decisions.

build-error-resolverSubagent

Build and TypeScript error resolution specialist. Use PROACTIVELY when build fails or type errors occur. Fixes build/type errors only with minimal diffs, no architectural edits. Focuses on getting the build green quickly.

code-reviewerSubagent

Expert code review specialist. Proactively reviews code for quality, security, and maintainability. Use immediately after writing or modifying code. MUST BE USED for all code changes.

database-reviewerSubagent

PostgreSQL database specialist for query optimization, schema design, security, and performance. Use PROACTIVELY when writing SQL, creating migrations, designing schemas, or troubleshooting database performance. Incorporates Supabase best practices.

doc-updaterSubagent

Documentation and codemap specialist. Use PROACTIVELY for updating codemaps and documentation. Runs /update-codemaps and /update-docs, generates docs/CODEMAPS/*, updates READMEs and guides.

e2e-runnerSubagent

End-to-end testing specialist using Vercel Agent Browser (preferred) with Playwright fallback. Use PROACTIVELY for generating, maintaining, and running E2E tests. Manages test journeys, quarantines flaky tests, uploads artifacts (screenshots, videos, traces), and ensures critical user flows work.

plannerSubagent

Expert planning specialist for complex features and refactoring. Use PROACTIVELY when users request feature implementation, architectural changes, or complex refactoring. Automatically activated for planning tasks.

refactor-cleanerSubagent

Dead code cleanup and consolidation specialist. Use PROACTIVELY for removing unused code, duplicates, and refactoring. Runs analysis tools (knip, depcheck, ts-prune) to identify dead code and safely removes it.