Communitygithub.com

Git 워크플로우 강제 도구

커밋이 Conventional Commits 형식을 따르고, 브랜치 명명 규칙과 PR 템플릿을 준수하도록 보장합니다. 커밋, 브랜치, PR 생성 시 또는 사용자가 git 워크플로우를 언급할 때 사용하세요.

Git 워크플로우 강제 도구란 무엇인가요?

이 스킬은 Git 워크플로우에서 일관된 규칙(Conventional Commits, 브랜치 명명 규칙, PR 템플릿)을 강제하여 협업을 표준화하는 AI 어시스턴트 도구입니다. 개발자는 커밋 메시지 검증, 브랜치 이름 유효성 검사, PR 템플릿 생성, 커밋 훅 설정 등 10가지 주요 기능을 통해 저장소의 질을 자동으로 관리할 수 있습니다. GitHub, GitLab 등 주요 Git 플랫폼에서 사용 가능하며, 기존 프로젝트의 규칙을 탐지하여 적용합니다. 이 스킬은 특히 여러 개발자가 참여하는 팀에서 일관된 커밋 히스토리, 브랜치 구조, 리뷰 프로세스를 유지하는 데 유용하며, 표준 버전이나 사용자 정의 changelog 생성을 지원합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComeOnOliver/skillshub/tree/HEAD/skills/aiskillstore/marketplace/crazydubya/git-workflow-enforcer

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

Git 워크플로우 강제 도구은(는) 무엇을 하나요?

커밋 메시지, 브랜치 명명, PR 프로세스 등 일관된 Git 워크플로우를 강제합니다.

사용 시점

  • 커밋 또는 브랜치 생성 시
  • 코드 리뷰 또는 PR 생성 시
  • 사용자가 "git 워크플로우", "커밋 메시지", "브랜치 명명", "풀 리퀘스트"를 언급할 때

지침

1. 기존 규칙 감지

다음을 확인하세요:

  • .github/ 또는 .gitlab/ 템플릿
  • CONTRIBUTING.md
  • 기존 커밋 메시지 패턴
  • 브랜치 명명 패턴

2. Conventional Commits

형식: type(scope): description

타입:

  • feat: 새 기능
  • fix: 버그 수정
  • docs: 문서
  • style: 서식, 세미콜론 누락
  • refactor: 코드 구조 변경
  • perf: 성능 개선
  • test: 테스트 추가
  • chore: 유지보수, 의존성

예시:

feat(auth): add OAuth2 login support
fix(api): handle null response in user endpoint
docs(readme): update installation instructions
refactor(utils): simplify date formatting logic

3. 브랜치 명명

일반 패턴:

feature/user-authentication
bugfix/login-error-handling
hotfix/critical-security-patch
release/v1.2.0
chore/update-dependencies

검증:

  • 소문자와 하이픈 사용
  • 타입으로 접두사
  • 설명적인 이름
  • 해당 이슈 번호 있으면 포함: feature/123-add-dark-mode

4. 커밋 메시지 검증

좋은 커밋:

feat(payments): integrate Stripe payment gateway

- Add Stripe SDK configuration
- Implement payment intent creation
- Add webhook handler for payment events
- Update tests for payment flow

Closes #456

확인할 사항:

  • 제목 줄 ≤50자
  • 본문 72자에서 줄 바꿈
  • 제목과 본문 사이에 빈 줄
  • 명령형 사용 ("added"가 아닌 "add")
  • 이슈/티켓 참조

5. PR 템플릿

.github/PULL_REQUEST_TEMPLATE.md 생성:

## 설명
<!-- 이 PR이 무엇을 하나요? -->

## 변경 유형
- [ ] 버그 수정
- [ ] 새 기능
- [ ] 호환성을 깨는 변경
- [ ] 문서 업데이트

## 테스트
<!-- 어떻게 테스트했나요? -->

## 체크리스트
- [ ] 코드가 프로젝트 스타일 가이드라인을 따릅니다
- [ ] 자체 리뷰 완료
- [ ] 복잡한 코드에 주석 추가
- [ ] 문서 업데이트됨
- [ ] 테스트 추가/업데이트됨
- [ ] 모든 테스트 통과
- [ ] 새로운 경고 없음

## 관련 이슈
Closes #

6. 커밋 훅

Pre-commit:

#!/bin/sh
# .git/hooks/pre-commit

# 린터 실행
npm run lint

# 테스트 실행
npm test

# 민감 데이터 확인
if git diff --cached | grep -i "password\|api_key\|secret"; then
  echo "오류: 민감한 데이터가 감지되었습니다"
  exit 1
fi

Commit-msg:

#!/bin/sh
# .git/hooks/commit-msg

commit_msg=$(cat "$1")

# Conventional Commit 형식 확인
if ! echo "$commit_msg" | grep -qE "^(feat|fix|docs|style|refactor|perf|test|chore)(\(.+\))?: .+"; then
  echo "오류: 커밋 메시지는 Conventional Commits 형식을 따라야 합니다"
  echo "예시: feat(auth): add login feature"
  exit 1
fi

7. 기존 커밋 검증

최근 커밋이 패턴을 따르는지 확인:

git log --oneline -20 | grep -v "^[a-f0-9]\{7\} (feat|fix|docs|style|refactor|perf|test|chore)"

8. Changelog 생성

Conventional Commits에서:

# standard-version 사용
npx standard-version

# 또는 유형별로 수동 그룹화
git log --pretty=format:"%s" | grep "^feat" > features.txt
git log --pretty=format:"%s" | grep "^fix" > fixes.txt

9. 보호된 브랜치

GitHub 설정:

  • PR 리뷰 필수
  • 상태 확인 필수
  • 서명된 커밋 필수
  • 푸시 가능한 사용자 제한
  • 선형 히스토리 필수

10. 모범 사례

  • 원자적 커밋: 커밋당 하나의 논리적 변경
  • 설명적인 메시지: 무엇이 아니라 왜를 설명
  • 빈번한 커밋: 크고 드문 것보다 작고 빈번하게
  • 깨끗한 히스토리: 병합 전 squash/rebase
  • 커밋 서명: 보안을 위해 GPG 서명
  • 이슈 참조: 추적 시스템에 연결

Git 커밋 템플릿

.gitmessage 생성:

<type>(<scope>): <subject>

<body>

<footer>

# Type: feat, fix, docs, style, refactor, perf, test, chore
# Scope: 영향을 받는 컴포넌트 또는 파일
# Subject: 명령형, 소문자, 마침표 없음, 50자 이하
# Body: 무엇과 왜를 설명, 어떻게는 제외, 72자에서 줄 바꿈
# Footer: 호환성을 깨는 변경, 이슈 참조

템플릿으로 설정:

git config --global commit.template ~/.gitmessage

지원 파일

  • templates/PULL_REQUEST_TEMPLATE.md
  • templates/commit-msg-hook.sh
  • templates/.gitmessage

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ComeOnOliver/skillshub

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

ComeOnOliver/skillshub

Next.js 16+ 和 Turbopack — 增量打包、文件系统缓存、开发速度,以及何时使用 Turbopack 与 webpack。

ComeOnOliver/skillshub

SwiftUI architecture patterns, state management with @Observable, view composition, navigation, performance optimization, and modern iOS/macOS UI best practices.

ComeOnOliver/skillshub

See, Understand, Act on video and audio. See- ingest from local files, URLs, RTSP/live feeds, or live record desktop; return realtime context and playable stream links. Understand- extract frames, build visual/semantic/temporal indexes, and search moments with timestamps and auto-clips. Act- transcode and normalize (codec, fps, resolution, aspect ratio), perform timeline edits (subtitles, text/image overlays, branding, audio overlays, dubbing, translation), generate media assets (image, audio, video), and create real time alerts for events from live streams or desktop capture.

ComeOnOliver/skillshub

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

ComeOnOliver/skillshub

Next.js 15 애플리케이션을 위한 프론트엔드 개발 가이드라인. React 19, TypeScript, Shadcn/ui, Tailwind CSS를 사용한 모던 패턴. Server Components, Client Components, App Router, 파일 구조, Shadcn/ui 컴포넌트, 성능 최적화, TypeScript 모범 사례 포함. 컴포넌트, 페이지, 기능 생성, 데이터 페칭, 스타일링, 라우팅, 프론트엔드 코드 작업 시 사용.

ComeOnOliver/skillshub

Provides Tamagui patterns for config v4, compiler optimization, styled context, and cross-platform styling. Must use when working with Tamagui projects (tamagui.config.ts, @tamagui imports).

ComeOnOliver/skillshub

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

ComeOnOliver/skillshub

Create high-converting, visually distinctive landing pages. Use when building marketing pages, product launches, SaaS homepages, or any single-page conversion-focused website. Guides section-by-section composition with anti-AI-slop principles.

ComeOnOliver/skillshub

Auto-loaded context for Portfolio Buddy 2 development. Use for ANY task involving: React 19 development, TypeScript, portfolio analysis features, metrics calculations, trading strategy comparison, or working with the Portfolio Buddy 2 codebase. Contains tech stack, known issues, and architectural constraints.

ComeOnOliver/skillshub

Next.js development tooling via MCP. Inspect routes, components, build info, and debug Next.js apps. Use when working on Next.js applications, debugging routing, or inspecting app structure. NOT for general React or non-Next.js projects.

ComeOnOliver/skillshub

Implement UI using Shadcn MCP (atoms/theme) and 21st.dev MCP (complex sections). Use when adding buttons, layouts, or generating landing pages.

ComeOnOliver/skillshub

A conceptual skill for building an API client in Next.js that handles JWT tokens

ComeOnOliver/skillshub

Best practices and patterns for Next.js App Router, Server Actions, and Routing in this project.

ComeOnOliver/skillshub

The Design System, Theme, and UX rules for the Physical AI Hub.

ComeOnOliver/skillshub

Comprehensive frontend development skill for building modern, performant web applications using ReactJS, NextJS, TypeScript, Tailwind CSS. Includes component scaffolding, performance optimization, bundle analysis, and UI best practices. Use when developing frontend features, optimizing performance, implementing UI/UX designs, managing state, or reviewing frontend code.

ComeOnOliver/skillshub

This document captures learnings from fixing keyboard navigation issues when floating components (Select, DropdownMenu, Popover) have CSS open/close animations.

ComeOnOliver/skillshub

Build Next.js 16 applications with correct patterns and distinctive design. Use when creating pages, layouts, dynamic routes, upgrading from Next.js 15, or implementing proxy.ts. Covers breaking changes (async params/searchParams, Turbopack, cacheComponents) and frontend aesthetics. NOT when building non-React or backend-only applications.

ComeOnOliver/skillshub

Comprehensive Framer Motion animation library for React. Covers motion components, variants, gestures, page transitions, and scroll animations. Use when adding animations to React/Next.js applications.

ComeOnOliver/skillshub

Build interfaces that resonate, not just render. This skill enforces bold, intentional

관련 스킬