git-workflow
Complete Git workflow from conventional commits to pre-completion verification. Use for all Git operations including commits, branches, and releases.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Git Workflow
커밋부터 완료 검증까지의 Git 워크플로우 통합 스킬입니다.
Conventional Commits
Format
<type>(<scope>): <description>
[optional body]
[optional footer]
Types
| Type | 설명 | 예시 |
|---|---|---|
feat |
새 기능 | feat(auth): add JWT login |
fix |
버그 수정 | fix(api): handle null response |
refactor |
리팩토링 | refactor(utils): simplify parser |
docs |
문서 | docs: update README |
test |
테스트 | test(auth): add login tests |
chore |
기타 | chore: update deps |
Breaking Changes
feat(api)!: change response format
BREAKING CHANGE: response.data is now response.result
Pre-Completion Verification
완료 선언 전 필수 체크
# 1. 테스트 통과
npm test
# 2. 린트 통과
npm run lint
# 3. 타입 체크 (TypeScript)
npx tsc --noEmit
# 4. 빌드 성공
npm run build
Verification Checklist
- 모든 테스트 통과
- 린트 에러 없음
- 타입 에러 없음
- 빌드 성공
- 변경사항 커밋됨
- 불필요한 console.log 제거
Branch Strategy
main ─────────────────────────────
│
└─ feature/auth ───○───○───○─┐
│
└─ merge
Naming
feature/<description>
fix/<issue-number>-<description>
refactor/<description>
Commit Workflow
# 1. 변경사항 스테이징
git add <files>
# 2. 커밋 (규격 준수)
git commit -m "feat(scope): description"
# 3. 푸시 전 검증
npm test && npm run lint
# 4. 푸시
git push
Checklist
- 커밋 메시지 규격 준수
- 테스트 통과
- 린트 통과
- 빌드 성공
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-28
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!