Skip to main content

commit

Create well-formatted git commits following GitLens conventions

설치로 이동

소스 정보

저장소
gitkraken/vscode-gitlens
최근 소스 활동
2026년 4월 1일 23:58
감지된 SKILL.md 언어
영어
스타
9,928
포크
1,801

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
commit
description
Create well-formatted git commits following GitLens conventions
# /commit - Create Git Commit Create a well-formatted git commit following GitLens conventions. ## Usage ``` /commit [message] ``` ## Commit Message Format - Use future-oriented manner, third-person singular present tense - Verbs: **Adds**, **Fixes**, **Improves**, **Updates**, **Removes**, **Refactors**, **Changes** - First line under 72 characters - Reference issues with `#123` syntax for auto-linking Examples: ``` Adds support for custom autolinks for Jira - fixes #1234 Fixes graph not rendering when switching repositories Improves performance of commit signature detection Refactors git provider initialization ``` ## Workflow 1. **Check status**: `git status` (never use `-uall`) 2. **Review changes**: `git diff --cached` and `git diff` 3. **Check CHANGELOG**: If changes are user-facing, ensure they have a CHANGELOG entry (use `/audit-commits` for CHANGELOG format) 4. **Stage files** — specific files, not `git add -A` 5. **Generate message** if none provided — analyze changes, determine type, draft message, confirm with user 6. **Commit** using HEREDOC format with Co-Authored-By trailer 7. **Verify**: `git status` and `git log -1` ## Pre-commit Hook Failures 1. Do NOT use `--amend` (the failed commit never happened — amend would modify the previous commit) 2. Fix the reported issues 3. Re-stage fixed files 4. Create a NEW commit ## Safety - Never use `--force` or `--no-verify` - Never amend unless explicitly requested - Verify no sensitive files are staged (.env, credentials)
GitHub에서 보기