pre-commit-validate

Run a five-step pre-commit validation pipeline for frontend build, backend tests, and UTF-8 checks.

Updated Feb 10, 2026
One-click install
npx skills add https://github.com/kimjuyoung1127/GameLab --skill pre-commit-validate
Or copy as Structured Prompt for Agentβ–Ό
Please help me install this Agent Skill.
Skill: pre-commit-validate
Source: https://github.com/kimjuyoung1127/GameLab/tree/main/.claude/skills/gamelab-guide/ops/pre-commit-validate
Command: npx skills add https://github.com/kimjuyoung1127/GameLab --skill pre-commit-validate

SYSTEM DOCUMENTATION & REQUIREMENTS

πŸ’‘ This Skill includes scripts (resource) components.

What problem does it solve?

이 μŠ€ν‚¬μ€ 컀밋 μ „ λ‹€μ„― λ‹¨κ³„μ˜ 검증을 μžλ™μœΌλ‘œ μˆ˜ν–‰ν•˜μ—¬ ν”„λŸ°νŠΈμ—”λ“œ λΉŒλ“œ μ‹€νŒ¨, λ°±μ—”λ“œ ν…ŒμŠ€νŠΈ μ‹€νŒ¨, 인코딩 문제 λ“±μœΌλ‘œ μΈν•œ 개발 흐름 차단을 μ€„μž…λ‹ˆλ‹€.

Core Features & Use Cases

  • ν”„λŸ°νŠΈμ—”λ“œ λΉŒλ“œμ™€ λ°±μ—”λ“œ ν…ŒμŠ€νŠΈλ₯Ό 순차적으둜 μ‹€ν–‰ν•΄ 문제λ₯Ό 쑰기에 λ°œκ²¬ν•©λ‹ˆλ‹€.
  • UTF-8 인코딩 및 헀더 주석 κ·œμΉ™ μ€€μˆ˜λ₯Ό κ°•μ œν•˜μ—¬ 컀밋 ν’ˆμ§ˆμ„ λ†’μž…λ‹ˆλ‹€.
  • BE λͺ¨λΈ λ³€κ²½ μ‹œ FE νƒ€μž… λ§€μΉ­ 검증을 λ„μž…ν•˜λŠ” ν™•μž₯ μ‹œλ‚˜λ¦¬μ˜€λ₯Ό μ§€μ›ν•©λ‹ˆλ‹€.

Quick Start

Run the pre-commit-validate skill locally before committing to ensure frontend build, backend tests, and UTF-8 checks pass.

Frequently Asked Questions about pre-commit-validate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent broken commits with a pre-commit validation pipeline?β–Ό

A pre-commit validation pipeline prevents broken commits by running frontend build, backend tests, UTF-8 encoding checks, and header annotation verification before finalizing a git commit.

What is the best way to enforce UTF-8 encoding and header comments before a git commit?β–Ό

The best way to enforce UTF-8 encoding and header comments is using a pre-commit hook that validates file encodings and verifies mandatory header annotations on new files before allowing the commit.

How do I run frontend build and backend tests sequentially before committing?β–Ό

To run frontend build and backend tests sequentially before committing, configure a pre-commit validation pipeline that orchestrates these checks automatically when a commit is attempted, catching failures early.

Can I validate backend model changes against frontend types during a pre-commit check?β–Ό

Yes, pre-commit validation can check backend model changes against frontend types. The pipeline includes model-sync validation that triggers when backend changes are detected to ensure type matching.

Does pre-commit validation work without external dependencies?β–Ό

Pre-commit validation works without external dependencies. It uses included scripts to orchestrate frontend build, backend tests, and encoding checks, requiring no additional package installations to function.