Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Deploy

ASecurity

배포 스킬 - release 브랜치에 main을 merge 후 빌드 검증, 성공 시 push하여 Vercel 자동 배포 트리거

14 stars
0 votes
0 copies
0 views
Added 9/26/2026
developmentbashgitci/cd

Security Analysis

A100/100

Scanned 9/26/2026

$npx -y skills add OU9999/codex-webtoon --skill deploy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Deploy?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Deploy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ou9999-deploy-codex-webtoon/badge)](https://www.skillsdirectory.com/skills/ou9999-deploy-codex-webtoon)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
description: "배포 스킬 - release 브랜치에 main을 merge 후 빌드 검증, 성공 시 push하여 Vercel 자동 배포 트리거"
allowed-tools: ["Bash", "Read", "AskUserQuestion"]
---

# 배포 Skill

`release` 브랜치에 `main` 반영, 빌드 검증 통과 후 push, Vercel 자동 배포 트리거.

## 배포 플로우 개요

1. 사전 상태 점검
2. `release` 브랜치 체크아웃 및 `main` 반영
3. 빌드 검증 (`pnpm build`)
4. push (Vercel 자동 배포 트리거)
5. 원래 브랜치로 복귀

## 실행 순서

### 1. 사전 상태 점검

아래 명령으로 현재 상태 확인:

```bash
git status --porcelain
git rev-parse --abbrev-ref HEAD
```

**중단 조건:**

- working tree dirty 상태면 중단, 사용자에게 커밋/스태시 요청
- 현재 브랜치 변수 저장 (작업 후 복귀용)

`origin/main`과 `origin/release` 최신화:

```bash
git fetch origin main release --prune
```

### 2. release 브랜치 체크아웃 및 main 반영

```bash
git checkout release
git pull --ff-only origin release
git merge origin/main --no-edit
```

**주의:**

- `--ff-only` 실패 시 원격 release와 로컬 divergence → 사용자 확인 필수
- merge conflict 발생 시 **즉시 중단** 및 사용자 알림
  (자동으로 `git merge --abort` 실행 후 원래 브랜치로 복귀)

### 3. 빌드 검증

`pnpm build`로 프로덕션 빌드 검증.
(빌드는 장시간 실행 가능 작업이므로 `run_in_background` 사용을 고려)

```bash
pnpm build
```

**실패 시:**

- push하지 않음
- merge 커밋을 되돌릴지 사용자에게 확인
  (되돌림: `git reset --hard origin/release`)
- 원래 브랜치로 복귀 후 종료

### 4. push (Vercel 자동 배포)

빌드 성공 시에만 push:

```bash
git push origin release
```

push 성공 후 Vercel 자동 배포 시작.

### 5. 원래 브랜치로 복귀

1단계에서 기억해둔 원래 브랜치로 복귀:

```bash
git checkout <원래 브랜치>
```

## 금지 사항

- `--no-verify`, `--force`, `--force-with-lease` 사용 금지
- 빌드 실패 시 push 절대 금지
- merge conflict 자동 해결 금지 → 반드시 사용자에게 위임
- `release` 브랜치에 직접 커밋 추가 금지 (main merge만 허용)

## 확장 포인트 (추후 추가)

CI/CD 인프라 확장 시 스킬 내부 통합 후보.

- 배포 전 lint/type-check 통합 (`pnpm lint`)
- 버전 태그 자동 생성 (`git tag v0.x.y`)
- 배포 후 smoke test (대상 URL heartbeat 체크)
- Slack/Discord 배포 알림 hook
- 체인지로그 생성 및 GitHub Release 연동

Attribution

OU9999OU9999
View sourceSee grades on GitHubMore from OU9999 →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Clean Code

Pragmatic coding standards - concise, direct, no over-engineering, no unnecessary comments

304955 votes

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

286712 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2222 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Writing Plans

Use when you have a spec or requirements for a multi-step task, before touching code

2927051 votes
View all in development →