정보
이 Claude Skill은 Go 프로젝트를 위해 Conventional Commits 형식을 따르는 구조화된 git 커밋 메시지를 생성합니다. 변경사항을 커밋하거나 PR을 준비하거나 커밋 기록을 검토할 때 명확한 설명이 포함된 잘 정의된 범위의 원자적 커밋을 만들어줍니다. 커밋 관련 작업에 사용하되, 변경 로그 생성이나 코드 리뷰에는 각각 전용 스킬이 있으니 해당 작업에는 사용하지 마십시오.
빠른 설치
Claude Code
추천npx skills add eduardo-sl/go-agent-skills -a claude-code/plugin add https://github.com/eduardo-sl/go-agent-skillsgit clone https://github.com/eduardo-sl/go-agent-skills.git ~/.claude/skills/git-commitClaude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요
문서
Git Commit Standards
Commits tell the story of your codebase. A good commit history is worth more than any amount of documentation — because it's always up to date.
1. Conventional Commits Format
<type>(<scope>): <description>
[optional body]
[optional footer(s)]
Types:
| Type | When |
|---|---|
feat | New feature (correlates with MINOR in semver) |
fix | Bug fix (correlates with PATCH in semver) |
refactor | Code change that neither fixes a bug nor adds a feature |
perf | Performance improvement |
test | Adding or correcting tests |
docs | Documentation changes only |
chore | Build process, tooling, dependencies |
ci | CI/CD configuration changes |
style | Formatting, whitespace (not CSS — code formatting) |
Scope:
Use the package name or module area:
feat(auth): add JWT refresh token rotation
fix(store/postgres): handle connection pool exhaustion
refactor(service): extract validation into dedicated package
test(handler): add table-driven tests for user endpoints
chore(deps): bump go.uber.org/zap to v1.27.0
Breaking changes:
feat(api)!: change pagination from offset to cursor-based
BREAKING CHANGE: The `offset` and `limit` query parameters are replaced
by `cursor` and `page_size`. All existing clients must migrate.
2. Commit Message Rules
Subject line:
- Imperative mood: "add feature", NOT "added feature" or "adds feature"
- Lowercase after type prefix
- No period at the end
- Max 72 characters
- Must describe WHAT changed, not HOW
Body (when needed):
- Blank line between subject and body
- Explain WHY the change was necessary
- Explain WHAT is different at a high level
- Wrap at 72 characters
Footer:
- Reference issues:
Fixes #123,Closes #456,Refs #789 - Co-authors:
Co-authored-by: Name <email> - Breaking changes:
BREAKING CHANGE: description
3. Examples
Simple change:
fix(handler): return 404 instead of 500 for missing user
With body:
refactor(service): replace manual SQL with sqlx named queries
The raw SQL string concatenation for dynamic WHERE clauses was
error-prone and difficult to maintain. sqlx named queries provide
the same flexibility with automatic parameter binding.
No behavior change — all existing tests pass.
Breaking change:
feat(config)!: migrate from YAML to environment variables
BREAKING CHANGE: Configuration is now loaded from environment
variables instead of config.yaml. See README.md for the full
list of supported variables.
Closes #234
Dependency update:
chore(deps): upgrade pgx to v5.5.0
Picks up connection pool improvements and fixes for
COPY protocol handling. See release notes:
https://github.com/jackc/pgx/releases/tag/v5.5.0
4. Atomic Commits
Each commit should be ONE logical change that:
- Compiles on its own (
go build ./...passes) - Tests pass (
go test ./...passes) - Can be reverted independently without breaking other changes
Split large changes:
# ❌ Bad — one commit doing everything
feat(user): add user management with CRUD, validation, auth, and tests
# ✅ Good — atomic, reviewable commits
feat(domain): add User entity and validation rules
feat(store): implement PostgreSQL user repository
feat(service): add user service with create and get operations
feat(handler): add REST endpoints for user management
test(service): add table-driven tests for user creation
docs(api): document user endpoints in OpenAPI spec
5. Pre-Commit Verification
Before committing, run:
# Format and lint
goimports -w .
golangci-lint run
# Build
go build ./...
# Test
go test -race ./...
# Tidy modules
go mod tidy
If any step fails, fix before committing. Never commit broken code with "will fix later" — you won't.
6. Commit Workflow
# Stage specific files (not git add .)
git add internal/service/user.go
git add internal/service/user_test.go
# Review staged changes
git diff --staged
# Commit with message
git commit -m "feat(service): add user creation with email validation"
# Or use editor for longer messages
git commit # opens $EDITOR
Interactive rebase before PR:
# Clean up commit history before opening PR
git rebase -i main
# Squash fixup commits
# Reword unclear messages
# Reorder for logical flow
7. What NOT to Commit
- Generated files (
*.pb.gounless required,mocks/) - IDE configuration (
.idea/,.vscode/— use global gitignore) - OS files (
.DS_Store,Thumbs.db) - Binaries and build artifacts
.envfiles with secretsvendor/(unless explicitly required by project policy)
GitHub 저장소
자주 묻는 질문
git-commit Skill이란 무엇인가요?
git-commit은(는) eduardo-sl이(가) 만든 Claude Skill입니다. Skill은 Claude가 필요할 때 불러오는 지침과 리소스를 묶어 추가 프롬프트 없이 git-commit 관련 작업을 수행할 수 있게 합니다.
git-commit은(는) 어떻게 설치하나요?
이 페이지의 설치 명령을 사용하세요. git-commit을(를) Claude Code 플러그인으로 추가하거나 저장소를 skills 디렉터리에 복제한 다음 Claude를 다시 시작해 Skill을 불러옵니다.
git-commit은(는) 어떤 카테고리에 속하나요?
git-commit은(는) 메타 카테고리에 속합니다.
git-commit은(는) 무료로 사용할 수 있나요?
네. git-commit은(는) AIMCP에 등록되어 있으며 무료로 설치할 수 있습니다.
연관 스킬
이 스킬은 콘텐츠 콜렉션(Content Collections)을 위한 프로덕션 검증된 설정을 제공합니다. 콘텐츠 콜렉션은 Markdown/MDX 파일을 Zod 검증이 포함된 타입 안전한 데이터 콜렉션으로 변환해주는 TypeScript 최우선 도구입니다. 블로그, 문서 사이트 또는 콘텐츠 중심의 Vite + React 애플리케이션을 구축할 때 타입 안전성과 자동 콘텐츠 검증을 보장하기 위해 사용하세요. Vite 플러그인 구성과 MDX 컴파일부터 배포 최적화 및 스키마 검증에 이르기까지 모든 것을 다룹니다.
이 스킬은 개발자들이 Polymarket 예측 시장 플랫폼을 활용한 애플리케이션을 구축할 수 있도록 지원하며, 거래 및 시장 데이터를 위한 API 통합 기능을 포함합니다. 또한 WebSocket을 통한 실시간 데이터 스트리밍을 제공하여 실시간 거래와 시장 활동을 모니터링할 수 있습니다. 이를 통해 거래 전략을 구현하거나 실시간 시장 업데이트를 처리하는 도구를 생성하는 데 활용할 수 있습니다.
이 스킬은 개발자들이 명령어, 파일, LSP 작업 등 25개 이상의 이벤트 유형에 연결되는 OpenCode 플러그인을 만들 수 있도록 돕습니다. JavaScript/TypeScript 모듈을 위한 플러그인 구조, 이벤트 API 명세, 구현 패턴을 제공합니다. OpenCode AI 어시스턴트의 라이프사이클을 사용자 정의 이벤트 기반 로직으로 가로채거나, 모니터링하거나, 확장해야 할 때 사용하세요.
SGLang은 RadixAttention 프리픽스 캐싱을 활용하여 JSON, 정규식, 에이전트 워크플로우를 위한 고속 구조화 생성에 특화된 고성능 LLM 서빙 프레임워크입니다. 특히 반복되는 프리픽스가 있는 작업에서 상당히 빠른 추론 속도를 제공하여 복잡한 구조화 출력 및 다중 턴 대화에 이상적입니다. 제약 디코딩이 필요하거나 광범위한 프리픽스 공유가 있는 애플리케이션을 구축할 때는 vLLM과 같은 대안보다 SGLang을 선택하십시오.
