commit
Git 커밋 메시지 작성 지침. 테스트 통과 후에만 커밋. git reset --hard 절대 금지.
When & Why to Use This Skill
This Claude skill establishes rigorous Git commit protocols, ensuring that every contribution follows specific message guidelines and passes all tests before being finalized. It acts as a safety layer by strictly prohibiting destructive commands like 'git reset --hard' and 'git push --force', thereby protecting the integrity of the codebase and maintaining a clean version control history.
Use Cases
- Standardizing Commit History: Enforcing consistent commit message formats across a project to improve team collaboration and simplify future debugging.
- Preventing Data Loss: Acting as a safety guardrail by blocking high-risk Git commands that could lead to accidental loss of uncommitted work or history.
- Ensuring Code Stability: Implementing a 'test-first' workflow where commits are only permitted after successful test execution, reducing the risk of breaking the main build.
| name | commit |
|---|---|
| description | Git 커밋 메시지 작성 지침. 테스트 통과 후에만 커밋. git reset --hard 절대 금지. |
커밋 작성 지침
금지사항
git reset --hard절대 금지git push --force사용 금지- 테스트 통과 전 커밋 금지
상세 지침
[필수] 아래 참조 문서를 모두 읽은 후 작업을 시작하세요:
- 커밋 가이드라인: guidelines.md